Tizen Developers

Menu
Sites
Language
Using Custom fonts

 

 

 

Edited on 18 03, 2014

Responses

2 Replies
muditha murthy
If you want to use your own custom font while drawing some text in your application then you can store the ttf file in the resource folder and construct the custom font and use Canvas->DrawText() API
Arnaud Guyon
I didn't manage to use a custom font in my project. I tried to put the .ttf in res, res/fonts, or some screen density folders, the font->Construct always returns E_FILE_NOT_FOUND. Font * font = new Font(); result r = font->Construct(L"fonts/roboto.ttf", FONT_STYLE_PLAIN, 20); can someone help ? thank you.