[HTC Pico (Explorer)] thewisenerd:
​

​

Ever tried to completely customize your droid? Where comes customizing, there comes fonts. "Most" of the users change their fonts using android applications such as FontChanger or so...

This tool will help you make flashable zips for those fonts. So, you can just drag them into your SD Card, and keep them there like, forever. You don't need any, nor do you need to pay anything to download those apps which will help you "change" the fonts. All you need is 4 *.ttf files, for the four styles of a font. If you do, you're ready to go! :D

What's NEW!!! Its AROMA! Flash-Font now automatically creates an AROMA included flashable zip for your fonts!

Also, you now have the possibility of naming your font installation package!

Features

:

Aroma Installer

update-binary from your own ROM. [Accomplished]

More efficient cleaning method for the /fonts folder. [Accomplished by adding a place_holder]

Automated Renaming [Sort of accomplished]

Expected Changelog

:

GUI interface.

Reverting to stock fonts

Defined Fonts (example: normal.ttf, bold.ttf, bolditalic.ttf, clock.ttf, etc...)

Your requests

#include
/*
* You are on your own.
*
* I am not responsible for any sort of damage to your
* phone/computer, as a result of usage of this tool.
*
*/

This is to simplyfy the work of making a flashable fonts zip for a ROM. I have noticed that there are many apps, which do the same thing, but, sometimes, they don't work. Using this simple tool, you can make a flashable zip for your fonts. Also, this contains the fonts from CM10, so, it will NOT cause problems with previous versions of CM. AOKP has the same fonts too, so it wouldn't be a problem. Doubtful about PAC, and PA.

Note

:

This will work only on Custom ROMs like CM, AOKP, etc. Have tried on CM, MiniCM, AOKP... Haven't tried on other ROMs... But, as long as the names of the fonts are same/similar, it is bound to work. Also note that, This method uses "symlinking" of fonts, so that you get some extra free space in your /system folder. As only four styles (Regular, Bold, BoldItalic, Italic) are used almost universally, one has to just have all these four font styles of a font. Also note that only *.ttf type fonts work with Android, so... And, talking of symlinks... You will get two files in the output_zip folder, namely, fonts_system.zip and fonts_data.zip. "fonts_system.zip" extracts the fonts, as-is, to the /system folder, whereas, "fonts_data.zip" clears the fonts in /system/fonts, creates a folder named "fonts" in the /data partition, extracts the fonts to the /data partition, and symlinks those to the /system/fonts folder. Thus, if you are running short of space on your /system partition, and don't think you will have enough space to flash the fonts, you can use the fonts_data.zip.

Requirements

: You need 4 font styles of a single font for this, namely:

1. *font_name*.ttf (Regular)

2. *font_name*-Bold.ttf (Bold)

3. *font_name*-BoldItalic.ttf (BoldItalic)

4. *font_name*-Italic.ttf (Italic)

Instructions

:

Place the four *font_name* files into orig_update/. Rename them into:

normal.ttf
bold.ttf
bolditalic.ttf
italic.ttf

At times, you may have only one *.ttf file. In such a case, just make four copies of it, and name each copy as "normal.ttf", "bold.ttf" etc. :D

Now, run the following commands.

First,

cd mkfontzip

Then,

chmod +x ./mkfontzip.sh

Now, to start making the flashable zip:

./mkfontzip.sh

How to use

:

First, you will need to decide which partition to use, to install the fonts. If you have less space in the /system partition, and, feel that the fonts are too big to fit into the /system partition, then, you need to flash the "font_data.zip".

If you feel you have enough space in your /system partition required to flash the fonts, then, you can gladly flash the "font_system.zip" file.

NOTE

: If you are having any "int2ext" script installed, then, please flash the font_sd-ext.zip! You can even flash font_sd-ext.zip, if you have reversed mount enabled in Mounts2SD. Not tested with S2E.

One way to find out whether you have enough space in your /system partition:

If you want to use this tool for any other device, then, please replace the update-binary in stock_files/update-binary/ folder with a working update-binary of your device.

Credits

@amarullz (For his awesome AROMA installer!) :D

Me and my computer :silly:

View attachment 1924321 View attachment 1924322 View attachment 1924323

View attachment 1924324 View attachment 1924325 View attachment 1924326

Downloads in next post :silly: