Font fallback selection should be deterministic

RESOLVED FIXED in mozilla1.9alpha6

Status

()

Core
Graphics
RESOLVED FIXED
12 years ago
11 years ago

People

(Reporter: Stuart Parmenter, Assigned: Stuart Parmenter)

Tracking

Trunk
mozilla1.9alpha6
x86
Windows XP
Points:
---
Bug Flags:
blocking1.9 +
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

12 years ago
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.
Flags: blocking1.9+
Target Milestone: --- → mozilla1.9alpha6
(Assignee)

Comment 1

11 years ago
Created attachment 268531 [details] [diff] [review]
fix

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)
(Assignee)

Updated

11 years ago
Status: NEW → RESOLVED
Last Resolved: 11 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.