/etc/fonts/Language-selector.conf does not ignore alias setting in /etc/fonts/fonts.conf

Bug #35549 reported by nahs
8
Affects Status Importance Assigned to Milestone
language-selector (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

in /etc/fonts/fonts.conf it already has alias setting for sans, serif and monospace. Language-selector.conf must ignore set in there. and apply setting in Language-selector.conf.

But now it doesn't .

I think <include>Language-selector.conf</include> must be located before <alias> setting in font.conf like ~.fonts.conf or /conf.d .

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Does it makes a (visible) difference for you if place the language-selector include before the <alias> setting in fonts.conf? Where does the "/etc/fonts/language-selector.conf symlink points to for you?

I'm happy to change the order of the include, my impression from reading the fontconfig manual was that a later include would overwrite pervious settings. The manual was not clear here (IMHO) so this may very well be wrong.

Please let me know what setting works better for you (and please add information about your language and the symlink target as well) and I'm happy to fix it.

Thanks,
 Michael

Changed in language-selector:
assignee: nobody → mvo
Revision history for this message
nahs (nahs777) wrote : Re: [Bug 35549] /etc/fonts/Language-selector.conf does not ignore alias setting in /etc/fonts/fonts.conf

atie will give you language-selector.conf for korean which ubuntu-ko team
made.

if you insert new fonts in <alias> alias will use first <family>. And some
language can't display with first <family> fontconfig will find next
<family>. So inserted font, if you added if last line of <alias> in
fonts.conf, it has lowest priority.

<include> tag just insert the file to fonts.conf into which include is
wrtten. So if you insert it after <alias> tag it will has lower - priority
then alias tag in fonts.conf.

So, I think priority order should be ~.fonts.conf > conf.d >
language-selector > alias.

2006/3/19, Michael Vogt <email address hidden>:
>
> Public bug report changed:
> https://launchpad.net/malone/bugs/35549
>
> Task: ubuntu language-selector
> Priority: None => High
> Assignee: (unassigned) => Michael Vogt
> Target: None => ubuntu-6.04
>

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for the explaination. The latest fontconfig upload fixed the include order. I close the bug now. I also uploaded the improved ko_KR that atie send me.

Changed in language-selector:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.