Languages

Menu
Sites
Language
How to get System font directory?

I want to use system fonts directly in my app, so I need to know where system fonts are.

As I know, in case of Android, its directory is "/system/fonts", how about Tizen???

How can I get the system font directoy? Is there any API for this?

 

Thanks.

Edited by: Chris Jin on 25 Nov, 2013

Responses

3 Replies
Alex Ashirov

Hi,

I am not sure that this is exactly you are looking for, but please check the following topic:

https://developer.tizen.org/forums/native-application-development/tizen-system-font-ttf-file-import-graphics-program

Chris Jin

Thanks Alex, but I need to know where is the systme fonts in Tizen. :-)

 

It looks like that the system fonts are in "/usr/share/fonts/".

Now, I wonder whether it can be safe to use the absolute directory in my app for reading system fonts.

If the system font directory will be changed in next time then I should not use the absolute directory name...

Chris Jin

It seems that the system fonts are in "/usr/share/fonts/" folder.

Is it also safe to use absolute directory name like above?

If the system font directory is changed later then my app can't display text. So, I need to check it is safe or not...

 

Thanks.