[Feature Request] Change to my favorite font
elvis-hrvat opened this issue · 3 comments
elvis-hrvat commented
I would like the ability to specify an OTF file and change the font.
billthefarmer commented
The app already offers a typeface option, it's too complicated already.
Deleted user commented
It's just standard and monospace. You can't change it to serifs, and this option only works with Latin characters.
It is not possible to change CJK fonts.
billthefarmer commented
I've added serif and sans to the typefaces. From API level 29 (Android 10 Q) , you can get a list of fonts in the device from SystemFonts. Before that, I assume you had to read and parse this XML file fonts.xml. It has a note in it:
<!--
DEPRECATED: This XML file is no longer a source of the font files installed
in the system.
For the device vendors: please add your font configurations to the
platform/frameworks/base/data/font_fallback.xml and also add it to this XML
file as much as possible for apps that reads this XML file.
For the application developers: please stop reading this XML file and use
android.graphics.fonts.SystemFonts#getAvailableFonts Java API or
ASystemFontIterator_open NDK API for getting list of system installed
font files.
WARNING: Parsing of this file by third-party apps is not supported. The
file, and the font files it refers to, will be renamed and/or moved out
from their respective location in the next Android release, and/or the
format or syntax of the file may change significantly. If you parse this
file for information about system fonts, do it at your own risk. Your
application will almost certainly break with the next major Android
release.
-->
This is the list of fonts I get from a Pixel 3a running LineageOS 20, Android 13:
CarroisGothicSC-Regular.ttf
ComingSoon.ttf
CutiveMono.ttf
DancingScript-Bold.ttf
DancingScript-Regular.ttf
DroidSansMono.ttf
Lato-Bold.ttf
Lato-BoldItalic.ttf
Lato-Italic.ttf
Lato-Medium.ttf
Lato-MediumItalic.ttf
Lato-Regular.ttf
NotoColorEmoji.ttf
NotoColorEmojiFlags.ttf
NotoNaskhArabic-Bold.ttf
NotoNaskhArabic-Regular.ttf
NotoNaskhArabicUI-Bold.ttf
NotoNaskhArabicUI-Regular.ttf
NotoSansAdlam-VF.ttf
NotoSansAhom-Regular.otf
NotoSansAnatolianHieroglyphs-Regular.otf
NotoSansArmenian-VF.ttf
NotoSansAvestan-Regular.ttf
NotoSansBalinese-Regular.ttf
NotoSansBamum-Regular.ttf
NotoSansBassaVah-Regular.otf
NotoSansBatak-Regular.ttf
NotoSansBengali-VF.ttf
NotoSansBengaliUI-VF.ttf
NotoSansBhaiksuki-Regular.otf
NotoSansBrahmi-Regular.ttf
NotoSansBuginese-Regular.ttf
NotoSansBuhid-Regular.ttf
NotoSansCJK-Regular.ttc
NotoSansCanadianAboriginal-Regular.ttf
NotoSansCarian-Regular.ttf
NotoSansChakma-Regular.otf
NotoSansCham-Bold.ttf
NotoSansCham-Regular.ttf
NotoSansCherokee-Regular.ttf
NotoSansCoptic-Regular.ttf
NotoSansCuneiform-Regular.ttf
NotoSansCypriot-Regular.ttf
NotoSansDeseret-Regular.ttf
NotoSansDevanagari-VF.ttf
NotoSansDevanagariUI-VF.ttf
NotoSansEgyptianHieroglyphs-Regular.ttf
NotoSansElbasan-Regular.otf
NotoSansEthiopic-VF.ttf
NotoSansGeorgian-VF.ttf
NotoSansGlagolitic-Regular.ttf
NotoSansGothic-Regular.ttf
NotoSansGrantha-Regular.ttf
NotoSansGujarati-Bold.ttf
NotoSansGujarati-Regular.ttf
NotoSansGujaratiUI-Bold.ttf
NotoSansGujaratiUI-Regular.ttf
NotoSansGunjalaGondi-Regular.otf
NotoSansGurmukhi-VF.ttf
NotoSansGurmukhiUI-VF.ttf
NotoSansHanifiRohingya-Regular.otf
NotoSansHanunoo-Regular.ttf
NotoSansHatran-Regular.otf
NotoSansHebrew-Bold.ttf
NotoSansHebrew-Regular.ttf
NotoSansImperialAramaic-Regular.ttf
NotoSansInscriptionalPahlavi-Regular.ttf
NotoSansInscriptionalParthian-Regular.ttf
NotoSansJavanese-Regular.otf
NotoSansKaithi-Regular.ttf
NotoSansKannada-VF.ttf
NotoSansKannadaUI-VF.ttf
NotoSansKayahLi-Regular.ttf
NotoSansKharoshthi-Regular.ttf
NotoSansKhmer-VF.ttf
NotoSansKhmerUI-Bold.ttf
NotoSansKhmerUI-Regular.ttf
NotoSansKhojki-Regular.otf
NotoSansLao-Bold.ttf
NotoSansLao-Regular.ttf
NotoSansLaoUI-Bold.ttf
NotoSansLaoUI-Regular.ttf
NotoSansLepcha-Regular.ttf
NotoSansLimbu-Regular.ttf
NotoSansLinearA-Regular.otf
NotoSansLinearB-Regular.ttf
NotoSansLisu-Regular.ttf
NotoSansLycian-Regular.ttf
NotoSansLydian-Regular.ttf
NotoSansMalayalam-VF.ttf
NotoSansMalayalamUI-VF.ttf
NotoSansMandaic-Regular.ttf
NotoSansManichaean-Regular.otf
NotoSansMarchen-Regular.otf
NotoSansMasaramGondi-Regular.otf
NotoSansMedefaidrin-VF.ttf
NotoSansMeeteiMayek-Regular.ttf
NotoSansMeroitic-Regular.otf
NotoSansMiao-Regular.otf
NotoSansModi-Regular.ttf
NotoSansMongolian-Regular.ttf
NotoSansMro-Regular.otf
NotoSansMultani-Regular.otf
NotoSansMyanmar-Bold.otf
NotoSansMyanmar-Medium.otf
NotoSansMyanmar-Regular.otf
NotoSansMyanmarUI-Bold.otf
NotoSansMyanmarUI-Medium.otf
NotoSansMyanmarUI-Regular.otf
NotoSansNKo-Regular.ttf
NotoSansNabataean-Regular.otf
NotoSansNewTaiLue-Regular.ttf
NotoSansNewa-Regular.otf
NotoSansOgham-Regular.ttf
NotoSansOlChiki-Regular.ttf
NotoSansOldItalic-Regular.ttf
NotoSansOldNorthArabian-Regular.otf
NotoSansOldPermic-Regular.otf
NotoSansOldPersian-Regular.ttf
NotoSansOldSouthArabian-Regular.ttf
NotoSansOldTurkic-Regular.ttf
NotoSansOriya-Bold.ttf
NotoSansOriya-Regular.ttf
NotoSansOriyaUI-Bold.ttf
NotoSansOriyaUI-Regular.ttf
NotoSansOsage-Regular.ttf
NotoSansOsmanya-Regular.ttf
NotoSansPahawhHmong-Regular.otf
NotoSansPalmyrene-Regular.otf
NotoSansPauCinHau-Regular.otf
NotoSansPhagsPa-Regular.ttf
NotoSansPhoenician-Regular.ttf
NotoSansRejang-Regular.ttf
NotoSansRunic-Regular.ttf
NotoSansSamaritan-Regular.ttf
NotoSansSaurashtra-Regular.ttf
NotoSansSharada-Regular.otf
NotoSansShavian-Regular.ttf
NotoSansSinhala-VF.ttf
NotoSansSinhalaUI-VF.ttf
NotoSansSoraSompeng-Regular.otf
NotoSansSoyombo-VF.ttf
NotoSansSundanese-Regular.ttf
NotoSansSylotiNagri-Regular.ttf
NotoSansSymbols-Regular-Subsetted.ttf
NotoSansSymbols-Regular-Subsetted2.ttf
NotoSansSyriacEastern-Regular.ttf
NotoSansSyriacEstrangela-Regular.ttf
NotoSansSyriacWestern-Regular.ttf
NotoSansTagalog-Regular.ttf
NotoSansTagbanwa-Regular.ttf
NotoSansTaiLe-Regular.ttf
NotoSansTaiTham-Regular.ttf
NotoSansTaiViet-Regular.ttf
NotoSansTakri-VF.ttf
NotoSansTamil-VF.ttf
NotoSansTamilUI-VF.ttf
NotoSansTelugu-VF.ttf
NotoSansTeluguUI-VF.ttf
NotoSansThaana-Bold.ttf
NotoSansThaana-Regular.ttf
NotoSansThai-Bold.ttf
NotoSansThai-Regular.ttf
NotoSansThaiUI-Bold.ttf
NotoSansThaiUI-Regular.ttf
NotoSansTifinagh-Regular.otf
NotoSansUgaritic-Regular.ttf
NotoSansVai-Regular.ttf
NotoSansWancho-Regular.otf
NotoSansWarangCiti-Regular.otf
NotoSansYi-Regular.ttf
NotoSerif-Bold.ttf
NotoSerif-BoldItalic.ttf
NotoSerif-Italic.ttf
NotoSerif-Regular.ttf
NotoSerifArmenian-VF.ttf
NotoSerifBengali-VF.ttf
NotoSerifCJK-Regular.ttc
NotoSerifDevanagari-VF.ttf
NotoSerifDogra-Regular.ttf
NotoSerifEthiopic-VF.ttf
NotoSerifGeorgian-VF.ttf
NotoSerifGujarati-VF.ttf
NotoSerifGurmukhi-VF.ttf
NotoSerifHebrew-Bold.ttf
NotoSerifHebrew-Regular.ttf
NotoSerifKannada-VF.ttf
NotoSerifKhmer-Bold.otf
NotoSerifKhmer-Regular.otf
NotoSerifLao-Bold.ttf
NotoSerifLao-Regular.ttf
NotoSerifMalayalam-VF.ttf
NotoSerifMyanmar-Bold.otf
NotoSerifMyanmar-Regular.otf
NotoSerifNyiakengPuachueHmong-VF.ttf
NotoSerifSinhala-VF.ttf
NotoSerifTamil-VF.ttf
NotoSerifTelugu-VF.ttf
NotoSerifThai-Bold.ttf
NotoSerifThai-Regular.ttf
NotoSerifTibetan-VF.ttf
NotoSerifYezidi-VF.ttf
Roboto-Regular.ttf
Rubik-Bold.ttf
Rubik-BoldItalic.ttf
Rubik-Italic.ttf
Rubik-Medium.ttf
Rubik-MediumItalic.ttf
Rubik-Regular.ttf
SourceSansPro-Bold.ttf
SourceSansPro-BoldItalic.ttf
SourceSansPro-Italic.ttf
SourceSansPro-Regular.ttf
SourceSansPro-SemiBold.ttf
SourceSansPro-SemiBoldItalic.ttf
I'm not going there.