x


font texture size problems on iPhone2G,iPhone3G,iTouch1,2

These devices use MBX as their graphic processor and their max texture size is 1024*1024. When I import a chinese font into the unity,it will create a 2048x2048 texture.(As we all know,chinese has too many chars...)So these chinese fonts can't be displayed on these devices.

My game is an online game and it uses the font to display user's name,so the range of charsets can't be known in advance.Any solution to this problem?? BTW,does Unity3D support separating the font texture into small ones?It may increase drawcall,but at least it can display these fonts...

Thx.

more ▼

asked Dec 14 '10 at 04:03 AM

cloud_zero gravatar image

cloud_zero
3 3 3 7

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Unity 3 has dynamic font rendering which solves the issue, but unfortunately this isn't supported on iOS. More recent iOS devices support 2048x2048 textures, although this is still very limited when it comes to Chinese fonts. You can try editing the font to remove as many unused characters as possible.

more ▼

answered Dec 14 '10 at 04:21 AM

Eric5h5 gravatar image

Eric5h5
80.2k 41 132 519

thx for the post,our game should support iPhone3G and iTouch2(at least,iOS4.x still support these devices) why iOS does not support dynamic font?

Dec 14 '10 at 06:21 AM cloud_zero
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2196
x286
x7

asked: Dec 14 '10 at 04:03 AM

Seen: 2074 times

Last Updated: Dec 14 '10 at 04:18 AM