Closed Bug 1231572 Opened 10 years ago Closed 10 years ago

Moz2Dify gfxFont::CalcXScale()

Categories

(Core :: Graphics: Text, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1231550

People

(Reporter: n.nethercote, Assigned: n.nethercote)

Details

Attachments

(1 file)

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!)
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)
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)
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.

Attachment

General

Created:
Updated:
Size: