Scaling Fonts

Richmond richmondmathewson at gmail.com
Wed Mar 13 16:02:22 EDT 2013


On 03/13/2013 09:39 PM, Michael Doub wrote:
> I would like to create a mobile application where the user can increase and decrease the text in a field.  The field contains text on different font sizes for Title, Heading and basic text.
>
> I am unsure how to work with fonts.   Do I need to find a font that has a wide range of sizes or are there scalable fonts?  How do fonts react on different screen resolutions?   This makes me wonder about how the text in buttons should be handled.  (So far I have only used icons)
>
> I would appreciate if someone could point me in the right direction.
>
> Thanks
>     Mike
>   
> _______________________________________________
>

I know absolutely nothing about Mobile Operating Systems (good start, that),

but, coming from desktop PCs my first question would be:

1. Truetype fonts?

And if the answer were 'YES' I would feel very comfortable indeed.

In a stack for a desktop OS all one needs is a slide-control and 
something like this:

on mouseUp
    put the thumbPosition of me into PINKY
    set the textSize of fld "myText" to PINKY
end mouseUp

Richmond.






More information about the use-livecode mailing list