Closed
Bug 387703
Opened 17 years ago
Closed 17 years ago
Inconsistent display of ASCII text
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: roc, Assigned: roc)
References
Details
Attachments
(1 file, 1 obsolete file)
7.21 KB,
patch
|
pavlov
:
review+
|
Details | Diff | Splinter Review |
Currently on Linux the ASCII path takes an Xft "fast path" which does no kerning, but the Unicode textrun construction path always uses Pango. The latter can use kerning while the former never does. This is a problem for reftests, among other things.
Assignee | ||
Comment 1•17 years ago
|
||
I think I'll fix this by having MakeTextRun(const PRUnichar*) set TEXT_IS_8BIT always if the text really is 8-bit. This can be done efficiently by expanding its AppendUTF16toUTF8 loop.
Assignee | ||
Comment 2•17 years ago
|
||
Attachment #271936 -
Flags: review?(pavlov)
Comment 3•17 years ago
|
||
Are you sure you've attached the right attachment ? This seems to be another fix : i was never incremented, so FindFirstLetterRange() was stuck in an endless whole-loop.
Assignee | ||
Comment 4•17 years ago
|
||
Sorry yeah, this is the right patch
Attachment #271936 -
Attachment is obsolete: true
Attachment #272078 -
Flags: review?(pavlov)
Attachment #271936 -
Flags: review?(pavlov)
Updated•17 years ago
|
Attachment #272078 -
Flags: review?(pavlov) → review+
Assignee | ||
Comment 5•17 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Flags: in-testsuite?
Summary: Inconsistent dispay of ASCII text → Inconsistent display of ASCII text
Assignee | ||
Comment 6•17 years ago
|
||
This causes reftest failures in at least some Pango configurations.
Flags: in-testsuite? → in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•