Closed
Bug 747849
Opened 13 years ago
Closed 11 years ago
move small-caps support into gfx
Categories
(Core :: Layout: Text and Fonts, defect)
Core
Layout: Text and Fonts
Tracking
()
RESOLVED
DUPLICATE
of bug 1015603
People
(Reporter: jtd, Assigned: jtd)
References
(Blocks 1 open bug)
Details
Small caps are currently synthesized using resizing code called from within layout text frame code:
http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsTextRunTransformations.cpp#267
To properly support small-cap glyphs we need to detect whether a font supports small-cap glyphs and only do the synthesis if it doesn't support the OpenType 'smcp' feature. This is a bit tricky since it essentially needs to happen after font matching is done.
What I'm proposing to do for this bug is to move the logic for doing small-caps synthesis down into gfx. A later bug will implement the switch as to whether to use real small-caps or synthesize them.
Assignee | ||
Comment 1•11 years ago
|
||
Jonathan is doing this on bug 1015603.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•