Closed Bug 1167072 Opened 9 years ago Closed 9 years ago

Set up font.name/name-list preferences for gfx.font_rendering.fontconfig.fontlist.enabled

Categories

(Core :: Graphics: Text, defect)

Unspecified
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: karlt, Assigned: jtd)

References

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file)

gfxPlatform::ForEachPrefFont() and so
gfx.font_rendering.fontconfig.fontlist.enabled depends on
font.{name|name-list}.<generic>.<langGroup> preferences existing for each
return value of GetFontPrefLangFor() [1].  Without this, no font will be found
to support the language of the characters.

There are no preferences for langGroup = x-khmr at least.

The other groups need to be checked.

fontconfig generics should be specified in both name and name-list prefs so that there is sane fallback when font.name.* are changed through the UI.

[1] https://hg.mozilla.org/mozilla-central/annotate/8d8df22fe72d/gfx/thebes/gfxPlatform.cpp#l1457
Fill in the missing font prefs for Linux.
Attachment #8609979 - Flags: review?(karlt)
Whiteboard: [gfx-noted]
Attachment #8609979 - Flags: review?(karlt) → review+
Assignee: nobody → jdaggett
Blocks: 1165590
https://hg.mozilla.org/mozilla-central/rev/307743e12ccc
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Blocks: 791926
Can we uplift the patch since without this patch the instant message is broken on Linux (bug 791926)?
Flags: needinfo?(karlt)
(In reply to Thomasy from comment #5)
> Can we uplift the patch since without this patch the instant message is
> broken on Linux (bug 791926)?

What uplift are you referrring to? This was landed back in May and is part of FF41 so it will be the release version as of next week.
Flags: needinfo?(karlt)
(In reply to John Daggett (:jtd) from comment #6)
> (In reply to Thomasy from comment #5)
> > Can we uplift the patch since without this patch the instant message is
> > broken on Linux (bug 791926)?
> 
> What uplift are you referrring to? This was landed back in May and is part
> of FF41 so it will be the release version as of next week.

Get it. In this case, it will be no need to uplift.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: