This issue seems to be fixed on firmware version 10E. If you want, I can try and create a new package with the relevant files.
This issue seems to be fixed on firmware version 10E. If you want, I can try and create a new package with the relevant files.
This issue seems to be fixed on firmware version 10E. If you want, I can try and create a new package with the relevant files.
I don't know. Could be both. Will fix it and upload it during the day today.
---------- Post added at 05:05 PM ---------- Previous post was at 04:35 PM ----------
Try this: https://www.dropbox.com/s/0b08vcipbuge9at/fonts_10e.zip
This has all the fonts packed, not just Roboto. Again, I haven't tried this out so I don't know will it work properly. Please do a backup before installing in case something goes wrong since I am not responsible for eventual problems. If it doesn't work, try unpacking the files and copying them manually.
Unpack the files and replace them by copy pasting. Flashing seems to be a hit & miss. Also, reboot after copying.
su
mount -o remount,rw /system
cp /sdcard/roboto/*.ttf /system/fonts
mkdir /sdcard/roboto-stock
cp /system/fonts/Roboto* /sdcard/roboto-stock
I saw a post earlier on G+ about the G2 and Roboto. Basically you can only use normal and bold; italic, bold italic, Roboto Light, Roboto Thin, and Roboto Condensed don't work. The weight also appears to be off.
I did some looking around and all the fonts are present on the system. I made a quick test app to compare the fonts on the G2 and Galaxy Nexus and set to figure out how to fix it.
It's pretty simple, just copy the system_fonts.xml file in the zip to \system\etc. You'll probably want to backup and/or rename the existing file first and give it the same file permissions. You'll need root and a file explorer that can mount system. Reboot and you should be able to see the changes.
I copied the file over to internal storage and used Total Commander to copy the xml file after renaming the original file.
The weight is still wrong but at least if the developer wanted to use Roboto and italics, you'll now be able to see italics.
If you want to fix the weight issues, you can download Roboto directly from Google. Just click "Download Roboto" and extract the zip, then copy to your phone. In adb you can do this:
Assuming you put the roboto files at /sdcard/roboto
Code:su mount -o remount,rw /system cp /sdcard/roboto/*.ttf /system/fonts
This will overwrite the ones from the stock rom, so if you're concerned about that, you can make a backup first:
Code:mkdir /sdcard/roboto-stock cp /system/fonts/Roboto* /sdcard/roboto-stock
After that and using your modded system_fonts.xml, I have nice proper typography in the Play Store and other Holo apps.
Thanks!