[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Re: Support font family name for each language



On Wed, May 30, 2012 at 11:59 AM, Deokjin Kim <deokjin81.kim@xxxxxxxxxxx> wrote:
> Hello,
>
> 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 "맑은 고딕".

Well, that feature will be supported in next release. if you want to
set explicitly, try this:

$ fc-match "Malgun Gothic":namelang=ko

> "fc-list" shows all font family name, but I want to get only font family name which is for current language.

Well, strictly speaking there are no way to pull only fonts that has
the localized family name for the certain locale because it's not
essential to find the best font out. you can try :lang=ko as the
pattern but it may not give you the comfortable result.

>
> Best Regards,
> Deokjin Kim
> _______________________________________________
> Fontconfig mailing list
> Fontconfig@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/fontconfig



-- 
Akira TAGOH
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig



[Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Legacy]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux