[FONT] CyanogenMod Hexolibre font for any device - Android Software Development

This is the official CyanogenMod's theme Hexolibre font. I have extracted all the font files from the Hexolibre app itself and put all of them in a *non flashable* zip.
I tested this on my phone (VS985 running Resurrection Remix 7.1.1 v5.8.1). I saw that the colon on the lock screen and the Dollar icon ($) on keyboard is appearing as a question mark (?). Other than that, everything is working great. All the special symbols, exponential numbers, fractions etc are working too.
_INSTRUCTIONS:_
1) Take a backup of all the files which are starting with 'Roboto' such as 'Roboto-Italic'.
2) Download the zip file and extract all the *.ttf files to /system/font.
3) Set permissions to rw-r-r (644).
4) Reboot and enjoy! \(^O^)/

How to fix the semi colon? Any ideas?

abefaxe said:
How to fix the semi colon? Any ideas?
Click to expand...
Click to collapse
I am not a developer. I just pulled the original files from CM 13 ROM, renamed and put them all in a zip file. I have no idea how to fix it. Sorry

Sorry to necro, but for anyone still looking to do this I fixed it with a font editor. The colon in the clock is in Roboto-Light.ttf, so you can patch 0xEE01 with another colon yourself for any font, or if you are trying to specifically get that awesome Hexolibre font (aka Lato, my favorite system font) just use the attached already-fixed Hexolibre fonts. If you have already replaced them all and just want to fix the lock screen colon, you just need to replace the Roboto-Light.ttf file. Enjoy!

Related

REQUESTING HELP Editing and creating NEW flipfont APKs

I have been working on this issue for most of the day over in the Vibrant forums.
I am posting here in hopes of getting someone who knows more about apk editing and fonts then I do to help out.
Link to the post on the XDA Vibrant forum here
Please post your response there. Once the issue is solved I will repost a walk-through on all Galaxy S forums.
Here is the start of my thread, please read the link to see the progress.
I am aware that there are other ways to edit the fonts on our phone, by replacing renaming the default font. This is NOT what I would like to accomplish.
Since the Galaxy S is the first android phone to use Flipfont, I think we should take advantage of it. It gives us a nice preview of the font in the built in menu option and is thus superior to the other methods.
I originally purchased the Bauhaus font from the market and made a backup of it through ASTRO. After pulling the file from my phone and putting it on the computer I started editing the file with Apk Manager 4.8 found here
Steps preformed
Copied original apk into place-apk-here-for-modding folder
Run script.bat and choose option 9 ***this maybe where the issue is as I may need to choose option 10 and include the dependancy if there is one for the flipfont apk.
replace bauhaus.ttf with a .ttf font of my choosing
edit all XML, yml and smali files to include the font name or font.ttf depending on the entry in the original file *** I did not change any of the other coding so again this maybe where the problem is, as I may need to change something else to have the font act properly.
Edit the last folder name in the smali folder tree from bauhaus to the name of my font
Replace font with custom font and replace the preview image with my own
Compile apk
Sign apk
Rename apk
install apk on my phone
After putting the apk on my phone and installing the file, it shows up as expected in settings>Sound and Display>Font style. The font thumbnail shows up properly as does the font preview. The preview does show up a little larger then the other fonts and may be a sign that the font is not optimized properly or that I missed something in the XML.
After applying the font and restarting, the phone is extremely slow, freezing quite often and the font does not show up, it shows the default font instead.
If anyone that knows more about XML or apk editing/creation can help it would be great.
I have included the edited font apk if you would like to download it and run it through Apk Manager 4.8. If you want to try it with the bauhaus or one of the other fonts you will need to buy it from the market and back it up. (trying not to break any rules here.)
[EDIT][More info] Ok I took a closer look at the font that came with the Bauhaus akp
In the discription of the font it list:
OpenType Layout, Digitally Signed, TrueType Outlines
I know that opentype is a new format and that alot of the fonts for OpenType that I find are made by Monotype, the same people that make the fonts available for download. I think this may have something to do with it or maybe Im just grasping. :ºp
Any font guys out there have any info on this?
CAUTION THE FOLLOWING FILE IS NOT MEANT FOR USE AND WILL CAUSE YOUR PHONE TO RUN SLOW!!!
Download Font APK

REQUESTING HELP Editing and creating NEW flipfont APKs

I have been working on this issue for most of the day over in the Vibrant forums.
I am posting here in hopes of getting someone who knows more about apk editing and fonts then I do to help out.
Link to the post on the XDA Vibrant forum here
Please post your response there. Once the issue is solved I will repost a walk-through on all Galaxy S forums.
Here is the start of my thread, please read the link to see the progress.
I am aware that there are other ways to edit the fonts on our phone, by replacing renaming the default font. This is NOT what I would like to accomplish.
Since the Galaxy S is the first android phone to use Flipfont, I think we should take advantage of it. It gives us a nice preview of the font in the built in menu option and is thus superior to the other methods.
I originally purchased the Bauhaus font from the market and made a backup of it through ASTRO. After pulling the file from my phone and putting it on the computer I started editing the file with Apk Manager 4.8 found here
Steps preformed
Copied original apk into place-apk-here-for-modding folder
Run script.bat and choose option 9 ***this maybe where the issue is as I may need to choose option 10 and include the dependancy if there is one for the flipfont apk.
replace bauhaus.ttf with a .ttf font of my choosing
edit all XML, yml and smali files to include the font name or font.ttf depending on the entry in the original file *** I did not change any of the other coding so again this maybe where the problem is, as I may need to change something else to have the font act properly.
Edit the last folder name in the smali folder tree from bauhaus to the name of my font
Replace font with custom font and replace the preview image with my own
Compile apk
Sign apk
Rename apk
install apk on my phone
After putting the apk on my phone and installing the file, it shows up as expected in settings>Sound and Display>Font style. The font thumbnail shows up properly as does the font preview. The preview does show up a little larger then the other fonts and may be a sign that the font is not optimized properly or that I missed something in the XML.
After applying the font and restarting, the phone is extremely slow, freezing quite often and the font does not show up, it shows the default font instead.
If anyone that knows more about XML or apk editing/creation can help it would be great.
I have included the edited font apk if you would like to download it and run it through Apk Manager 4.8. If you want to try it with the bauhaus or one of the other fonts you will need to buy it from the market and back it up. (trying not to break any rules here.)
[EDIT][More info] Ok I took a closer look at the font that came with the Bauhaus akp
In the discription of the font it list:
OpenType Layout, Digitally Signed, TrueType Outlines
I know that opentype is a new format and that alot of the fonts for OpenType that I find are made by Monotype, the same people that make the fonts available for download. I think this may have something to do with it or maybe Im just grasping. :ºp
Any font guys out there have any info on this?
CAUTION THE FOLLOWING FILE IS NOT MEANT FOR USE AND WILL CAUSE YOUR PHONE TO RUN SLOW!!!
Download Font APK
You only can use .ttf (true type font) any other type will not work,if you have a font u want to use but is not in .ttf then you need to convert it to .ttf, btw i prefer the Type Fresh app to manage and change my fonts is easier than the method you described.
Also, make sure the font has a full latin library. I learned the hard way from the TypeFresh app (which is a way better solution IMO). In its instructions which I only read the second time, one font (i believe its called DroidSansFallback.ttf) needs to have a COMPLETE set, including latin, I believe for certain coding going on somewhere. I bricked my phone within two hours of rooting it. Took three to get it back. (Backup people!)
Anyways, now I use TypeFresh, it gives you options on which system font to replace, and I never replace that one.
Hope this helps.

[HOW-TO] Change Galaxy Tab system font without FontFlip

Being one to never stop changing the look of any of my Android devices I wondered how to change the system font on my Tab. First result was the ability right within the system settings app itself, but more clicking on "Get more fonts" ended up with only pay options. My Tab is rooted with z4 so I though why not see if I can just swap out the files. A simple install of Root Explorer and some file renaming later I had a new font installed on my Tab that even sticks through reboot. Here is how I did it (quite simple really):
Requirements:
- A Galaxy Tab of course, rooted
- Root Explorer, paid market app or other means if you are so inclined
- Your new font in TrueType format on your sdcard with the needed ttf's for regular and bold (eg YourFont-R.ttf and YourFont-B.ttf, etc)
Steps:
1 - Using root explorer, navigate to /system/font and rename DroidSans.ttf and DroidSans-Bold.ttf (I just append ORIG to them)
2 - Still in that directory click the button "Mount as r/w" just under the notify bar on your screen
3 - Navigate back to where your new font is and copy the regular and bold ttf files to /system/fonts
4 - Rename each ttf file as DroidSans.ttf for regular fonts and DroidSans-Bold.ttf for bold fonts
5 - Go to Settings > Display > Set Font and set if to Default
NOTE If Default is already your selected font, select another font and apply then reselect Default and apply and your new font should be visible.
Your new font should now be used as the on screen display font. For reference my Tab is a Bell version and I used the attached font (Ubuntu font) as my new font.
Hope this helps some people.
Cheers
Thanks! Will try this out on my Sprint Tab later.
Any luck finding a way to do it without actually replacing the font? Surely if it allows market download of fonts then you can just add new ones and update some list somewhere...
Sent from my GT-P1000 using Tapatalk
alias_neo said:
Any luck finding a way to do it without actually replacing the font? Surely if it allows market download of fonts then you can just add new ones and update some list somewhere...
Sent from my GT-P1000 using Tapatalk
Click to expand...
Click to collapse
I didn't fully replace the original font as I renamed the original files. This is the way I was able to use the built in font switching tool without spending money on font packs. Only drawback for me is that the font list will only ever be 2 fonts for me, Default and Helvetica Neue Something. I originally changed it as I really like the Ubuntu font on my Desire and wanted to sue it on the Tab.
Or just grab any font apk from this thread!
alias_neo said:
Any luck finding a way to do it without actually replacing the font? Surely if it allows market download of fonts then you can just add new ones and update some list somewhere...
Sent from my GT-P1000 using Tapatalk
Click to expand...
Click to collapse
Create a new folder on sdcard (fonts) under that folder create 2 more 1) original 2) custom fonts or (what ever fonts u r using) go back to system/fonts and copy the original and save them on sdcard/original now download the fonts to (custom folder created)
Copy the fonts go to system/fonts and paste (Before you do this write the permissions )
After you paste change the permissions and you are done
Now go to display / fonts and/ change them to default
Happy fonting lol
bluemonde said:
Create a new folder on sdcard (fonts) under that folder create 2 more 1) original 2) custom fonts or (what ever fonts u r using) go back to system/fonts and copy the original and save them on sdcard/original now download the fonts to (custom folder created)
Copy the fonts go to system/fonts and paste (Before you do this write the permissions )
After you paste change the permissions and you are done
Now go to display / fonts and/ change them to default
Happy fonting lol
Click to expand...
Click to collapse
I'm not sure I follow your explanation here. Is there a way to just add fonts to the font folder and they show up?
Uprightmusic said:
I'm not sure I follow your explanation here. Is there a way to just add fonts to the font folder and they show up?
Click to expand...
Click to collapse
Hi the option to paste the font folder seems lost when I am opening the sd card ? Which program are you using to paste it into? Also I tried the first suggestion, renaming the fonts, but it says ...system file is read only? Your help is much appreciated.
Many thanks Devarsi
Hi the option to paste the font folder seems lost when I am opening the sd card ? Which program are you using to paste it into? Also I tried the first suggestion, renaming the fonts, but it says ...system file is read only? Your help is much appreciated.
Many thanks Devarsi
[/B]
bluemonde said:
Create a new folder on sdcard (fonts) under that folder create 2 more 1) original 2) custom fonts or (what ever fonts u r using) go back to system/fonts and copy the original and save them on sdcard/original now download the fonts to (custom folder created)
Copy the fonts go to system/fonts and paste (Before you do this write the permissions )
After you paste change the permissions and you are done
Now go to display / fonts and/ change them to default
Happy fonting lol
Click to expand...
Click to collapse
DAMN I forgot to change back the permission and now my Tab is looping boot.. AARRGGHHH
heavylildude said:
DAMN I forgot to change back the permission and now my Tab is looping boot.. AARRGGHHH
Click to expand...
Click to collapse
Boot into recovery and reflash your rom/kernel.
Tray this one, it's simple
using apk font
http://forum.xda-developers.com/showpost.php?p=12927086&postcount=6

[APP] Mms.apk Contact Box Fix for CodeROM

I patched a copy of the Mms.apk to remove the green bars behind the contact photo.
Tested with CodeROM NexusAce and CodeROMv2, should work CodeROMv1.
Note:
Skins feature is disabled.
Instructions:
1. Download the modified Mms.apk (Attached file)
2. Make a backup of your old Mms.apk in /system/app (Use Root Explorer).
3. Mount /system/app as R/W
3. Copy the modified Mms.apk to /system/app
4. Set the permissions to ---rwxr-x
5. Chane the file owner and group to 0 - root
6. Reboot
7. Hit the Thanks button if it worked
Update:
- Smaller file size.
Maybe i can help or give you an idea:
1. The Skin Option in menu is activated via the preferences.xml included in the MMS.apk file (you can copy from XXKPE, and try to install the MMS.apk, however whatever skin you select it does not change) which i think you need to do the next part.
2. The actual implementation of the skin is under the coding of classes.dex, which i dont know how to decompile.
thanks, it works
i will be waiting for the update for the skins
worked for me!
Thanks a lot!
vertcam9 said:
2. The actual implementation of the skin is under the coding of classes.dex, which i dont know how to decompile.
Click to expand...
Click to collapse
thanks for this, can't get past this one though...
I found out that there must have been a miss declaration of an image res file in the class.dex or in the Mms.apk's before compiling. Its calling progressbar_indeterminate4.png instead of quickcontact_badge_small_unpressed.9.png or quickcontact_badge_unpressed.9.png from the /system/framework/framework-res.apk file.
Updated the first post.
- Smaller file size.
- Still no support for skins [May not be updated to support this feature. Sorry]
help!!
after reboot message icon in now inside menu and gone in the launcher, however the green thing is gone.
now there are only 3 icons in launcher ( keypad, contacts, menu )
update:
thanks i got fixed it myself, btw it is working but no skins.
mikko3024 said:
Updated the first post.
- Smaller file size.
- Still no support for skins [May not be updated to support this feature. Sorry]
Click to expand...
Click to collapse
Mikko3024, how did you get by the problem? was it via the XML files?
vertcam9 said:
Mikko3024, how did you get by the problem? was it via the XML files?
Click to expand...
Click to collapse
The problem is in the classes.dex of the apk.
I copied a properly working classes.dex from another version of the Mms.apk and patched the res files to match the appearance of CodeROM's Mms.apk. But the new classes.dex either does not support the skin features or there is something in conflict.
As mentioned by vertcam9, preferences.xml activates the skin selection in the settings part of the app, but does not apply any changes whatever skin is selected. Proper classes.dex is necessary.

How to change fonts on OOS 10?

hello!
the title says it all,
how can I change the font in latest oos 10?
i mean custom fonts, not just those two.
back in oos 9, I used type face font changer, it was working flawlessly, after oos 10 it's not working anymore.
I've also tried font changer module from magisk, but the dev deleted it and it was a server-based module, so I can't even use previous builds.
so.. can anyone suggest a working way to change the default font to a one of my choice?
Hi install this via the play store zfont https://play.google.com/store/apps/details?id=com.mgngoe.zfont you can create your own magisk module with your font I put a link http://dl.free.fr/k6oqzkanw to my font to install via magisk then restart then go to the fonts of the oneplus 5 and choose Noto Sans that's it
Ssmiles said:
Hi install this via the play store zfont https://play.google.com/store/apps/details?id=com.mgngoe.zfont you can create your own magisk module with your font I put a link http://dl.free.fr/k6oqzkanw to my font to install via magisk then restart then go to the fonts of the oneplus 5 and choose Noto Sans that's it
Click to expand...
Click to collapse
thanks man!
can u please guide me through this?
i mean a step by step, I don't want to brick my device doing this x)
which font do you want?
Ssmiles said:
which font do you want?
Click to expand...
Click to collapse
I've managed to successfully create my magisk font!
btw, when selecting what type of font to change, should I just use "Regular" or all?
cuz when I used regular, i got some squares on "Bold" font type.
what do you suggest?
oh man we use same accent color!
Here look this is my current font and look at the tutorial in the folder a .txt file
PS: Make a backup of your original fonts folder before http://dl.free.fr/oga3ekP2E
My pack 9 fonts: http://dl.free.fr/bb6mbmeCi
Awesome work Ssmiles! Wondering if you could walk me thru how you made all the different .tff files? I had font changer module, but it's been taken down.... I have some knowledge in rooting and such, but haven't fooled around in a while. Just wondering about the font I want to use, can I just use the one .tff file and rename it all of the roboto*.tff files I need? Thanks in advance!
Op7
Rooted
Magisk
10.3.7 GM57AA
Att
Sent from my GM1900 using Tapatalk
Hi, back up your original fonts folder in / system / fonts before you copy paste the 18 files of each font and overwrite the old files to restore your original fonts folder the day you want to go back! I use ChocoCooky or Galette or Jolly as a font.
Extract the compressed file then open it and select all the fonts then copy them then paste them in / system / fonts / then restart the phone then go to settings then personalization then fonts and choose the 1st Noto Sans font and validate that's it.
Screenshots : Font ChocoCooky
Ssmiles said:
Hi, back up your original fonts folder in / system / fonts before you copy paste the 18 files of each font and overwrite the old files to restore your original fonts folder the day you want to go back! I use ChocoCooky or Galette or Jolly as a font.
Extract the compressed file then open it and select all the fonts then copy them then paste them in / system / fonts / then restart the phone then go to settings then personalization then fonts and choose the 1st Noto Sans font and validate that's it.
Screenshots : Font ChocoCooky
Click to expand...
Click to collapse
Yes, I got that much. I would like to use either rosemary or f*ckbeans font. I'm wondering how to make all 18 files from either rosemary.tff or f*ckbeans.tff. can I use one of those to make the 18 files? Thanks again buddy!
Sent from my GM1900 using Tapatalk
► SYSTEM FONTS • Roboto-Regular.ttf: This font is the most widely used. It can be found almost everywhere, from application labels to menu texts. • Roboto-Bold.ttf: This is the "bold" version of Roboto. Unlike the classic version, we see it very little. • Roboto-Italic.ttf: This is the "italic" version of Roboto. • Roboto-BoldItalic.ttf: Some “bold” and “italics” from Roboto. All of these fonts are stored in the / system / fonts folder. For starters, it's best to tackle the Roboto-Regular.ttf file as this is the most common font. The general idea is to replace the system font files with new font files while keeping the same file names as the originals. The font characters in the file are different, but the name of the file is exactly the same. For example, if you want to use a TTF font file named Times_New_Roman.ttf instead of Roboto-Regular.ttf, you will need to rename Times_New_Roman.ttf to Roboto-Regular.ttf and then copy the renamed file to / system / fonts. IMPORTANT: always make a system or original file backup before any manipulation. If something goes wrong, you can always go back. Renaming the original file by adding the .bak extension will make it usable, it stays in the same directory and you can remove this extension to make it operational again.
---------- Post added at 07:22 AM ---------- Previous post was at 06:59 AM ----------
Rosemary-Fonts-ModuleMagic-v1.0_Sskulls.zip http://dl.free.fr/ijknBwSyP

Categories

Resources