Welcome,
Guest
. Please
login
or
register
.
February 11, 2025, 05:06:10 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Dynamic font doesn't show properly on iphone
« previous
next »
Print
Pages: [
1
]
Author
Topic: Dynamic font doesn't show properly on iphone (Read 3543 times)
jjobby
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 13
Dynamic font doesn't show properly on iphone
«
on:
June 05, 2013, 01:09:41 PM »
Hi, I used Arial font in Thai language. It works properly in Editor but it shows ? in iphone. There is no problem with English language.
Any idea what's the problem?
Logged
motionsmith
Guest
Re: Dynamic font doesn't show properly on iphone
«
Reply #1 on:
June 05, 2013, 02:09:22 PM »
Is this an NGUI-related bug? NGUI uses glyphs to map characters to bitmap regions.
Logged
jjobby
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 13
Re: Dynamic font doesn't show properly on iphone
«
Reply #2 on:
June 06, 2013, 10:51:29 AM »
Do I need to set character in font import setting to Unicode? Is there a way to check if the atlas can generate the character correctly? I don't have the testing device right now so I can't test it myself.
Logged
jjobby
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 13
Re: Dynamic font doesn't show properly on iphone
«
Reply #3 on:
June 06, 2013, 11:44:54 AM »
OK. It works when I change font to Tahoma. But what's the problem with the font? It's just a standard Arial font from OS and it works fine in editor. It would be nice to know how to check if the font is really compatible with NGUI or not.
Logged
Nicki
Global Moderator
Hero Member
Thank You
-Given: 33
-Receive: 141
Posts: 1,768
Re: Dynamic font doesn't show properly on iphone
«
Reply #4 on:
June 06, 2013, 12:04:06 PM »
My guess would be that Arial doesn't have the characters in it. I'm not sure why it works in the editor then though. Maybe the editor uses different encoding than when you feed the data to the .text property, but that would be strange.
Logged
jjobby
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 13
Re: Dynamic font doesn't show properly on iphone
«
Reply #5 on:
June 06, 2013, 02:24:13 PM »
I think that I figure out what's the problem. I used font viewer program and found that Arial font didn't support Thai Language. Don't know why it can show Thai language in the editor and other platform like Windows or Mac. -*-
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Dynamic font doesn't show properly on iphone