Closed
Bug 1392659
Opened 8 years ago
Closed 8 years ago
Syriac unicode characters rendered as boxes on Mac
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
RESOLVED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: jonathan.abdo, Assigned: jfkthame)
References
Details
Attachments
(2 files, 1 obsolete file)
572.38 KB,
image/png
|
Details | |
4.60 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0
Build ID: 20170814073321
Steps to reproduce:
Environment: Firefox 55 / MacOS Sierra 10.12.6
1. Navigate to http://www.alanwood.net/unicode/syriac.html
2. Scroll down and make note of the character columns
Actual results:
The unicode characters in the Character columns are rendered as boxes instead of Syriac characters.
Expected results:
The unicode should have been rendered as Syriac characters.
Safari on Sierra renders this page and the Syriac characters correctly.
MacOS Sierra does not come with a font that renders Syriac installed. It does include a font that renders Syriac as a "Support Font". Which is accessible to an application if requested by name.
Ref: https://support.apple.com/en-ca/HT206872#document
Font: Noto Sans Syriac Eastern 1.03 uh
Location on Mac: Macintosh HD/Library/Application Support/Apple/Fonts/Language Support/
Updated•8 years ago
|
Component: Untriaged → Layout: Text
Product: Firefox → Core
Assignee | ||
Comment 1•8 years ago
|
||
(In reply to jonathan.abdo from comment #0)
> MacOS Sierra does not come with a font that renders Syriac installed. It
> does include a font that renders Syriac as a "Support Font". Which is
> accessible to an application if requested by name.
> Ref: https://support.apple.com/en-ca/HT206872#document
> Font: Noto Sans Syriac Eastern 1.03 uh
> Location on Mac: Macintosh HD/Library/Application
> Support/Apple/Fonts/Language Support/
Interesting -- I wasn't aware they were shipping these extra fonts. I guess we should probably activate them in Gecko so that they're available if the font fallback process encounters characters from these less-common scripts.
Assignee | ||
Comment 2•8 years ago
|
||
We already have support for activating additional fonts at startup, as part of the (optional) MOZ_BUNDLED_FONTS code. So it's straightforward to refactor this slightly, and use the same approach (unconditionally) to activate the fonts in the Language Support folder. With this, the Syriac example page shows the Syriac characters as expected, using the appropriate Noto font.
Assignee | ||
Comment 3•8 years ago
|
||
Try push with the above patch: https://treeherder.mozilla.org/#/jobs?repo=try&revision=4b145f9ec59a8b6cb9a99997f037db3a0e638372.
If you want to confirm whether it finds the additional fonts so that such pages display successfully, you should be able to get the test build from https://queue.taskcluster.net/v1/task/EUxcDomoTX6m5V1KaaJQBw/runs/0/artifacts/public/build/target.dmg and try it locally.
Assignee | ||
Updated•8 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 4•8 years ago
|
||
This seems to work as expected in my testing. So do we want to add these fonts to Firefox's font list to improve the base level of support for less-common languages/scripts?
Attachment #8900475 -
Flags: review?(jmuizelaar)
Assignee | ||
Updated•8 years ago
|
Attachment #8900247 -
Attachment is obsolete: true
Updated•8 years ago
|
Attachment #8900475 -
Flags: review?(jmuizelaar) → review+
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/83526742b374
Activate fonts available in the macOS "Language Support" directory so that they are available in Gecko. r=jrmuizel
Assignee | ||
Comment 6•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/83526742b3740398c6434d8667f4440fea3a47ff
Bug 1392659 - Activate fonts available in the macOS "Language Support" directory so that they are available in Gecko. r=jrmuizel
![]() |
||
Comment 7•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Updated•8 years ago
|
Assignee: nobody → jfkthame
You need to log in
before you can comment on or make changes to this bug.
Description
•