Re: Support font family name for each language
- To: deokjin81.kim@xxxxxxxxxxx
- Subject: Re: Support font family name for each language
- From: Akira TAGOH <akira@xxxxxxxxx>
- Date: Wed, 30 May 2012 12:44:38 +0900
- Cc: fontconfig@xxxxxxxxxxxxxxxxxxxxx
- Delivered-to: fontconfig@xxxxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tagoh.org; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=DvFZ52UEWvb7DyPor5zHm5sSbM3qb1pASkWSdAXnZm8=; b=faKc8phrZREoC40hxAWxVqNhE0hmjQ50pB1rr5/dOrX5AXxzMMGhXCIHDVLQs4FCHg 1GXVVz2EqmqRoSaM3JWzpqWMsqNrDCTDjNdg9YYOLluNTDmqIDHTueT4jXCbMT+iPOnZ S1V6ZnclHVO5abhoSaq/2PK0j5CTAk0fMhlNY=
- In-reply-to: <27916306.202231338346776644.JavaMail.weblogic@epv6ml03>
- References: <27916306.202231338346776644.JavaMail.weblogic@epv6ml03>
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]