How do I get the current system font name?

I am using "cool jazz" font on my android device and want to get this name in my application, is there any way to get the font name?

+3


source to share


2 answers


There is no way to get the font name.

The TypeFace class has no way of communicating its name (even if it doesn't override toString()

it to provide more information).



When you use your own font, you just provide the font file or the name of the font family, he himself TypeFace

doesn't know his name. Perhaps the caller, as you know.

+1


source


0


source







All Articles