Closed
Bug 1180560
Opened 9 years ago
Closed 9 years ago
enable fontconfig platform fontlist for release builds
Categories
(Core :: Graphics: Text, defect)
Tracking
()
RESOLVED
FIXED
mozilla45
People
(Reporter: jtd, Assigned: jtd)
References
(Depends on 2 open bugs)
Details
Attachments
(1 file)
2.67 KB,
patch
|
karlt
:
review+
heycam
:
review+
ritu
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
The use of the new fontconfig platform fontlist code is currently behind a pref that is only enabled for nightly/dev builds but not for beta/release builds. Until we switch to this code, we cannot enable 'unicode-range' across all platforms.
Depends on: 1056479
Assignee | ||
Comment 1•9 years ago
|
||
Once the patches on bug 1224965 land, we should be okay to enable fontconfig platform fontlist on release builds.
Attachment #8689289 -
Flags: review?(karlt)
Comment 2•9 years ago
|
||
Comment on attachment 8689289 [details] [diff] [review] patch, enable fontconfig platform fontlist for release builds >-#ifdef RELEASE_BUILD >-pref("gfx.font_rendering.fontconfig.fontlist.enabled", false); >-#else > pref("gfx.font_rendering.fontconfig.fontlist.enabled", true); > #endif Need to remove the balancing #endif. Cameron has been reviewing some of this code, so asking whether he's happy that what he has seen is ready.
Attachment #8689289 -
Flags: review?(karlt)
Attachment #8689289 -
Flags: review?(cam)
Attachment #8689289 -
Flags: review+
Comment 3•9 years ago
|
||
Comment on attachment 8689289 [details] [diff] [review] patch, enable fontconfig platform fontlist for release builds Review of attachment 8689289 [details] [diff] [review]: ----------------------------------------------------------------- Yeah, I think it's ready to to let this ride to Beta. If any more weird distro font configurations are out there they probably won't be noticed until we get this to more users.
Attachment #8689289 -
Flags: review?(cam) → review+
Assignee | ||
Comment 4•9 years ago
|
||
Karl, thanks for all your help with this work!
Comment 6•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/08a4d2e0ad79
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Assignee | ||
Comment 7•9 years ago
|
||
Comment on attachment 8689289 [details] [diff] [review] patch, enable fontconfig platform fontlist for release builds Approval Request Comment [Feature/regressing bug #]: This bug blocks enabling unicode-range for beta/release builds. Enabling the new fontconfig back end will allow us to release unicode-range support across all platforms (bug 1119062). [User impact if declined]: unicode-range support can't be enabled until FF45 [Describe test coverage new/current, TreeHerder]: landed on trunk last week, no issues reported [Risks and why]: new fontconfig font backend has been enabled for nightly/aurora for several release cycles now and all known regressions have been resolved [String/UUID change made/needed]: none
Attachment #8689289 -
Flags: approval-mozilla-aurora?
status-firefox44:
--- → affected
Comment on attachment 8689289 [details] [diff] [review] patch, enable fontconfig platform fontlist for release builds Aurora44+
Attachment #8689289 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Jtd, should we add this to 44 release notes?
Flags: needinfo?(jdaggett)
Assignee | ||
Comment 10•9 years ago
|
||
(In reply to Ritu Kothari (:ritu) from comment #9) > Jtd, should we add this to 44 release notes? Yes, that would be a good idea!
Flags: needinfo?(jdaggett)
Assignee | ||
Comment 11•9 years ago
|
||
Pushed to aurora: https://hg.mozilla.org/releases/mozilla-aurora/rev/f6ecc28fba3d
Comment 12•9 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/f6ecc28fba3d
status-b2g-v2.5:
--- → fixed
(In reply to John Daggett (:jtd) from comment #10) > (In reply to Ritu Kothari (:ritu) from comment #9) > > Jtd, should we add this to 44 release notes? > > Yes, that would be a good idea! In that case, would you be able to provide suggested wording? Are there any blogs/links that the relnote should include? If you can set relnote-firefox tracking flag to "?" and fill out the template, that would be extremely helpful. Thanks.
relnote-firefox:
--- → ?
Flags: needinfo?(jdaggett)
Assignee | ||
Comment 14•9 years ago
|
||
Release Note Request (optional, but appreciated) [Why is this notable]: font matching under Linux has changed [Suggested wording]: To support the unicode-range descriptor for webfonts, font matching under Linux now uses the same font matching code shared with other platforms. On Linux, this code uses fontconfig for platform font family lookups so font substitutions will still work. But in some cases complex font substitution rules may no longer work as they did before. Please file a bug if you run into a problem with Firefox not respecting a given fontconfig configuration. [Links (documentation, blog post, etc)]: https://bugzilla.mozilla.org/show_bug.cgi?id=1056479
Flags: needinfo?(jdaggett)
Suggested wording from comment 14 trimmed down to one sentence (release notes need to be short) and added to Beta44 release notes. "To support unicode-range descriptor for webfonts, font matching under Linux uses the same font matching code as other platforms."
Assignee | ||
Comment 16•9 years ago
|
||
(In reply to Ritu Kothari (:ritu) from comment #15) > Suggested wording from comment 14 trimmed down to one sentence (release > notes need to be short) and added to Beta44 release notes. > > "To support unicode-range descriptor for webfonts, font matching under Linux > uses the same font matching code as other platforms." Ok, sounds good!
Comment 17•9 years ago
|
||
FWIW, I just got a report from a friend that this change makes his Firefox fail to pick the proper Chinese serif font on Linux. He also mentioned that he had rather complicated fontconfig setting, so he had no idea whether there was any combination of his config causes this. [1] [1] https://twitter.com/hexcles/status/692118226982010881 (Chinese)
Assignee | ||
Comment 18•9 years ago
|
||
(In reply to Xidorn Quan [:xidorn] (UTC+10) from comment #17) > FWIW, I just got a report from a friend that this change makes his Firefox > fail to pick the proper Chinese serif font on Linux. He also mentioned that > he had rather complicated fontconfig setting, so he had no idea whether > there was any combination of his config causes this. [1] > > [1] https://twitter.com/hexcles/status/692118226982010881 (Chinese) Thanks for forwarding this but could you file a new bug and attach details? It would be helpful to have a copy of whatever fontconfig settings the user has. I'm guessing it wouldn't be too hard to work around but it depends upon how complex the logic they're using in their fontconfig settings.
Comment 19•9 years ago
|
||
Thanks :xidorn and :jtd. I've filed BUG 1243226 for this issue.
Depends on: 1243226
You need to log in
before you can comment on or make changes to this bug.
Description
•