Closed
Bug 383512
Opened 18 years ago
Closed 18 years ago
Make gfx support text drawing onto any surface type
Categories
(Core Graveyard :: GFX: Win32, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: longsonr, Assigned: longsonr)
References
()
Details
(Keywords: hang, regression, testcase)
Attachments
(1 file, 2 obsolete files)
4.15 KB,
patch
|
pavlov
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #267494 -
Flags: review?(roc)
Assignee | ||
Comment 1•18 years ago
|
||
Attachment #267494 -
Attachment is obsolete: true
Attachment #267549 -
Flags: review?(roc)
Attachment #267494 -
Flags: review?(roc)
Comment on attachment 267549 [details] [diff] [review]
simplify ReleaseDC check
This is more Stuart's thing
Attachment #267549 -
Flags: review?(roc) → review?(pavlov)
Assignee | ||
Updated•18 years ago
|
Flags: blocking1.9?
Not gonna block, but I really really would like to have this...
Flags: blocking1.9? → blocking1.9-
Whiteboard: [wanted-1.9]
Assignee | ||
Comment 4•18 years ago
|
||
Would you like to review it then?
Comment 5•18 years ago
|
||
Is the measurement result from GetDC(0) the same as that for the DC from the surface in all cases? I'm particularly worried about printing; it seems quite possible that text measurement works differently there due to different hinting. It's quite possible that it isn't different, though; I wouldn't be surprised if that's the case since Mac and Linux seem to do device-independent text measurement.
Actually, if the DC from GetDC(0) is just as good as any other DC, we should just do that unconditionally to simplify the code.
Assignee | ||
Comment 6•18 years ago
|
||
It's rather hard to tell as printing and print preview of any SVG has been broken on Windows for a long time now. On Windows SVG comes out really tiny. C.f. bug 314707 comment 16 although you can no longer build the trunk with --enable-default-toolkit=windows
Comment 7•18 years ago
|
||
Oh, right... that's bug 370006.
Here's an even simpler version of this patch... uses a helper class to manage obtaining the DC and the conversion.
Attachment #275631 -
Flags: review?(pavlov)
Updated•18 years ago
|
Attachment #275631 -
Flags: review?(pavlov) → review+
Assignee | ||
Updated•18 years ago
|
Attachment #267549 -
Attachment is obsolete: true
Attachment #267549 -
Flags: review?(pavlov)
Was checked in.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Flags: wanted1.9+
Whiteboard: [wanted-1.9]
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•