phamquy / mactype

Automatically exported from code.google.com/p/mactype
2 stars 0 forks source link

Chrome address bar shadow rendered incorrectly, except on domain name #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm new to MacType and had to play with the settings a bit to get things to 
look fairly right. All is well in Chrome except for some crazy shadows in the 
address bar.

What steps will reproduce the problem?
1. Configure MacType to render text with a light, close shadow, such as by 
using the configuration below.
2. Go to any page other than a website's home page, such as by manually 
entering a URL in the address bar, like http://en.wikipedia.org/wiki/FreeType

What is the expected output? What do you see instead?

All text in the address bar should look the same. Instead, the non-domain-name 
parts of URL are rendered with the incorrect shadow. It appears to be too dark 
and offset in the opposite direction.

What version of the product are you using? On what operating system?

OS: Windows 7 Service Pack 1 [64-bit]
Chrome version: 21.0.1180.77 m
MacType version: 1.2012.0406.0

Please provide any additional information below.
MacTray standalone installation. Screenshot and INI attached. INI also follows:

[General]
HintingMode=0
AntiAliasMode=4
NormalWeight=-20
BoldWeight=-5
ItalicSlant=0
EnableKerning=1
GammaMode=0
LcdFilter=2
BolderMode=0
TextTuning=-1
TextTuningR=0
TextTuningG=0
TextTuningB=0
GammaValue=1.2
Contrast=1.0
RenderWeight=1.2
Fontlink=1
HookChildProcesses=1
FontLoader=0
FontSubstitutes=1
Shadow=1,1,4,0x808080,100,0x0
MaxBitmap=0
CacheMaxFaces=256
CacheMaxSizes=12554432
CacheMaxBytes=12108864
Name=mike's
[UnloadDll]
[exclude]
[FontSubstitutes]
[Individual]
[excludeSub]

Original issue reported on code.google.com by write.to...@gmail.com on 14 Aug 2012 at 8:28

Attachments:

GoogleCodeExporter commented 9 years ago
Well I think I figured it out. In my cluelessness, I screwed up the shadow 
settings. I don't really understand how it's supposed to work, but changing the 
final "0x0" to "0x808080" seems to have fixed the problem. I guess it's not a 
bug, after all. Sorry for the confusion. Please close this issue.

Original comment by write.to...@gmail.com on 14 Aug 2012 at 9:05

GoogleCodeExporter commented 9 years ago
Actually, mactype support two shadows, one for light color (such as white, 
yellow) and one for dark color (black, deep gray and etc.). if you only set one 
color as the traditional GDI++ profile, mactype will behaves the same as the 
GDI++.

Original comment by flyingsn...@gmail.com on 17 Aug 2012 at 1:33

GoogleCodeExporter commented 9 years ago
I see; thanks for the reply. Apparently the domain name in the Chrome address 
bar is dark (black), and the rest of the text in there is 'light' (a shade of 
grey). The thing is, it's actually a dark enough grey that I think it should 
still be considered 'dark', so that it gets the appropriate shadow. Maybe 
MacType's formula for determining which colors are light and which ones are 
dark needs some adjustment.

Original comment by write.to...@gmail.com on 22 Aug 2012 at 4:09

GoogleCodeExporter commented 9 years ago
Actually, mactype color "weight" formula has been changed several times. Now 
mactype uses Photoshop LAB color space to determine it, and this is the better 
formula I can find on the internet.
Give me some advice if you have anything helpful on this. thanks~

Original comment by flyingsn...@gmail.com on 22 Aug 2012 at 5:57