[Module] More Fonts for Custom ROMs

C-3OP

Senior Member
Feb 20, 2018
132
101
0
[Magisk Module, Magisk 17.x or higher]

Additional fonts for the Font-Manager in

Pie
  • Havoc OS 2.X [9.X]
  • BootleggersROM 4.0 [9.X]
  • crDroid 5.X [9.X] Update: Works again in v5.4
  • MSM Xtended v8.5 [9.X]
  • SkyDragon OS [9.X] (Problems after ROM update), Update: works again on build SkyDragon-OS-P-oneplus3-20190513

Oreo
  • Dirty Unicorns 12.X

Replaces the original Font.apk with a pimped up Version. The original font selection is of course still included too.
In the current version of the module about 91 additional fonts with free license were added. I know that there are many beautiful and cool fonts out there, but their license in almost all cases does not include sharing or using in applications or... (there is almost always a hook :p).
For further versions of the modules, references to other fonts with a free license are welcome!

The respective module only works in the intended ROM!
The Havoc module only works in HavocOS, the SkyDragon module only in SkydragonOS and so on...



For HavocOS 2.X [9.0]:
In Build 2.1 a restart seems to be necessary to set newly selected fonts system-wide (to take effect on status bar/lockscreen).
MoreFontsHavoc2.X[Pie]V5

For crDroid 5.X [9.0]:
MoreFonts_crDroid5.X[Pie]V2

For BootleggersROM 4.0 [9.0]:
MoreFontsBootleggers4.0[9.0]V2

For SkyDragon OS [9.X]/SkyDragon-OS-P-oneplus3-20190513:
MoreFontsSkyDragonOS[9.X]V5

For MSM Xtended v8.5 [9.0]:
MoreFontsXtendedV8.5[9.0]V1

For Dirty Unicorns 12.X:
MoreFontsDirtyUnicorns12.X_V1


Credits to:
@topjohnwu for Magisk, it´s documentation and templates.
Havoc-Crew, Skydragon-Crew, Bootleggers-Crew, Xtended-Crew, crDroid-Crew, DU-Crew for their excellent work!
 

Attachments

Last edited:

C-3OP

Senior Member
Feb 20, 2018
132
101
0
Caution! The crDroid module only works in crDroid 5.0, no longer in 5.1! Before the update, make sure to deactivate the module!
 

C-3OP

Senior Member
Feb 20, 2018
132
101
0
Great work!
Any chance to make it work in the crDroid 5.4?
It's working again! I haven't tried it since Versin 5.1, but on my OP3 with crDroid 5.4 it works again.
To be on the safe side you should make a TWRP backup before you install the module, but it worked for me without any problems! I tested crDroid-9.0-v5.4 with Magisk 19.2.
If it also works for you, you can give me a short feedback here, thank you.
 

Attachments

  • Like
Reactions: littl3viking

C-3OP

Senior Member
Feb 20, 2018
132
101
0
The modules still work in the following Pie-Roms, just tested with Magisk 19.2 on a Oneplus3:
  • BootleggersROM 4.1
  • HavocOS-2.5
  • Xtended-XP7 v14

The modules work again in the current version of the following Roms:
  • crDroid v.5.4
  • SkyDragon-OS-P-oneplus3-20190513

To be sure, before installing the module make a TWRP backup in case of emergency!
(Link for the Skydragon module added again.)
 

littl3viking

Member
Apr 17, 2013
47
15
28
It's working again! I haven't tried it since Versin 5.1, but on my OP3 with crDroid 5.4 it works again.
To be on the safe side you should make a TWRP backup before you install the module, but it worked for me without any problems! I tested crDroid-9.0-v5.4 with Magisk 19.2.
If it also works for you, you can give me a short feedback here, thank you.
Thanks!
I'll test and let you know if it worked.

Edit: working on crDroid 5.4. Thanks ?
 
Last edited:

messypenguin

Member
Feb 7, 2015
32
5
28
Is it possible to add 'Road Rage' font to bootleggers module? Or tell me the procedure/location to place desired fonts?

Cheers.

Sent from my Redmi Note 7 Pro using Tapatalk
 

C-3OP

Senior Member
Feb 20, 2018
132
101
0
Is it possible to add 'Road Rage' font to bootleggers module? Or tell me the procedure/location to place desired fonts?

Cheers.

Sent from my Redmi Note 7 Pro using Tapatalk
I'm not sure about the license, but of course you can do it yourself.
  • Unzip the Magisk Module
  • Take the CustomFonts.apk from system>app>CustomFonts.apk
  • Decompile the app (e.g. with APK Easy Tool)
  • In the folder of the decompiled app go to CustomFonts>assets>fonts and add a zip folder with your font. The zip folder must contain the font as .tff and a text file "fonts.xml". I'll write the text of the .xml below, or you can take it from the zip folder of another font and replace the name of the font with the name of your font with a text editor, e.g. notepad++.
  • Now compile and sign the app (APK Easy Tool)
  • Replace the apk in the unzipped Magisk module, zip the whole thing and you have your own module with the font or all fonts of your choice.

Attention, at your own risk, of course! But if you unpack the module and decompile the apk, you'll see how it's built and it's actually self-explanatory.

I'm not sure if the copy/paste will do the correct formatting, so it's best to just open the font.xml from another font folder in the editor and edit it.

Text of the fonts.xml, replace "NameOfYourfont".ttf with the name of your font:

<?xml version="1.0" encoding="utf-8"?>
<familyset version="22">
<family name="sans-serif">
<font weight="400" style="normal">"NameOfYourfont".ttf</font>
</family>

<alias name="sans-serif-thin" to="sans-serif" weight="100" />
<alias name="sans-serif-light" to="sans-serif" weight="300" />
<alias name="sans-serif-medium" to="sans-serif" weight="500" />
<alias name="sans-serif-black" to="sans-serif" weight="900" />
<alias name="arial" to="sans-serif" />
<alias name="helvetica" to="sans-serif" />
<alias name="tahoma" to="sans-serif" />
<alias name="verdana" to="sans-serif" />
<alias name="sans-serif-condensed" to="sans-serif" />
</familyset>
 
Last edited: