Languages

Menu
Sites
Language
Custom fonts for cairo

Hello,

I need to use my TrueType font in cairo. But in Tizen (Wearable 2.3.1) does not have the functions сairo_ft_*. Only cairo_scaled_font_* and cairo_user_font_*. But I could not find information on how to work with TTF through them.

Responses

2 Replies
K Johnson

I coudn't find any documentation regarding this. I'm sharing here another way of using custom fonts in Tizen native. You may go through the link below:

https://developer.tizen.org/forums/native-application-development/use-custom-font-native-gear-app?langswitch=en

 

Oleg Belousov

Thank's, I already read it. I tried the method via FontConfig and it just did not work (which I wrote about in that topic)

Method via evas_object_text_font_set() work well, but I need it through cairo