[MOD][XPOSED][4.0+] PerAppFonts v0.3.2 (BETA) - Apply custom fonts on a Per-App Basis

Search This thread

zst123

Inactive Recognized Developer
Aug 20, 2013
442
3,303
Singapore
Per App DPI, Per App Settings, Per App Color.. Time for something NEW!
PerAppFonts
(Apply custom fonts on a Per-App Basis)

This module allows you to use your own custom fonts not only without flashing a zip, but also have individual fonts for each individual app. However, due to Android's system permission, there is a catch. Changing fonts for apps will work WITHOUT a reboot, BUT a reboot is needed to LOAD the fonts.. (See important point below)

There are 8 options you can choose from even though you have no fonts. They are bundled in the app.
System Default (aka. Turn off changing fonts), default system Monospace, default system Serif, default system Sans, Roboto Condensed (from kitkat), Storopia (Gingerbread's lockscreen clock font), Rosemary (from Galaxy S3 flipfonts), and Roboto Slab (from Google Keep). More fonts can be added by placing it on your internal/external SDcard and choosing the folder in the preferences

Requirements:
1) Have Xposed Framework installed.

First Install Instructions:
1) Have Xposed Framework installed
2) Install & Enable PerAppFonts in Xposed Installer
3) Download Fonts on your internal/external SD card(if you haven't already)
4) Go to Preferences from the main screen of PerAppFonts
5) Choose the Font Folder
6) Reboot.
7) Start customizing!!

IMPORTANT:
• If you change an App Font, NO reboot is needed, just kill the app and launch,
• If you change your Font Folder, a reboot is required.,
• If you add fonts to your font folder, a reboot is required.
• If you eject your SD-card, the loaded fonts will continue to be usable and changeable until reboot.
• It's recommended you do not store more than 500 fonts on your font folder if you have a single core phone.
(Don't make the same mistake I did. Lag hurts) (**** you READ_EXTERNAL_STORAGE permission) :p

Screenshots in DevDB Tab right at the top

Great Thanks to:
rovo89 for Xposed Framework
Tungstwenty & rovo89 for their open source App Settings.
Paranoid Android for the App List from HALO)))
GriffinSauce for the icon
Dzakus for code contribution
• and many more..

XDA:DevDB Information
PerAppFonts, a App for the No Device

Contributors
zst123

Version Information
Status: Beta
Current Beta Version: v0.3.2
Beta Release Date: 2014-01-04

Created 2013-11-23
Last Updated 2014-01-04
 

Attachments

  • Settings_long.png
    Settings_long.png
    56.7 KB · Views: 13,730
  • pref_cut.png
    pref_cut.png
    32.8 KB · Views: 11,967
  • fontchooser.png
    fontchooser.png
    44.2 KB · Views: 12,577
  • forcekill.png
    forcekill.png
    26.4 KB · Views: 11,115
  • ddd.png
    ddd.png
    65.3 KB · Views: 11,332
  • d.png
    d.png
    30 KB · Views: 11,231

zst123

Inactive Recognized Developer
Aug 20, 2013
442
3,303
Singapore
Download from Xposed Repo
If you want fonts, I can recommend you this thread.

Bugs:
ActionBar will not have your applied font unless you enable force fonts.

Changelog:
Version 0.3.2 (04 January 2013 / 1710 / GMT+8)
• Previous APK was corrupted. This should work.

Version 0.3 (04 January 2013 / 1345 / GMT+8)
• Add Russian Translation (By Teinharm from 4pda.ru)
• Hardcode the starting folder to be /sdcard/
(Prevents users from choosing /storage/emulated/0/ which is linked to
the sdcard but is not a symbolic link. Therefore, it will "not exist"
when booting up the system.)
• Show Warning if Emulated path is selected



Older Changelogs:

___________________________________________________________________

Version 0.2 (15 December 2013 / 0100 / GMT+8)
• New App Icon (by GriffinSauce)
• Reimplemented App List (by Dzakus)
• Reimplemented Font Loading (by Dzakus)
• Highlight Fonts that didn't load properly in Red (aka Incompatible Fonts)
• Optimizations for the Font Loader (May Fix External Fonts not loading)
• Optimizations for Settings Activity (May Fix Some FC's)

___________________________________________________________________

Version 0.1.2 (28 November 2013 / 0100 / GMT+8)
• Fix Font Folder Force Closing on ICS Devices.
• Fix Font not showing if it uses (caps) .TTF instead of (small) .ttf

Version 0.1.1 (23 November 2013 / 1700 / GMT+8)
• Fix Exception if font folder is non-existent.

Version 0.1 (23 November 2013 / 1240 / GMT+8)
• First Version Released
___________________________________________________________________
 
Last edited:

zst123

Inactive Recognized Developer
Aug 20, 2013
442
3,303
Singapore
For Developers

PerAppFonts is open-source. The source is found on my GitHub.
If you would like to help in the development, you may leave bug reports and development tips in this thread or (better still) fork and send pull requests.
PerAppFonts might be compatible with Gingerbread in the future. All that is needed is to change the ActionBar related stuff to Menu and TitleBar. (If anyone wants to do this, Great! Less work for me.)

If you want to integrate anything in my module into your own ROM, no need to ask for permission, just mention me so I can keep track.
 
Last edited:

droidsman

Senior Member
May 15, 2013
69
14
Aligarh
Great work

In my case , I created a folder for custom fonts . but the fonts were not applied any where.
Rest every thing is fine. Thanks for this unique app.
Request to add some more fonts as all the included fonts are almosts lookwise similar.
 

zst123

Inactive Recognized Developer
Aug 20, 2013
442
3,303
Singapore
In my case , I created a folder for custom fonts . but the fonts were not applied any where.
Rest every thing is fine. Thanks for this unique app.
Request to add some more fonts as all the included fonts are almosts lookwise similar.
Did you restart after putting the fonts? Also, remember to kill the app before launching.. ;) It is easy to miss that out..
 
  • Like
Reactions: mauam

vaibhav011286

Senior Member
Jan 25, 2010
99
13
Custom fonts not applying...

I downloaded the fonts in fonts folder in internal sd card and all the fonts are showing in the app after rebooting but when I tried to apply the custom fonts on any app, it doesn't work.

Please, help..
 

zst123

Inactive Recognized Developer
Aug 20, 2013
442
3,303
Singapore
I downloaded the fonts in fonts folder in internal sd card and all the fonts are showing in the app after rebooting but when I tried to apply the custom fonts on any app, it doesn't work.

Please, help..
Did you click on the "X" button beside the launch button to kill the app? Also, some fonts are not compatible with Android but the system will not show an error, but just show the original font (Roboto).

thanks so much. its a very useful app
1) Please do not quote the OP.
2) Please do not say "its a very useful app". Please post if you have suggestions, bug reports or tips for users. Click the Thanks button if you want to say thanks
 

zst123

Inactive Recognized Developer
Aug 20, 2013
442
3,303
Singapore
it force closes when i add custom fonts
May I have a logcat? Does it happen when there's a single font in the folder? or happens after a few fonts were added. What I can think of now is either the fonts are too large to handle (Very complex fonts) or you placed too many fonts (probably a few thousand to even force close like that).
 

eyesore123

Senior Member
Apr 29, 2013
337
49
Philippines
May I have a logcat? Does it happen when there's a single font in the folder? or happens after a few fonts were added. What I can think of now is either the fonts are too large to handle (Very complex fonts) or you placed too many fonts (probably a few thousand to even force close like that).

no, it force closes even with a single font, and so with few fonts..
how can i get a logcat for this? (sorrry im a noob :laugh: )
 

Top Liked Posts

  • There are no posts matching your filters.
  • 60
    Per App DPI, Per App Settings, Per App Color.. Time for something NEW!
    PerAppFonts
    (Apply custom fonts on a Per-App Basis)

    This module allows you to use your own custom fonts not only without flashing a zip, but also have individual fonts for each individual app. However, due to Android's system permission, there is a catch. Changing fonts for apps will work WITHOUT a reboot, BUT a reboot is needed to LOAD the fonts.. (See important point below)

    There are 8 options you can choose from even though you have no fonts. They are bundled in the app.
    System Default (aka. Turn off changing fonts), default system Monospace, default system Serif, default system Sans, Roboto Condensed (from kitkat), Storopia (Gingerbread's lockscreen clock font), Rosemary (from Galaxy S3 flipfonts), and Roboto Slab (from Google Keep). More fonts can be added by placing it on your internal/external SDcard and choosing the folder in the preferences

    Requirements:
    1) Have Xposed Framework installed.

    First Install Instructions:
    1) Have Xposed Framework installed
    2) Install & Enable PerAppFonts in Xposed Installer
    3) Download Fonts on your internal/external SD card(if you haven't already)
    4) Go to Preferences from the main screen of PerAppFonts
    5) Choose the Font Folder
    6) Reboot.
    7) Start customizing!!

    IMPORTANT:
    • If you change an App Font, NO reboot is needed, just kill the app and launch,
    • If you change your Font Folder, a reboot is required.,
    • If you add fonts to your font folder, a reboot is required.
    • If you eject your SD-card, the loaded fonts will continue to be usable and changeable until reboot.
    • It's recommended you do not store more than 500 fonts on your font folder if you have a single core phone.
    (Don't make the same mistake I did. Lag hurts) (**** you READ_EXTERNAL_STORAGE permission) :p

    Screenshots in DevDB Tab right at the top

    Great Thanks to:
    rovo89 for Xposed Framework
    Tungstwenty & rovo89 for their open source App Settings.
    Paranoid Android for the App List from HALO)))
    GriffinSauce for the icon
    Dzakus for code contribution
    • and many more..

    XDA:DevDB Information
    PerAppFonts, a App for the No Device

    Contributors
    zst123

    Version Information
    Status: Beta
    Current Beta Version: v0.3.2
    Beta Release Date: 2014-01-04

    Created 2013-11-23
    Last Updated 2014-01-04
    14
    Download from Xposed Repo
    If you want fonts, I can recommend you this thread.

    Bugs:
    ActionBar will not have your applied font unless you enable force fonts.

    Changelog:
    Version 0.3.2 (04 January 2013 / 1710 / GMT+8)
    • Previous APK was corrupted. This should work.

    Version 0.3 (04 January 2013 / 1345 / GMT+8)
    • Add Russian Translation (By Teinharm from 4pda.ru)
    • Hardcode the starting folder to be /sdcard/
    (Prevents users from choosing /storage/emulated/0/ which is linked to
    the sdcard but is not a symbolic link. Therefore, it will "not exist"
    when booting up the system.)
    • Show Warning if Emulated path is selected



    Older Changelogs:

    ___________________________________________________________________

    Version 0.2 (15 December 2013 / 0100 / GMT+8)
    • New App Icon (by GriffinSauce)
    • Reimplemented App List (by Dzakus)
    • Reimplemented Font Loading (by Dzakus)
    • Highlight Fonts that didn't load properly in Red (aka Incompatible Fonts)
    • Optimizations for the Font Loader (May Fix External Fonts not loading)
    • Optimizations for Settings Activity (May Fix Some FC's)

    ___________________________________________________________________

    Version 0.1.2 (28 November 2013 / 0100 / GMT+8)
    • Fix Font Folder Force Closing on ICS Devices.
    • Fix Font not showing if it uses (caps) .TTF instead of (small) .ttf

    Version 0.1.1 (23 November 2013 / 1700 / GMT+8)
    • Fix Exception if font folder is non-existent.

    Version 0.1 (23 November 2013 / 1240 / GMT+8)
    • First Version Released
    ___________________________________________________________________
    7
    For Developers

    PerAppFonts is open-source. The source is found on my GitHub.
    If you would like to help in the development, you may leave bug reports and development tips in this thread or (better still) fork and send pull requests.
    PerAppFonts might be compatible with Gingerbread in the future. All that is needed is to change the ActionBar related stuff to Menu and TitleBar. (If anyone wants to do this, Great! Less work for me.)

    If you want to integrate anything in my module into your own ROM, no need to ask for permission, just mention me so I can keep track.
    5
    IT WORKS!!

    Ok @zst123, you said that the problem was the path at boot, so I tried to set the fonts path to «/data/media/0/fonts», but from the app it would not allow it, so I edited «/data/data/com.zst.xposed.perappfonts/shared_prefs/main.xml» and set it there, and after reboot IT WORKS, now I can use the fonts it loads from the fonts directory, in most of them I had to set the «force» param, but not on all of them.
    The only problem now is that IF I open the perAppFonts app, it resets the path to «/mount/sdcard/fonts», it will continue to work fine because it already loaded the fonts at boot, but if I reboot, it will try to use again the wrong path, and I need to set it manually again and reboot, BUT if I do not open the perAppFonts app, it sets the fonts fine and it does not reset the path.
    So now if you could only please make it so it does not modify the main.xml every time the perAppFonts UI runs, or if directly from the app UI it could be set to «/data/media/0/fonts»

    I'm running a GS3 with android 4.4 and Omnirom and after setting the path manually, everything works as advertised! :good:

    Edit: The path «/data/media» for the sdcard is implemented in most —if not all— of the recent Samsung models, I don't know if it is valid for other brands.

    Best regards
    4
    Great app! It just needs an icon, so I made one.
    If you like it you are free to use it!

    The zip contains all the sizes I think you'll need. If you want the PSD let me know!
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone