-
- Downloads
Bug 1363454 - Create a pref to list icon font families that should be used...
Bug 1363454 - Create a pref to list icon font families that should be used even when use_document_fonts=0, overriding the browser's font prefs. r=emilio,dholbert Some widely-used icon fonts use ligature rules to replace icon names such as "volume_up" or "down_arrow" with icon glyphs. If the site is designed to use such a font, but the user disables document fonts and we use our default Latin font instead, the underlying text will be rendered instead of the intended icon. To enable such fonts to continue to work, we provide a list of known ligature-icon fonts and allow them to be used even when the document-fonts setting is disabled. Differential Revision: https://phabricator.services.mozilla.com/D167923
Showing
- gfx/thebes/gfxPlatform.cpp 5 additions, 0 deletionsgfx/thebes/gfxPlatform.cpp
- gfx/thebes/gfxPlatform.h 2 additions, 0 deletionsgfx/thebes/gfxPlatform.h
- gfx/thebes/gfxPlatformFontList.cpp 31 additions, 3 deletionsgfx/thebes/gfxPlatformFontList.cpp
- gfx/thebes/gfxPlatformFontList.h 4 additions, 0 deletionsgfx/thebes/gfxPlatformFontList.h
- layout/style/GeckoBindings.cpp 4 additions, 0 deletionslayout/style/GeckoBindings.cpp
- layout/style/GeckoBindings.h 2 additions, 0 deletionslayout/style/GeckoBindings.h
- layout/style/test/test_dont_use_document_fonts.html 25 additions, 0 deletionslayout/style/test/test_dont_use_document_fonts.html
- modules/libpref/init/StaticPrefList.yaml 22 additions, 0 deletionsmodules/libpref/init/StaticPrefList.yaml
- servo/components/style/values/computed/font.rs 48 additions, 11 deletionsservo/components/style/values/computed/font.rs
Loading
Please register or sign in to comment