Giter Club home page Giter Club logo

android_font_patcher's Introduction

FONTPATCHER

Font patcher script by nongthaihoang @ xda. Wrapper script by John Fawkes

Patch custom fonts to be used on Android.

What it does?

  • Fix missing glyphs.
  • Fix misaligned glyphs.
  • Fix kerning.
  • Fix ligatures.
  • Fix font name.
  • Fix missing lockscreen colon

Requirements

  • Linux
  • Android with termux and ubuntu
  • Fontforge

TODO

  • Add way to match weight of font with style of font. ( ie. bold actually displays bold font )

UPDATING

  • After following the guide and getting everything installed you'll want to update by running the following commands in termux.
startubuntu
cd android_font_patcher
git pull

then by running the command below can you run the script to patch the fonts

./fixfonts.sh

Usage

Step 1:

  • Install Termux from Play Store
    Step 2:
  • Run the following command in termux to update
    pkg update && pkg upgrade
    
  • Then run
termux-setup-storage

Step 3:

  • Installing Ubuntu
    pkg update -y && pkg install proot wget tar pulseaudio -y && wget https://raw.githubusercontent.com/JohnFawkes/android_font_patcher/master/ubuntu19.sh && chmod a+x ubuntu19.sh && ./ubuntu19.sh
    

Step 4:

  • Starting Ubuntu
    startubuntu
    

Step 5:

  • Installing the Font Patcher
    apt update && apt upgrade && apt install wget -y && wget https://raw.githubusercontent.com/JohnFawkes/android_font_patcher/master/setupfontpatcher.sh && chmod a+x setupfontpatcher.sh && ./setupfontpatcher.sh
    

Step 6:

  • Preparing to patch
    ( /sdcard == Internal Storage )

    • Navigate to /sdcard/Fontchanger/Patcher and create a folder for each font
    • Place your single ttf inside
    • Folder structure will be:
      |--sdcard/
      |--Fontchanger/
      |--Patcher/
      |--Folder with Font Name/
      |--single ttf, can be named anything
      Step 7:
  • Patching!

    cd android_font_patcher
    
    ./fixfonts.sh  
    
    • Follow the on screen prompts
      Step 8:
  • Once patching is done font folder are auto copied to /sdcard/Fontchanger/Fonts/Custom

  • You'll be able to exit from ubuntu with exit then su font_changer
    Step 9:

  • ENJOY!!

android_font_patcher's People

Contributors

johnfawkes avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.