I need to use font family in our game and found that it doesn’t display correctly on Windows (simulator and native build).
When using Regular, Bold, Italic or Bold Italic versions of the font simultaneously, the only one version of the font is displaying (the first used).
Here the example:
[lua]
– try to replace “Aver.ttf” with “AverBold.ttf”, “AverBoldItalic.ttf” or “AverItalic.ttf”
display.newText( “Hello World!”, 150, 100, “Aver.ttf”, 36 )
display.newText( “Hello World!”, 150, 200, “AverBold.ttf”, 36 )
display.newText( “Hello World!”, 150, 300, “AverBoldItalic.ttf”, 36 )
display.newText( “Hello World!”, 150, 400, “AverItalic.ttf”, 36 )
[/lua]
Replacing “Aver.ttf” with “AverBold.ttf”, “AverBoldItalic.ttf” or “AverItalic.ttf” will change the displaying of all other text lines.
Tested on Windows 7, Windows 8.1 (with latest public build and daily build 2866, no warnings or errors in console log). Tested with several font families.
Works fine on Mac OS X.
Test example is in attachment.