Closed Bug 342466 Opened 19 years ago Closed 18 years ago

Font fallback selection should be deterministic

Categories

(Core :: Graphics, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9alpha6

People

(Reporter: pavlov, Assigned: pavlov)

References

Details

Attachments

(1 file)

Right now we'll enumerate and rank fonts in the order basically we get from the system. For fonts of equal ranking we have no order for them which causes different people to get different fonts leading to weird bugs.
Target Milestone: --- → mozilla1.9alpha6
Attached patch fix (deleted) — Splinter Review
this changes us to, given two fonts of equal ranking (which is fairly uncommon), use the one that comes first alphabetically. This should be enough. I'll continue to work on making it even more uncommon to have two fonts of equal ranking by adding more comparisons between fonts at some later point.
Attachment #268531 - Flags: review?(vladimir)
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
This would be worthwhile to test, but it feels like a bit too much pain to make it worthwhile. Somebody change this if you feel otherwise.
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: