Scaling Fonts

Devin Asay devin_asay at byu.edu
Wed Mar 13 18:51:29 EDT 2013


Mike,

The easiest way I know is to create a simple iOS app with a field. In the openCard script just 'put the fontnames into fld 1'. Then run the app in the simulator. If I understand correctly the simulator contains the same default fonts as the devices themselves; it doesn't just report what is on the desktop system. I'm sure someone will correct me if this isn't right. ;-)

Devin


On Mar 13, 2013, at 4:37 PM, Michael Doub wrote:

> Scott, 
> 
> It sounds like you are implying that none of the existing livecode fonts are TrueType.   I thought that Helvetica was a trueType font, but in my testing it does not seem to scale.
> 
> Humm re-re-reading your message.... so I need to find out the name of the base fonts in IOS and use one of them?   
> 
> I have no fonts of my own and have no idea where to get them or understand any of the licensing issues. So I am looking to use an existing font if possible.
> 
> -= Mike
> 
> 
> On Mar 13, 2013, at 6:24 PM, Scott Rossi <scott at tactilemedia.com> wrote:
> 
>> BTW, one thing you'll need to figure out is how iOS "sees" the name of
>> your font.  What I do is create a dummy development app for iOS, include
>> the font in the build, install it, and then use the fontNames function in
>> the dummy app to get a list of fonts and determine the name of the font as
>> it appears on IOS.  Not sure if there's a better/faster way to do this,
>> but the name that iOS will come up with is never intuitive.
>> 
>> AFAIK, there is no way to include a custom font other than including it as
>> a non-stack file to be included in the build of a standalone.  If somebody
>> knows otherwise, I'd love to know how to do this.
>> 
>> Regards,
>> 
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX Design
>> 
>> 
>> 
>> 
>> On 3/13/13 3:17 PM, "Scott Rossi" <scott at tactilemedia.com> wrote:
>> 
>>> I'm pretty sure you need to convert to TTF format (unless something has
>>> changed in iOS6).
>>> I use this site for online conversion: http://www.freefontconverter.com/
>>> 
>>> Regards,
>>> 
>>> Scott Rossi
>>> Creative Director
>>> Tactile Media, UX Design
>>> 
>>> 
>>> 
>>> 
>>> On 3/13/13 3:04 PM, "Michael Doub" <mikedoub at gmail.com> wrote:
>>> 
>>>> Are there trueType fonts supported on IOS?
>>>> 
>>>> -= Mike
>>>> 
>>>> 
>>>> 
>>>> On Mar 13, 2013, at 4:14 PM, Peter Bogdanoff <bogdanoff at me.com> wrote:
>>>> 
>>>>> LiveCode scales fonts pretty well--
>>>>>   set the textSize of field "theField" to 12 -- or whatever
>>>>> 
>>>>> TrueType fonts can scale any size and still look good.
>>>>> 
>>>>> Peter Bogdanoff
>>>>> UCLA
>>>>> 
>>>>> On Mar 13, 2013, at 12:39 PM, Michael Doub <mikedoub at gmail.com> 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
>>>>> 
>>>>> _______________________________________________
>>>>> use-livecode mailing list
>>>>> use-livecode at lists.runrev.com
>>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>>> subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>>> _______________________________________________
>>>>> use-livecode mailing list
>>>>> use-livecode at lists.runrev.com
>>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>>> subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>> 
>>>> 
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

Devin Asay
Office of Digital Humanities
Brigham Young University





More information about the use-livecode mailing list