Closed
Bug 831687
Opened 12 years ago
Closed 12 years ago
hook up hinted-glyph-advances callback in the graphite shaper
Categories
(Core :: Graphics: Text, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: jfkthame, Assigned: jfkthame)
References
Details
Attachments
(1 file)
2.80 KB,
patch
|
jtd
:
review+
|
Details | Diff | Splinter Review |
(From bug 831277 comment 4.)
gfxGraphiteShaper includes code to use hinted glyph widths via a callback, but it fails to actually set the mUseFontGlyphWidths flag when appropriate and hence this option never actually gets used. This is why graphite rendering on windows tends to vary from opentype rendering even where no shaping/layout difference would be expected, more substantially than on other platforms (as windows may hint glyph advances pretty aggressively, depending on the cleartype mode).
Assignee | ||
Comment 1•12 years ago
|
||
With this fix, the graphite and harfbuzz renderings of Charis SIL (see http://people.mozilla.org/~jkew/charis-test.html) now match on Windows.
Attachment #703289 -
Flags: review?(jdaggett)
Updated•12 years ago
|
Attachment #703289 -
Flags: review?(jdaggett) → review+
Assignee | ||
Comment 2•12 years ago
|
||
Target Milestone: --- → mozilla21
Comment 3•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•