Font not rendering in Livecode 8
Posted: Tue Nov 01, 2016 2:28 am
				
				Hi I'm using the following code to change the font of various fields;
When I build the app using Livecode Commercial 6.7.11 the fonts get rendered as expected.  When I use Livecode Indy 8.1.1 the fonts revert to the default font even though when I check "textFont" the answer matches the font from the list above.  I'm building for iOS9.2
I'm using standard fonts from the iOS font list. Can anyone shed some light? Is there a difference between Livecode 8.1.1 and 6.7.11 in the way fonts are rendered?
TIA AA.
			Code: Select all
   if the environment ="mobile" then
      put "HelveticaNeue" into gDefaultFont
      put "HelveticaNeue-Medium" into gDefaultFontBold
      put "HelveticaNeue-Light" into gDefaultFontHelp
      put "HelveticaNeue-Thin" into gDefaultFontMainTitle
      put "HelveticaNeue-Italic" into gDefaultFontDiagnosticsItalic
      put "AvenirNextCondensed-Medium" into gDefaultFontButton
      put "AvenirNextCondensed-UltraLight" into gDefaultFontCalendarLabel
   else
      put "Helvetica Neue" into gDefaultFont
      put "Helvetica Neue Medium" into gDefaultFontBold
      put "Helvetica Neue Light" into gDefaultFontHelp
      put "Helvetica Neue Thin" into gDefaultFontMainTitle
      put "Helvetica Neue Italic" into gDefaultFontDiagnosticsItalic
      put "Avenir Next Condensed Medium" into gDefaultFontButton
      put "Avenir Next Condensed Ultra Light" into gDefaultFontCalendarLabel
   end if
   set the textFont of field "XYZ" to gDefaultFontCalendarLabel
I'm using standard fonts from the iOS font list. Can anyone shed some light? Is there a difference between Livecode 8.1.1 and 6.7.11 in the way fonts are rendered?
TIA AA.