[Q] How to add new language fonts to the web browser - Android Software Development

Hi,
Android (e.g. the browser, gmail app) in it's current form does not support viewing of Indic (Devnagari) fonts.
Wherever such fonts appear, they are replaced with small square blocks.
I notice that people have managed to add Arabic support to custom ROMs and if I could do a similar thing for Indic/Devnagari support, that would be fantastic.
Hence, is there a way to add support for viewing Indic fonts to my rooted android phone?
As a note: I neither intend to replace fonts in the Android UI system nor add Indic/Devnagari input keyboards.
Your help is greatly appreciated!

dextroz said:
Hi,
Android (e.g. the browser, gmail app) in it's current form does not support viewing of Indic (Devnagari) fonts.
Wherever such fonts appear, they are replaced with small square blocks.
I notice that people have managed to add Arabic support to custom ROMs and if I could do a similar thing for Indic/Devnagari support, that would be fantastic.
Hence, is there a way to add support for viewing Indic fonts to my rooted android phone?
As a note: I neither intend to replace fonts in the Android UI system nor add Indic/Devnagari input keyboards.
Your help is greatly appreciated!
Click to expand...
Click to collapse
Unfortunately first you gonna have to replace the system font (at least fallback) with a hindi (devanagiri font). This will show you Hindi in screen but it'll not be rendered properly..
to make render work properly, you need to dive inside the rendering engine used by Android. Halfbuzz is the rendering engine used by the Android. You need to figure out how to make it render Hindi. You are on your own now.
Btw check out latest firmware update on Samsung Galaxy series. They support Indic.

Related

Font files available on XDA II devices

In order to improve graphics performance for applications running on my XDA II device, I've written my own low-level rendering functions to use in place of the GDI calls. I'd like to use the default system fonts to render strings, and this works fine for rendering English characters. When I attempt to load Chinese dbcs characters, however, they seem to be missing from the cour.ttf, tahoma.ttf and tahomabd.ttf files.
I assume that there must be another font file used by the system to render Chinese characters, but I don't see any other ttf files in the /windows/ directory.
Anyone know how the platform is loading/rendering these characters? The normal GDI calls don't seem to have any trouble loading the necessary glyphs, so I'm hoping that they're available somehow.
Can you share how you did that? I'm looking for a way to render my font but i could not figure it out?
If you have some source code that you can share, could you email it to me at [email protected]
THanks
I think that you need to have the oriental version of the fonts because the caracters you're lookin are encoded in. May be you can have with the chinese version of wm2003se for xda2.
I did indeed need the oriental fonts. My problem is that I was looking for *.ttf files and the oriental fonts seem to be encoded as *.ac3 files on wm2003. So, the characters needed were available in fonts like msming.ac3, msgothic.ac3, etc (depending on the device).
bm_masri - I can't share my source, but if you want to render your own fonts, I'd suggest using Agfa's iType library if you want a commercial product or the TrueType library if you want an open source library. Both libraries will decode font files and give you bitmaps for the glyphs in the file.

Hebrew translations of software

Dear developer people,
I would be happy to translate strings of any software into Hebrew so as to make the software friendlier for Israeli people
I have a Universal with WM6 ROMS (which I change when something nice comes out).
Contact me, I'm happy to assist!
--Summoner
I think there would be a problem with text direction for many programs (many programs are made only considering left-to-right text)... it probably would not be a problem for something where there is fixed text but anything with input to display would have trouble without right-to-left support...
Hey WandrerX,
Firstly, there is RTL support via 3 solutions for the OS which can be purchased.
Addiotionally - just by installing a hebrew font it is possible to show hebrew on the screen (I use cour.ttf in my windows directory).
I am offering to translate and debug all the strings so applications can have a hebrew interface, thus making them more popular in Israel.
No-body interested?
--summoner

[HELP]Japanese support in Traditional Chinese ROM

I checked the methods in the forum, and almost are for English ROM. When I applied that, the Chinese display couldn't work well. So anybody has any idea on Japanese dislay and input for Traditional Chinese ROM?
Please HELP~~, Thanks.
try to install CE-STAR, I think the built-in font has the japanese support
Thank you, I tried, and it worked. But the font was really terrible. I tried other several fonts like MS Yahei, however, no one is as good as the default one. Do you have any recommandation?
You can install your own font, such as MSGothic (XP) or Meiryo (Vista). Just put it in your \Windows folder, then edit the following registry (eg: for Meiryo):
[HKLM\Software\Microsoft\FontLink\SystemLink]
Tahoma = "\Windows\meiryo.ttf,Meiryo"
Courier New = "\Windows\meiryo.ttf,Meiryo"
Notes: There is a compressed version of MSGothic (msgothic.ac3 instead of .ttf) in case you need to save extra space. Also, MSGothic and Meiryo are Japanese fonts and probably do not contain all the Chinese glyphs (at least for Traditional Chinese). So if you're switching to Japanese fontlink you may have some problems with Chinese display.
You can find out about more CJK fonts here:
http://en.wikipedia.org/wiki/East_Asian_gothic_typeface
Thanks for the information. I still have a question: doesn't it mean when I install this meiryo font, Chinese character may not be displayed correctly? I got a little confused about CJK. People here always talk about GBK, which seems include Schinese, Tchinese, Korean and Japanese. Is CJK the same, including both Schinese and Tchinese?
Thank you so much for you help. Best regards!
No, you can link multiple fonts to the same keys, that way you will be able to add Japanese display support while preserving Chinese character display. You will need to change the keys to Multi-Line String types, then enter one font link per line, like so:
[HKLM\Software\Microsoft\FontLink\SystemLink]
Tahoma =
\Windows\meiryo.ttf,Meiryo
\Windows\msyh.ttf,MS Yahei
GBK refers to a specific set of chinese characters that are most commonly used across east asia (China et al, Japan, Korea). In practical terms, it means you can find fonts that have the full GBK character set within one font file.
CJK is just a general term for Chinese-Japanese-Korean language sets. There is no single "set" of characters -- you can pick and choose which fonts you'd like to use, and this often means one font for each language. The reason to use multiple fonts is because, for example, Japanese kanji often have modifications of their originating (traditional) chinese character (eg: 樂→楽), and a dedicated Japanese font may render it more clearly than a single GBK font. The same goes for language-specific characters, such as Japanese hiragana/katakana and Korean hangul. You can additionally choose which Chinese support you want (traditional or simplified).
Thank you so much!! I finally did it! This really helps a lot, I appreciate that.

[Q] adding fonts to wp7

Hello guys, there are a lot of questions about wp7 additional fonts support. Btw, a lot of people can't browse their own language websites to read anything on their language. The main issue is that instead of fonts, in the browser appears just empty boxes. We face such problems especially in utf-8 scenario. For instance my language Georgian font could not be shown by the system and os doesn't supports yet. What do you think about solution, have u any ideas how to add Georgian fonts to os and it worked, I mean that it was shown, when I am browsing on Georgian (utf-8) websites.

Incomplete Unicode Fonts

So, I bought my Nexus 7 because it was conveniently launched around the time I was looking for a good portable computing device for some college classes. For the most part, it has been working great. But, one of my classes is Ancient Greek, and the Nexus 7 does not come supporting the unicode characters necessary to read the web-based textbook in Chrome (it has the core Greek alphabet, but not the accented characters).
One other app that I was using was AnkiDroid. I discovered I could load custom fonts in AnkiDroid, but they are only used when displaying flash cards (in other words the app's normal UI screens still rely on system fonts). So, I was still stuck not being able to see the characters I need even in an app that had some customization of fonts.
So, I started toying around with the fonts in /system/fonts. It turns out this is a bad idea. Renaming the original fonts and symlinking them all to a unicode font resulted in my device not being able to get past the boot-up logo. Fortunately I was able to use CWM Recovery to fix things back up (in case anyone else gets stuck in this mess, use the CWM touch options to mount /system and then use "adb shell" to go in and manually put everything back. If you deleted any original fonts you may have difficulty fixing it without a wipe/reflash)
Does anyone have a good way to get Unicode font support on a Nexus 7?
BUMP. Has anybody got any clue why this device cannot show some of the more arcane characters in a Unicode typeface? My Nexus 7 is missing certain characters with diacritics (in Pali), rendering it useless for study support. Macs and PCs that I have worked on have no problems doing this.
AW: Incomplete Unicode Fonts
I searched for 'Pali font' in Google Play and found this: https://play.google.com/store/apps/details?id=com.anysoftkeyboard.languagepack.pali. The description has a link that shows how to install suitable fonts.
An advance...
elmicha said:
I searched for 'Pali font' in Google Play and found this: https://play.google.com/store/apps/details?id=com.anysoftkeyboard.languagepack.pali. The description has a link that shows how to install suitable fonts.
Click to expand...
Click to collapse
Elmicha, thank you.
I had downloaded the Pali ASK but no keyboard was visible - I only today discover that it was only the font set that I had downloaded(!) and so quickly got the keyboard!
I notice that, while you have kindly pointed me to a link, you don't indicate that you actually use this. Do you? If so could you - or anybody! - confirm whether you do or don't still miss certain diacritics, esp. the dotted n' - I only get a '~n' on a long press. I have installed a suitable font ('fallback') using the Font Installer app. (I hope) and restarted thereafter which gave me the ~n.
Sorry, no, I don't know any Indian languages (apart from English). But maybe somebody else can test it.

Categories

Resources