← Back to team overview

ubuntu-translations-coordinators team mailing list archive

[Bug 835304] Re: contained fontconfig setting files force to make it default font

 

Gunnar,

> What is the "lang" option in fontconfig?

I mean, something like this...

    <test qual="any" name="lang" compare="contains">
      <string>ko</string>
    </test>

This code make NanumGothic, NanumMyeongjo, NanumGothicCoding is default font for Sans, Serif, Monospace only at Korean locale.
But it's not working at latest Ubuntu, in my test.
And according to LP: #884645, I think it is not working for Japanese locale, too.

> Is it possibly something that makes the LANG env. variable control the
fontconfig settings, and can this have something to do with the fact
that language-selector's fontconfig hack basically has been controlled
by the LANGUAGE env. variable (i.e. not LANG)?

When use "lang", locale can affect to fontconfig settings.
But I'm not sure which env. variable affect to fontconfig exactly.
I'm testing with LANG(ex: export LANG=ko_KR.UTF-8 && fc-match sans).
But language-selector's fontconfig hack(file name starting with '69~lang...') doesn't need it because language-selector automatically link file to matching locale environment.

-- 
You received this bug notification because you are a member of Ubuntu
Translations Coordinators, which is subscribed to Ubuntu Translations.
https://bugs.launchpad.net/bugs/835304

Title:
  contained fontconfig setting files force to make it default font

Status in Ubuntu Translations:
  Triaged
Status in “fonts-nanum” package in Ubuntu:
  New
Status in “fonts-nanum-coding” package in Ubuntu:
  New
Status in “ttf-nanum” package in Ubuntu:
  Incomplete
Status in “ttf-nanum” package in Debian:
  New

Bug description:
  This packages has 90-ttf-nanum.conf file and it contains some code to make it default Korean font by itself.
  But, default Korean font settings are at 69-language-support-ko-kr.conf by using language-selector.
  Also, it specifies fallback of the MS fonts, but these settings are provide from setting files in package "fontpackage"
  And, there's even "TODO" for remove settings later!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-translations/+bug/835304/+subscriptions


Follow ups