Closed Bug 1626844 Opened 4 months ago Closed 4 months ago

Default font issues with Firefox in Georgian on macOS

Categories

(Core :: Layout: Text and Fonts, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: flod, Assigned: jfkthame)

Details

Attachments

(3 files)

Attached image Firefox #1

Issue reported by our Georgian localizer: Firefox sometimes falls back to Menlo (a monospace font).

MacOS Catalina uses Helvetica for Georgian, which also supports uppercase "Mtavruli" letters.

Is it possible to make Helvetica the default font for Georgian? Chrome seems to be using Helvetica consistently.

Attached image Firefox #2

@Jonathan
Since you knows more about fonts than anyone else I'm aware of: any idea where this bug belongs, and if it can be fixed?

Flags: needinfo?(jfkthame)

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Layout: Text and Fonts
Product: Firefox → Core

It looks like we'll get Helvetica if it appears explicitly in the font-family list, or if the generic sans-serif is used, but if not then we're hitting font fallback that uses Menlo as a default for the Unicode range that includes Georgian:

https://searchfox.org/mozilla-central/rev/7fba7adfcd695343236de0c12e8d384c9b7cd237/gfx/thebes/gfxPlatformMac.cpp#226-229

So the thing to do is to add Helvetica there ahead of Menlo, as a higher-priority default.

Flags: needinfo?(jfkthame)
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b9b3d4f3f430
Prefer Helvetica over Menlo as fallback font for Georgian on macOS. r=lsalzman
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dc1a253fc94b
Prefer Helvetica over Menlo as fallback font for Georgian on macOS. r=lsalzman
Priority: -- → P3
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
Flags: needinfo?(jfkthame)
You need to log in before you can comment on or make changes to this bug.