Since bold spansĮffectively add 300 to the weight, this ensures that 900 is the bold Prefer the former when an 800 weight is requested. The reason why the 900 weights of Roboto precede the 700 weights - we Order of appearance is also the tiebreaker for weight matching. Language, and finally order (the first font containing the glyph).
Asees font download for android full#
Fonts are chosenīased on a match: full BCP-47 language tag including script, then just With any changes, even though framework will only read this file.Īll fonts withohut names are added to the default list. Version, so please keep system_fonts.xml and fallback_fonts.xml in sync NOTE: this is the newer (L) version of the system font configuration, A device manufacturer or custom ROM may change the default system fonts. You can pull /system/etc/fonts.xml from your device. The two XML files have some documentation. The default fonts are loaded in Typeface#init. The FontListParser loads the default fonts from /system/etc/fonts.xml (Android 5.0+) or /system/etc/system_fonts.xml (Android 4.1). However, if you look at AOSP, the default fonts are loaded in aphics.*.
There is no documentation on d. for font family names.