Alternative fonts - Hero, G2 Touch Android Development

I used to be able to replace fonts just by moving them to the Fonts folder under System in my G1. Now i have just got my Hero and tried to do the same so i could view Arabic language but it did not work!?!?!
Any suggestion?!?!?

see here:
http://www.android-devs.com/?p=33

Excellent way of doing a fallback font! Now i can add some extra fonts for the device
Edit: For users that uses the modaco custom rom, this might not be a good solution as the DroidSansFallback.ttf font on the device is 4MByte, which includes more fonts than the ttf provided by the freely licensed Dejavu fonts on that website, which ends up giving even more "blocks" on fonts (while i tried this it disabled all chinese fonts.)

Related

[Q] additional unicode language fonts

Hi,
I'm using a SEA edition of Wildfire and can display Thai and Vietnamese characters. I noticed in my /system/fonts directory there is a file called CNCondense.ttf which are the Thai fonts.
I installed some fonts to support Unicode 1700 fonts (Baybayin) but the webpages still rendered squares.
Does this mean that Android only looks at the Droid*.ttf family of fonts to display text and just ignore CNCondense.ttf?
Thanks.
hello my friend, can u tell me how u install fonts in system/fonts in HTC Wildfire?
Hi davita,
assuming your phone's rooted, do an "adb push" to /system/fonts while in recovery mode.
davita22 said:
hello my friend, can u tell me how u install fonts in system/fonts in HTC Wildfire?
Click to expand...
Click to collapse
I decided to simply pull DroidSansFallback.ttf, edit it with fontforge to copy the necessary unicode characters from another font, then push it back.
Its a tedious process, but it should work theoretically
AllanEspinosa said:
Hi,
I'm using a SEA edition of Wildfire and can display Thai and Vietnamese characters. I noticed in my /system/fonts directory there is a file called CNCondense.ttf which are the Thai fonts.
...
Click to expand...
Click to collapse
Better way is to using RootExplorer.
hi i want to merge two fonts. here is my original htc explorer font which is 3.xx mb and i downloaded http://www.mediafire.com/?lum0iauh1eh8c21 this font which have indian languages. but after i paste this font many special character such as up arrow down arrow etc shown as box. can i merge those two fonts? if yes then how?

[N2E] 2012-01-03 multilanguge for NST

.
THIS IS FOR NOOK SIMPLE TOUCH WITH [highlight]FIRMWARE 1.1[/highlight]!
.
[highlight]After installation it is neccessary to use 'more locale 2':
https://market.android.com/details?...xLDEsImpwLmNvLmNfbGlzLmNjbC5tb3JlbG9jYWxlIl0.[/highlight]​
Here You have. I've added languages for everything which is included in framework-res. It includes many dialogs, OK/CANCEL dialogs etc. What is most important it will add definitions for dates, times etc. This will not translate B&N specific programs (like 'library' and 'shop').
Added languages (you can choose):
ar
bg
ca
cs
da
de
el
es
ed
fi
fr
he
hi
hr
hu
id
it
ja
ko
land
lt
lv
nb
nl
pl
pt
ro
ru
sk
sl
sr
sv
th
tl
tr
uk
vi
zh
languages with better support by android:
Chinese, PRC (zh_CN)
Chinese, Taiwan (zh_TW)
Czech (cs_CZ)
Dutch, Netherlands (nl_NL)
Dutch, Belgium (nl_BE)
English, US (en_US)
French, France (fr_FR)
French, Belgium (fr_BE)
French, Canada (fr_CA)
French, Switzerland (fr_CH)
German, Germany (de_DE)
German, Austria (de_AT)
German, Switzerland (de_CH)
German, Liechtenstein (de_LI)
Italian, Italy (it_IT)
Italian, Switzerland (it_CH)
Japanese (ja_JP)
Korean (ko_KR)
Polish (pl_PL)
Russian (ru_RU)
Spanish (es_ES)
languages are taken from 2.2 sdk repository:
http://developer.android.com/sdk/android-2.2.html#locs
There are two files: one for manual install via ADB and one to flash via CWM recovery. I'm recommending second option as much more safe.
*****
***** it is already reported to work ok
*****
YOU STILL NEED 'MORE LOCALE 2' to change language in system.
Korean!!!
But, how do you do that? Are you adding fonts to /system/fonts folder or replace one of the stock fonts? If it is the latter case, I found out that replacing with some fonts soft-bricked NookTouch. If you need fonts, here's the link. It contains two sets of fonts. We don't have italic nor bolditalic.
http://www.kopus.org/upload_file/font/KOPUB_TTF_FONTS.zip
Anyway thanks for doing this!
herofmm said:
Korean!!!
But, how do you do that? Are you adding fonts to /system/fonts folder or replace one of the stock fonts? If it is the latter case, I found out that replacing with some fonts soft-bricked NookTouch. If you need fonts, here's the link. It contains two sets of fonts. We don't have italic nor bolditalic.
http://www.kopus.org/upload_file/font/KOPUB_TTF_FONTS.zip
Anyway thanks for doing this!
Click to expand...
Click to collapse
You probably just copied fonts without setting proper file permissions. Then You have boot loop because android cannot load fonts. You have to set proper file permissions before reboot.
You need to replace HelveticaNeue as those are fonts used in Nook (DroidSans in every other android device).
I can add Korean language to framework-res (main android file), but You have to workout font problem by yourself. Probably it will be better to use some font which has every UTF chars including Korean.
Hi
can you please add italian language?
that would be awesome!
than33 said:
You probably just copied fonts without setting proper file permissions. Then You have boot loop because android cannot load fonts. You have to set proper file permissions before reboot.
You need to replace HelveticaNeue as those are fonts used in Nook (DroidSans in every other android device).
I can add Korean language to framework-res (main android file), but You have to workout font problem by yourself. Probably it will be better to use some font which has every UTF chars including Korean.
Click to expand...
Click to collapse
I set the permission properly as I've used linux for a while. I switched fonts using noogie.img and linux. But some combinations simply work and some does not. For example, I have korean font A (similar to sans), I switch A with Trebuchet_regular, it work. but if I switch it with Amasis_regular, it does not. I don't know whether there are some compatibility issues regarding fonts.
Also, I can see korean fonts in the library(title, author's name) but not in the reader. Does it mean library uses different fonts? (since HelveticaNeue definately does not support korean).
I'm just trying to find out general rule for switching fonts. Since, you know, people have a lot of different preference, so people want to use different fonts. Again, thanks a lot.
I would just like it if we could figure out how to add a font to the list of available fonts in the drop-down box under the font options in the Text dialog. Then instead of replacing fonts, we could just add any of the fonts people are looking for. It must be possible, just not sure quite how to do it. Has anyone used "Font Changer (Root)" from the marketplace on the NST?
Carrick1973 said:
I would just like it if we could figure out how to add a font to the list of available fonts in the drop-down box under the font options in the Text dialog. Then instead of replacing fonts, we could just add any of the fonts people are looking for. It must be possible, just not sure quite how to do it. Has anyone used "Font Changer (Root)" from the marketplace on the NST?
Click to expand...
Click to collapse
I used Font Changer (Root). It is quite working well in terms of replacing fonts. However, there's still a bug that if you choose to see preview before replacing fonts, it replaces wrong fonts. Still, replacing fonts is quite dangerous since it will put NookTouch in boot-loop.
One of the ways which is quite working well so far is replacing only regular font and deleting bold, italic, bolditalic. I am successfully reading Korean text through the stock reader.
Could you add russian as well, please?
MULTILANGUAGE BETA added.
Hi than33,
can you tell us where to push the framework-res.apk file with adb ?
Is it in /system/app or in /system/framework/ ?
tebra said:
Hi than33,
can you tell us where to push the framework-res.apk file with adb ?
Is it in /system/app or in /system/framework/ ?
Click to expand...
Click to collapse
/system/framework
I don't think it is safe to push it on system already running. Probably it will crash system immediatelly without any chance to change file permissions.'
I think You have to do this by CWM recovery. I've uploaded file to be flashed via CWM recovery. On the second hand if You have CWMR it is easy to flash original framework in case of something goes wrong.
UPDATE: uploaded MULTILANGUAGE file to flash via CWM RECOVERY
Spanish pleaseee
I flash it via CWM RECOVERY and it works good.
Many apps in french now.
Thank you
Thai Please
TowaTou said:
Spanish pleaseee
Click to expand...
Click to collapse
It was already added. My llist of available languages wasn't complete.
I cannot add more languages as those are all which are available in android sdk.
Please check once again if your language is on list. (updated 2012-01-03)
than33 said:
It was already added. My llist of available languages wasn't complete.
I cannot add more languages as those are all which are available in android sdk.
Please check once again if your language is on list. (updated 2012-01-03)
Click to expand...
Click to collapse
Tnx a lot for your work!
tebra said:
I flash it via CWM RECOVERY and it works good.
Click to expand...
Click to collapse
I did the same and Nook felt to bootloop. Will try ADB tomorrow after factory reset.
P.S. Sorry, it seems it's not your fault. The bootloop continues even after factory reset. Probably something went wrong with CWR...
P.P.S. Alas, the problem persists. Factory reset with 2 buttons doesn't help against the bootloop, but 8 interrupted reboots does. After the restore I tried to apply your framework, and got the same bootloop. I have a 1.0.1 version, is it critical?
KOCTA said:
P.P.S. Alas, the problem persists. Factory reset with 2 buttons doesn't help against the bootloop, but 8 interrupted reboots does. After the restore I tried to apply your framework, and got the same bootloop. I have a 1.0.1 version, is it critical?
Click to expand...
Click to collapse
It works for me but I have 1.1.0 version. Maybe it matter
I confirm, it works only with 1.1.0, previous versions won't boot up with this framework.
Actually I can't see any difference before and after update. Even power off message and buttons remain in English. Could somebody post any examples of the translation? Or how to check if the update was succsessful or not?
I'm terribly sorry that I didn't mention that this is for firmware 1.1. My mistake!
I've changed first post to be more clear.

Adding font on your custom firmware

By default we have 2 fonts: Choco cookie.ttf and Samsung font.ttf
On attached files, 2 more font (available on samsunapps): Cool jazz.ttf and Rosemary.ttf
For adding them to custom, just unzip the files and add them to AppEx\SysDefault\Font\Download
You can also try with Android font or windows font
It worked for me with these fonts but not with the rest.
What I've been doing since these fonts are in SamsungApps is download at least one of them, let's say Rosemary.
Then, I go to STune-->OSP-->Applications--> (Rosemary folder)-->Res-->Font, and place there every font I want.
That's how every font has worked for me... at least the ones from Windows.
P.S: I had some problems with fonts in capital letters. So it would be advisable to rewrite fonts in lower case. I.e: asdf.ttf
Best Regards
You can use bada 1.2 fonts too
They are in rc1 files
Best Regards
I have forgotten where I read this...
Someone wrote about some miisng Chars if using Windows Font or something similar...
Maybe we should take an look to Android.
I mean Samsung Android.
Maybe they use same FONT for full support...
Maybe one way for Android Fonts...
http://forum.xda-developers.com/showpost.php?p=23518475&postcount=10
Best Regards
Applemint
I've got one more for you guys. This one is called "Applemint" and it has been extracted from Asian FW, and it works and looks great. It contains most European characters, and being a official Bada font it shouldn't cause any issues. Well, try it for your self.

Font problem in x8/w8

i install GingerDX on my x8/w8. its work nice but now Assamese & Bengali fonts are not shown, in 2.1 its worked. can anyone give me the original fonts of w8...

[Q] Emoji's and fonts

So i switched my font via display settings and noticed my emoji's no longer work they are just represented by a square block.
Does anyone have any font apks that include emoji's?
Apparently there is just a simple ttf font file inside the apk. I should theoretically be able to edit this ttf file to add the emoji support. I have never edited font files before so wish me luck xD

Categories

Resources