x


Multiple sizes of same font (for mobile)

Did some searching, have not found adequate answer, but this must be something obvious I'm missing: I need to have several different font sizes, because 'mobile' does not support dynamic font sizing, right? So, if I understand correctly, my option is to have several fixed-sized fonts, and choose the best one for the size device I'm running on. The question is, how do I get different sized fonts? That is, for example, I import Arial.ttf. It gives me the option for font size. Now I can use that font in my GUI. But I ALSO need several OTHER sizes of Arial. Do I need to use different copies of Arial.ttf or something? Again, it must be something obvious I'm missing.

more ▼

asked Jun 20 '11 at 09:41 PM

DaveA gravatar image

DaveA
26.5k 151 171 256

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

1 answer: sort oldest

Yes, you need to duplicate the font and import the duplicates at different sizes. Either that, or use one copy and import at the highest resolution, and then scale the text down for lower res screens. Obviously you wouldn't have pixel-perfect fonts in that case, but in my experience it looks fine. (Scaling up, of course, is not recommended.)

more ▼

answered Jun 20 '11 at 10:04 PM

Eric5h5 gravatar image

Eric5h5
80.2k 41 132 519

Jun 20 '11 at 10:05 PM DaveA
(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:

x3681
x412
x286
x240

asked: Jun 20 '11 at 09:41 PM

Seen: 1874 times

Last Updated: Jun 20 '11 at 10:05 PM