1
Development / [iOS] problem with ttf fonts
« on: June 06, 2011, 10:34:59 AM »
Hi! I have a problem with using ttf-font under iOS/macOS.
How do this? I create comic.font file with this content:
if launch wmelite on windows - everything ok! Window object loading and text on screen.
if launch on iOS (macOs too) - Game.LoadWindow return null.
Any ideas where is the my wrong?
P.S. I try use bitmap font - everything work's good!
Quote
However, on iOS the engine is not able to access the system font directory, for that reason you MUST include .ttf files with the iOS version of your game.
How do this? I create comic.font file with this content:
Code: [Select]
TTFONT
{
SIZE = 12
FILENAME = "fonts\comic.ttf"
COLOR { 100, 0, 0 }
ALPHA = 255
}
if launch wmelite on windows - everything ok! Window object loading and text on screen.
if launch on iOS (macOs too) - Game.LoadWindow return null.
Any ideas where is the my wrong?
P.S. I try use bitmap font - everything work's good!