Closed
Bug 1231572
Opened 10 years ago
Closed 10 years ago
Moz2Dify gfxFont::CalcXScale()
Categories
(Core :: Graphics: Text, defect)
Core
Graphics: Text
Tracking
()
RESOLVED
DUPLICATE
of bug 1231550
People
(Reporter: n.nethercote, Assigned: n.nethercote)
Details
Attachments
(1 file)
|
9.00 KB,
patch
|
Details | Diff | Splinter Review |
An easy conversion that boils down to these two lines being equivalent:
Size t = aContext->UserToDevice(Size(1.0, 0.0));
Size t = aDrawTarget->GetTransform() * Size(1.0, 0.0);
(I'm pretty sure that's correct, but please check carefully!)
| Assignee | ||
Comment 1•10 years ago
|
||
After this patch is applied, gfxContext::UserToDevice(const Size&) is dead. I
haven't removed it, but I could if you think it's worthwhile.
Attachment #8697147 -
Flags: review?(jfkthame)
| Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8697147 [details] [diff] [review]
Moz2Dify gfxFont::CalcXScale()
Review of attachment 8697147 [details] [diff] [review]:
-----------------------------------------------------------------
I moved this to bug 1231550, where it fits better.
Attachment #8697147 -
Flags: review?(jfkthame)
| Assignee | ||
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•