Font priority and locale settings

Eric Sagnes <[email protected]>
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <[email protected]>
Sorry, the way I asked the question was misleading, fc-match was just a way to diagnose the problem.

The issue I am facing is that, even if Deja-vu is set to a higher priority than IPA font,
when the computer locale is set to ja_JP.UTF8, alphabet letters would be rendered with IPA font instead of Deja-vu.

What I am trying to achieve is to, with a locale set to ja_JP.UTF8, have alphabet rendered with Deja-vu and Japanese characters rendered with IPA font according to the set <prefer>ed order.

settings reminder:

```
<alias>
  <family>serif</family>
  <prefer>
    <family>DejaVu Serif</family>
    <family>IPAPMincho</family>
    <family>Baekmuk Batang</family>
  </prefer>
</alias>
```

Thanks,

On Thu, Sep 01, 2016 at 12:00:02PM +0000, [email protected] wrote:
> 
> Yes, it is the expected behavior. the locale settings affects to FC_LANG
> property. you have two options to change this:
> 
> 1) add a lang property to query. which is most common way and most
> applications does.
>     e.g. fc-match serif:lang=en
> 
> 2) if you don't like 1) because it still affects the order of the whole
> list say, set FC_LANG env var to change the default language regardless of
> current locale.
>     e.g. FC_LANG=en fc-match serif

-- 
Eric Sagnes
サニエ エリック
_______________________________________________
Fontconfig mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.