FORUMS

Create your own FlipFont APKs complete walkthrough +Now with quick font size scaling

302 posts
Thanks Meter: 92
 
By ritalin, Senior Member on 15th August 2010, 06:33 PM
Post Reply Email Thread
Create custom FlipFont files with font preview and icon.
*At present this only works on Galaxy S phones, but should work if FlipFont is ported or released on other devices*

Why do we need to jump through hoops?
It seems that the fonts in the MonoType apks on the market are digitally signed. This is what is preventing the use of any old font being added to an APK. I believe the FlipFont app is looking for the digital signature in the font within the APK. If its not there, it does not use the font and reverts to using the default font. It MAY be possible to edit the FlipFont APK so that it no longer looks for the digital signature. This should allow us to use any font without jumping through hoops.

If you can find the FlipFont Apk please post its location or better yet PM me with its location. If your really feeling spunky ADB pull the file off your phone and post it here, so we can take a look at it.

Lets trick FlipFont. Heres what you need.

Apk Manager 4.8 found here. This will allow you to decompile and edit the APK attached at the bottom of this link. Dont worry its much easier then it sounds.

FontCreator 30 day trial found here. This is a windows only program. If you know of a cross platform, open source or FREE font editor please let me know. The one on source forge is not stable enough for use at present and its install needs its own walk through.
***Link for FontCreator has been downgraded to version 5, which will allow you to save fonts during the 30 day trial, unlike version 6. Thanks sigeltek***

Photoshop or Gimp. Note you only need this if you want to edit the icon file for the app. I will not go over editing the icon in the walk-through, this should be pretty self explanatory.

Digitally Signed Monoglyceride font found here For some reason Mediafire sees this as a jpg file. Click the download this image button in the link and you will see its actually a .ttf file. ODD :ºp

The Monoglyceride APK attached at the bottom of this link.

Walk-through editing the Monoglyceride font with FontCreator.
  1. Open the Monoglyceride.ttf font with FontCreator
  2. Open the .ttf font you want to use.
  3. Make note of the number of Glyphs at the bottom right side of FontCreator when you have your font selected.
  4. Click the Monoglyceride font window in FontCreator and choose edit>select all at the top of the program.
  5. Hit delete on your keyboard. This should delete everything in the Monoglyceride window.
  6. click Insert>Glyphs... at the top of the program
  7. type in the number of glyphs your font has in it and hit ok. You should now see a bunch of empty glyphs in the Monoglyceride window.
  8. Now switch back to your font and again hit edit>select all
  9. Hit edit>copy
  10. Swith back to the Monoglyceride window and click edit>select all... and then edit>paste special...
  11. This will open up the Paste Special window. Put a check in every box in Item section and choose "Add Mappings" in the mappings section and then click OK.
    If this worked properly you should see all of the characters and mappings from your font in the Monoglyceride.ttf window.
  12. Close your fonts window in FontCreator
  13. Click File>Save as, rename the Monoglyceride.ttf with the name of your font.
Thats it you now have a digitally signed font. If you want to double check, open the new font in windows and you should see that the font is still technicaly the Bauhaus font, but it now contains your fonts characters. :º)

*** eweo911 has just informed me of a quick way to resize the font if it is too large. You can check to see if its too big by double clicking on one of the glyphs after preforming the Paste Special section of the instructions above. Its best to choose one of the uppercase letters. If the glyphs image goes above the guide shown for cap it WILL be a large font on the phone. These guides are set in the perfect position for our phones screen.

Here is the quote from eweo911:
Quote:

I have figured out how to make the fonts smaller so you can adjust them to fit the screen better. Not sure if anyone else has done it yet but here is what I did.

After you do the "Paste Special" in font editor (per Ritalins how-to), you will need to make sure all of the glyphs are highlighted in the new font. Yiou will then go to "Tools" and then "Glyph Transformer". Once there, you will select the "Selected" button, then under Available Features you will expand the Outlines tree. Select scale and then you will have two variables for Outlines-Scale. Choose an integer that you want to test with and then hit "ok". Save as your new font name and that should be it.


Walk-through editing the apk with Apk Manager 4.8
  1. Download the monoglyceride.apk listed below.
  2. Copy the apk into place-apk-here-for-modding folder in the Apk_Manager_4.8 directory.
  3. Run script.bat and choose option 9
  4. Open Apk_Manager_4.8\out\assets\fonts in explorer
  5. Replace existing monoglyceride.apk font with the .ttf font you edited in FontCreator
  6. edit all XML, yml and smali files to include the font name or font.ttf depending on the entry in the original file. Just replace monoglyceride in these files and folder with the name of your font. Pay attention to capitalization in the existing files, and make sure to do the same when replacing with your file name.
  7. Edit the last folder name in the smali folder tree from monoglyceride to the name of your font
  8. Edit the icon.png in the drawable folder with one of your own.
  9. Compile apk - option 11
  10. Sign apk option 12
  11. Check the Apk_Manager_4.8\place-apk-here-for-modding folder and you should see repackaged-signed.apk along with the original monoglyceride apk. Rename your new signed.apk file the same as the monoglyceride one and just check the name at the end with your font name. This is not REALLY necessary, but do it for consistency sake.
  12. install apk on your phone

This might take you about 30 minutes the first time you run through it, but after you get accustom to the steps you should be able to bang through it in about 10 minutes.

Well here you go, here is my first custom FlipFont APK.
Monoglyceride

http://www.mediafire.com/file/b63fa4...oglyceride.apk

Its working perfectly for me, but let me know if you have any issues.

If you create a font with these instructions, please share it with the community. There is a thread in the Vibrant theme section found here.

Save this thread as a favorite or subcribed thread and you can easily view it and download the fonts in the XDA tapatalk app on your phone.
You will need Astro or Linda file browser to be able to download the fonts from your phone.
The Following 4 Users Say Thank You to ritalin For This Useful Post: [ View ] Gift ritalin Ad-Free
9th November 2011, 04:42 AM |#2  
Junior Member
Thanks Meter: 0
 
More
Unhappy Invalid or Deleted File.
Mediafire says "Invalid or Deleted File." for monoglyceride.apk
2nd February 2013, 08:42 PM |#3  
shree_tejas's Avatar
Senior Member
Thanks Meter: 294
 
More
Re: Create your own FlipFont APKs complete walkthrough +Now with quick font size scal
Seen and interested :P

-------------------------------------
Questions? Better go to [Help Thread] Ask Anything!!
21st February 2014, 08:39 PM |#4  
Junior Member
Flag US Capital region (VA)
Thanks Meter: 1
 
More
This is great! I really wish I had found this when it was first posted- I just didn't know that what I was looking for was called a FlipFont...

Unfortunately all the links in the OP are dead/broken (for the signed font, the apk to edit & the thread to share our new fonts)...
3rd October 2017, 06:41 PM |#5  
Junior Member
Thanks Meter: 1
 
More
Please help!

This file is no longer available.

Is there any way to do it?
15th November 2017, 03:07 AM |#6  
Junior Member
Thanks Meter: 0
 
More
bump
6th February 2020, 01:48 AM |#7  
Junior Member
Thanks Meter: 3
 
More
Hi, thanks for your awesome tutorial and efforts, but i followed instructions and doesn´t work with android 10, someone got any update or new method?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes