Why some fonts don't render on some android stock browsers? - android

Why do some fonts render on some stock android browsers and not other stock android browsers? For example, I bought the Have a Nice Day font from myfonts.com and unzipped the package here:
http://jl.evermight.com/myfont/StartHere.html
The font appears fine on my friend's S3, but it appears as Arial on my Galaxy Note (version 1). I upgraded my Galaxy Note OS to 4.0.4. So it's not that old.
What can I do to my css, or webserver, or html code etc... to force the font to render properly on all modern android stock browers?

The problem has been fixed. Apparently there was a bug on myfonts.com that corrupted my font files. I contacted myfonts.com and they corrected the issue right away. Then re-sent me the font files. Now everything works perfectly.
The guys at myfonts.com are amazing. Very good customer + tech support services.

Related

Custom font garbled rendering on Samsung Android 4.4.2

We're using a custom ttf font (Calibri) for an app and it renders really badly on Samsung 4.4.2, in some cases no text is rendered at all. On other tested devices and Samsung with other versions (4.4.4, 4.1.2), there are no issues at all. For two Samsung devices (the only two we have with 4.4.2) it looks like this:
We are using the MagicViews library (https://github.com/ikocijan/MagicViews) to deal with custom fonts, so far we didn't have any problems with it.
EDIT:
This also happens when loading the font manually, without the library.
To answer my own question.. we solved this by using an .otf version of the font instead of .ttf. My guess is Calibri uses some feature of the ttf format which doesn't work well in this case.

Google Web Fonts is not working on Android 4.2.2 with Khmer language

I'm trying to show Khmer language in Android. In Android version 4.1.2 and 4.4+, the Khmer language is working fine. But in Android version 4.2.2 any Khmer language is not displayed even a character. I got a blank space text.
This is the example of Khmer language that's using Google web fonts : http://www.google.com/fonts/specimen/Battambang#charset
. You can open it any browser that support #font-face it will display the Khmer text except Android 4.2.2.
Every Khmer websites I opened it with Android 4.2.2, I see only a blank space too like http://news.sabay.com.kh, http://kohsantepheapdaily.com.kh, ...
Please somebody know how to solve this problem. I tested with emulator and real device like Sony and Samsung that's using Android 4.2.2.
Update: in google web fonts, the problem is only Khmer language is not displaying. the other fonts are working. try here : https://www.google.com/fonts in Android 4.2.2
On our custom font we have text-rendering: optimizeLegibility enabled. It was causing the font to not display in android 4.2.2. We use the font for custom symbols.
I have been debugging this sort of problem for the past week. I do not know if this will solve your issue, but it seems to be the same problem.

Missing Asian Characters on Android 5.0 Devices

I'm using Unity4.5.4 and NGUI 3.6, and want to support multi-languages.
When I try on devices using Android 4, it is totally fine. When I install the same build on Google Nexus 7 using Android 5.0, English version is fine, but almost all the Asian characters cannot be displayed(Chinese Korean Japanese). I tried different fonts(using Arial or load my own font from Resource folder), it didn't work either.
Does anybody encounter similar problem, or know how to deal with this problem? Thanks a lot!
It has to do with the image that you have flashed into your Android device.
Although the APIs for Android 5.0 are now final, the system image for
end-users is not available yet.
Assume everything is done correctly, once the end-user-system images are released your problem should be corrected.
Reference.
This is a bug in Unity. You may want to submit a bug report and wait for a patch release to fix it (though you used a preview image, it is also likely to happen on retail Android 5.0).
Edit: I tried on a Nexus Player, and the fonts were rendering just fine. Looks like Google forgot to add some fonts to the preview image. If you are experiencing this issue with a retail version of Android 5.0, please submit a bug for Unity.

Phonegap app, font issue with 4.x androids

I'm developing an app in phonegap and I'm now searching for days to solve this problem. I checked every other topic related to custom font faces but no one has already faced my problem.
The matters is that I want to show farsi fonts in my app. it works well in PC , android browser and phonegap apps in android 2.x and 4.4 (kitkat) but all I have in android 4.1 and 4.2 is default farsi fonts.
here is my code but I tried every other possible variations even using Base64 encoded fonts into my css.
#font-face {
font-family: 'B Yekan';
src:url('../fonts/byekan.eot?#') format('eot'),
url('../fonts/byekan.woff') format('woff'),
url('../fonts/byekan.ttf') format('truetype');
}
h2,h1,h3 {
direction:rtl;
font-family:B Yekan,'B Yekan'!importan;
}
I tried to move the fonts into asset folder or even put fonts near my css and index.html, no chance. I think it's a bug with android 4.x webview (except kitkat) but I have no idea what I can do for this. every kind of help is appreciated.
I experienced the same. The strangest of all is that if the font is applied to general tags like body or label it works! Just not when using the H or P tags.
So it can't be a render or location issue, but I haven't found a solution yet either.
UPDATE:
It seems like Android 4.2 has an issue with text-rendering set to optimizeLegibility. Which in my case foundation does in the background. Setting it to auto solved it here.
Found it here:
font-face on android 4.0.x doesn't work

Burmese Fonts (#font-face) not displaying correction on Android Phone Galaxy S3 with firmware (4.1.2)

I tested my blog in Burmese using #font-face. It works well on, Chrome, Firefox, IE and Safari. I tested with Window, Mac, iPhone and Galaxy S3 (Jelly Bean 4.1.2).
I found out that every devices display font very well except the Android device. Obviously, the android phone downloads the web font. It displays the font though. It just doesn’t show right.
I use ‘Tharlon’ font from Google font API early access.
My blog ID is http://www.constructionforum-myanmar.com/
I’m not a geek. I’m just a professional from Construction industry who wants to shear my experience and knowledge. I read here and there about coding and wrote this blog and I want it to be able to read on all devices. Burmese font is not displaying on all device though.
Could you please help me? What should I do to solve this font problem on Android.
After all I found out that it works well on other Andriod phones such as HTC One and earlier version for firmware for Galaxy S.
The problem is firmware version (4.1.2) for Galaxy S doesn't render Burmese (Myanmar) font properly.

Categories

Resources