[Fontconfig] Support font family name for each language

Deokjin Kim deokjin81.kim at samsung.com
Tue May 29 19:59:36 PDT 2012


As I know, 1 font file can have multiple font family name.
For example, "Malgun Gothic" has two font family name.
[Malgun Gothic,맑은 고딕:style=Regular]
"Malgun Gothic" is for english and "맑은 고딕" is for korean.
I can know this information through fontforge program.(Element - Font Info - TTF Names)

Can I get font family name using current language?
If current language is english, I want to get "Malgun Gothic".
And if current language is korean, I want to get "맑은 고딕".
"fc-list" shows all font family name, but I want to get only font family name which is for current language.

Best Regards,
Deokjin Kim

More information about the Fontconfig mailing list