Closed
Bug 1089177
Opened 10 years ago
Closed 10 years ago
Port gfxFontMissingGlyphs to Moz2D
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla36
People
(Reporter: jwatt, Assigned: jwatt)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
4.06 KB,
patch
|
mattwoodrow
:
review+
jwatt
:
checkin+
|
Details | Diff | Splinter Review |
18.80 KB,
patch
|
mattwoodrow
:
review+
jwatt
:
checkin+
|
Details | Diff | Splinter Review |
No description provided.
![]() |
Assignee | |
Comment 1•10 years ago
|
||
Attachment #8511528 -
Flags: review?(matt.woodrow)
![]() |
Assignee | |
Comment 2•10 years ago
|
||
Attachment #8511529 -
Flags: review?(matt.woodrow)
Updated•10 years ago
|
Attachment #8511528 -
Flags: review?(matt.woodrow) → review+
Comment 3•10 years ago
|
||
Comment on attachment 8511529 [details] [diff] [review]
part 2 - Port gfxFontMissingGlyphs to Moz2D
Review of attachment 8511529 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/thebes/gfxFontMissingGlyphs.cpp
@@ +164,4 @@
> if (glyphBits & 1) {
> + Rect r(aPt.x + x, aPt.y + y, 1, 1);
> + MaybeSnapToDevicePixels(r, aDrawTarget, true);
> + aDrawTarget.FillRect(r, aPattern);
Not sure how much this matters, but we could end up with seams between the rects if a transform is set (especially with opacity).
If we append the rects to a path and do a single fill then we avoid that.
Attachment #8511529 -
Flags: review?(matt.woodrow) → review+
![]() |
Assignee | |
Comment 4•10 years ago
|
||
Comment on attachment 8511528 [details] [diff] [review]
part 1 - Expose PatternFromState to help with Moz2D porting
https://hg.mozilla.org/integration/mozilla-inbound/rev/06c05ffe82f0
Attachment #8511528 -
Flags: checkin+
![]() |
Assignee | |
Comment 5•10 years ago
|
||
Comment on attachment 8511529 [details] [diff] [review]
part 2 - Port gfxFontMissingGlyphs to Moz2D
https://hg.mozilla.org/integration/mozilla-inbound/rev/74296d724342
Attachment #8511529 -
Flags: checkin+
![]() |
Assignee | |
Comment 6•10 years ago
|
||
(In reply to Matt Woodrow (:mattwoodrow) from comment #3)
> Not sure how much this matters, but we could end up with seams between the
> rects if a transform is set (especially with opacity).
>
> If we append the rects to a path and do a single fill then we avoid that.
Good catch. I change the code to append the rects to a Path.
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/06c05ffe82f0
https://hg.mozilla.org/mozilla-central/rev/74296d724342
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in
before you can comment on or make changes to this bug.
Description
•