Closed Bug 387703 Opened 14 years ago Closed 14 years ago
Inconsistent display of ASCII text
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.
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.
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.
Sorry yeah, this is the right patch
14 years ago
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Summary: Inconsistent dispay of ASCII text → Inconsistent display of ASCII text
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.