Add one or more fonts to your system easily

Meggyi

Senior Member
Dec 10, 2013
125
99
58
46
Hungary, Szekszard
My English is a little weak, drafting errors may occur.

Hi there. Old dilemma on how to expand the number of Android phones into a pre-made fonts (4-6-8 pieces which normally used to be) just a piece of your favorite font, or even at 20-40. There are several possibilities for this already; flash recovery from flash zip from the XDA,fonts changer applications in the Play Store, etc, etc. Our current solution for our good, that we can not install the fonts chosen by the type and number of pieces of others, but what we want, and as much as we want. Lollipop and KitKat operating system as well, so far I have tested LG phones. I did not feel harmful slowdowns or system errors after 30-40 font. Finding the appropriate fonts on the Internet will take much more time than the change itself. TTF fonts look for.

What it needs for this operation:

1: Root
2: Root file manager
3: Notepad ++
4: A new font or fonts lack, and a few minutes of your life :)

By default it looks something like the font selection menu, depending on your phone / rom 4-10 pieces chosen from the letter:


After the change is then this:


Take the letter or letters you want to use a file manager to copy the system / fonts folder, and then modify the permissions to this: rw- r-- r--. If you enter more letters copying, modification group should be done faster. Feel free to highlight all the letters as well. Do not just folders, folder if the fonts folder.


Now, you can edit the file fonts_lge.xml, which is located in the system / etc folder. Because even copying the letters in the fonts folder, depending on the system still will not see it, but after editing this file.

Notepad ++ looks like the original xml file's:


After the change this way:


As you can see, but that's all that we need so that we insert name of copied letters:

<family name="Arial">
<font weight="400" style="normal">arial.ttf</font>
<font weight="700" style="normal">arialbd.ttf</font>
<font weight="400" style="italic">arialbi.ttf</font>
<font weight="700" style="italic">ariali.ttf</font>
</family>


Since the type arial four species were also found, (normal, bold, italic, bold italic) should therefore enter and inserted into the original xml file. But where there are only two (normal, bold), there's this:

<family name="Tahoma">
<font weight="400" style="normal">tahoma.ttf</font>
<font weight="700" style="normal">tahomabd.ttf</font>
</family>


Which entries are nothing but a plain ttf, there is this:

<family name="Hwedding">
<font weight="400" style="normal">hwedding.ttf</font>
<font weight="700" style="normal">hwedding.ttf</font>
</family>


It may find that some letters than we can find only three kinds of (normal, bold, italic), the more so, enter:

<family name="Garamond">
<font weight="400" style="normal">GARA.ttf</font>
<font weight="700" style="normal">GARABD.ttf</font>
<font weight="400" style="italic">GARAIT.ttf</font>
</family>


The editing syntax pay attention to the layout, images and Notepad ++ help him. When you are done, you copy the modified xml file in the system / etc folder, but not before the original file, create a backup or just rename example fonts_lge.xm away. The new set fonts_lge.xml file permissions: rw-r--r--.


Here you only need to reboot the phone, and if everything went well, the letters appear. It is not hard on the whole, it can be done in a few minutes, and you can use any fonts out what we want .... enjoy ....
 
Last edited:

Pfeffernuss

Senior Member
Jun 30, 2009
5,187
1,956
253
Wassenaar
When assigning italic fonts the font style should reflect that.

So "<font weight="400" style="normal">ariali.ttf</font>" is wrong, this should be "<font weight="400" style="italic">ariali.ttf</font>"

And, naturally, weight 400 is normal font and 700 is bold :good:
 
Last edited:
  • Like
Reactions: Meggyi