Closed
Bug 898267
Opened 12 years ago
Closed 12 years ago
Azure CoreGraphics backend needs to support font smoothing
Categories
(Core :: Graphics: Text, defect)
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: jtd, Assigned: jtd)
References
Details
Attachments
(1 file)
2.12 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
Cairo Quartz code has the ability to set the CG font smoothing parameter, via the antialias font option:
http://mxr.mozilla.org/mozilla-central/source/gfx/cairo/cairo/src/cairo-quartz-font.c#704
The code in DrawTargetCG.cpp calls CGContextSetShouldAntialias but not
CGContextSetShouldSmoothFonts.
Not quite sure how the antialias parameter gets passed down but I'm guessing the code in gfxMacFont needs to explicitly set the mAntialiasOption within the logic here:
http://mxr.mozilla.org/mozilla-central/source/gfx/thebes/gfxMacFont.cpp#84
Assignee | ||
Comment 1•12 years ago
|
||
Set the mAntialiasOption member as needed and call CGContextSetShouldSmoothFonts within DrawTargetCG.cpp when drawing glyphs.
Attachment #781486 -
Flags: review?(jmuizelaar)
Updated•12 years ago
|
Attachment #781486 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 2•12 years ago
|
||
Pushed to inbound:
https://hg.mozilla.org/integration/mozilla-inbound/rev/04a45dec4326
Target Milestone: --- → mozilla25
Comment 3•12 years ago
|
||
Push backed out for reftest failures:
https://tbpl.mozilla.org/?tree=Mozilla-Inbound&rev=c2f27bb078fd&jobname=reftest
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/d79375a692fe
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/d97f10fc581c
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/1ce2e0435eca
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/8c89fe2a5c92
Assignee | ||
Comment 4•12 years ago
|
||
Landed on inbound again after reftest fix:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e2340b350694
Comment 5•12 years ago
|
||
Assignee: nobody → jdaggett
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
•