Release 6.7.5 RC 1 / 7.0.5 RC 1

Chris Sheffield cs_livecode at icloud.com
Thu Apr 30 16:07:36 EDT 2015


Mark,

Thank you for the explanation. Very helpful. I’m trying it out now. :)


> On Apr 30, 2015, at 12:39 PM, Mark Waddingham <mark at livecode.com> wrote:
> 
> On 2015-04-30 20:32, Chris Sheffield wrote:
> 
>> First, how do we determine the PostScript names of fonts? The Release
>> Notes say to reference Font Book, but I’m not sure that always shows
>> PostScript names. For example, in one app I have a field that uses the
>> font Helvetica Neue Condensed Bold. This is the name exactly as it
>> appears in Font Book. However, in my stack, the font name is specified
>> as “HelveticaNeue-CondensedBold”, and this works on the device. So
>> which one is the PostScript name? And which one should I specify in
>> the property inspector and the name of the font? Maybe what would make
>> this easier is if we could see a sample font map file.
> 
> You can find out the PostScript name of the font by using Font Book as mentioned...
> 
> 1) Open up Font Book
> 2) Go to menu Preview > Show Font Info
> 3) Choose the font you want to inspect and the right hand pane will list the PostScript name at the top
> 
>> Second, in the font mapping file, should the font names be enclosed in quotes?
> 
> No. The form is:
> 
> <LiveCode Name>=<PostScript Name>
> 
> e.g.
> 
> Abadi MT Condensed Extra Bold=AbadiMT-CondensedExtraBold
> 
> There is a complete fontmap file containing all fonts included in iOS 8 used by default when you build an iOS standalone. You can find this by opening up the LiveCode.app package and looking in:
>  Contents > Tools > Runtime > Device-8_3
> 
>> Third, is the font mapping case sensitive? I’m assuming so, since iOS
>> is case sensitive, but want to make sure. So in my font map file,
>> would I need to use "Helvetica Neue Condensed Bold” vs. “helvetica
>> neue condensed bold”, or would either one work fine?
> 
> The LiveCode Name is case-insensitive, the PostScript name is case-sensitive. (CoreText is case-sensitive, but LiveCode isn't).
> 
> Warmest Regards,
> 
> Mark.
> 
> -- 
> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
> 
> _______________________________________________
> 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





More information about the use-livecode mailing list