DigitalShrapnel / gdipp

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

Hinting of SimSun is weired in Chrome #121

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Which program triggers the problem? Specify the filename if possible.
Google Chrome 6.0.472.62

What steps will reproduce the problem?
1.Run Chrome, navigate to any contents using SimSun.
2.
3.

What is the expected output? What do you see instead?
The hinting of SimSun in Chrome looks awkward, while there is no such issue for 
Firefox or IE. As I ran gdipp in the registry mode, Chrome was being rendered, 
but not in the same way as Firefox or IE. Such issue had not been seen in gdipp 
0.9.0.

What version of gdipp (including renderer)? On which operating system?
0.9.1 (registry mode)

Please provide any additional information below. Screenshots always help.

Original issue reported on code.google.com by novelk...@gmail.com on 21 Sep 2010 at 11:53

GoogleCodeExporter commented 8 years ago

Original comment by novelk...@gmail.com on 21 Sep 2010 at 11:53

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by novelk...@gmail.com on 21 Sep 2010 at 12:00

Attachments:

GoogleCodeExporter commented 8 years ago
Here is my profile, with respect to SimSun.

<font name=".?SimSun.*">
    <embolden>20</embolden>
</font>

Original comment by novelk...@gmail.com on 21 Sep 2010 at 8:57

GoogleCodeExporter commented 8 years ago
Oh, even English fonts are affected.

Original comment by novelk...@gmail.com on 21 Sep 2010 at 10:15

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Sometimes even IE shows the same issue.

Original comment by novelk...@gmail.com on 22 Sep 2010 at 9:21

Attachments:

GoogleCodeExporter commented 8 years ago
This is not always seen for IE. I opened IE for 3 times, and only one time the 
issue was seen, while it happened in Chrome more commonly.

Original comment by novelk...@gmail.com on 22 Sep 2010 at 9:24

GoogleCodeExporter commented 8 years ago
I think the issue is possibly due to that gdipp doesn't recognize SimSun in 
font link of other font types such as Tahoma or Arial; therefore, when the font 
type assigned to the webpage is other than SimSun but a western font type, 
gdipp would not apply the setting of SimSun on it. For some other fonts, 
somehow someway, gdipp does recognize them, which gives a correct rendering. 
(Do you remember another post of mine concerning about the personal message of 
Skype, the SimSun in my screenshot shows no embolden which it is supposed to 
be.)

Original comment by novelk...@gmail.com on 22 Sep 2010 at 9:27

GoogleCodeExporter commented 8 years ago
Do you resolve this problem by manipulating the font link registry values? If 
not, It is more helpful to show me the related registry values (SimSun, Tahoma) 
so I may reproduce the problem in my test environment.

Original comment by crendk...@gmail.com on 22 Sep 2010 at 11:29

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Yes, I did solve my 'Skype' problem by manually adjusting the registry value... 
BUT

It's very likely that these are another 2 totally different issues. Or maybe I 
should open a new post for the 2nd one.

1. SimSun in Chrome and IE looks awkward sometimes, as shown in my screenshots 
above.
2. If there are some Chinese characters being assigned to Tahoma, gdipp would 
render them in the Tahoma way, not in the SimSun or MS Gothic way.

Anyway, when I switched back to 0.9.0 this morning, the 1st issue disappeared. 
The 2nd could be seen in 0.9.0 too.

PS: My registry value for Tahoma is as follows,

MSGOTHIC.TTC,MS UI Gothic
MINGLIU.TTC,PMingLiU
SIMSUN.TTC,SimSun
GULIM.TTC,Gulim

(Actually I never manually change it before.)

To make the 1st issue more obviously, just set your embolden value for SimSun 
to 200 and run Chrome or IE. You will find not all fonts are emboldened.

Original comment by novelk...@gmail.com on 23 Sep 2010 at 4:27