[tex-live] tlmgr/p5-Tk: fontconfig support and clash with SCIM daemon

Nikola Lečić nikola.lecic at anthesphoria.net
Fri Feb 5 13:02:49 CET 2010

Hash: RIPEMD160

Norbert Preining <preining at logic.at> wrote
  in <20100205013258.GB26067 at gamma.logic.tuwien.ac.at>
  on Fri, 5 Feb 2010 02:32:58 +0100:

> On Do, 04 Feb 2010, Nikola Lečić wrote:
> > > Can you try xlsfonts and try to select that font (the one from
> > > "actually used settings".
> > 
> > I am not sure what font: when p5-Tk is linked against fontconfig or
> > when it is not? (I.e. you want to know what is that ugly Cyrillic
> > font? It is _without_ fontconfig.)
> Yes I want to know which font was selected as *ugly* font without
> fontconfig.

The ugly font is /usr/local/lib/X11/fonts/misc/hanglg16.pcf.gz. On
FreeBSD that file is installed by x11-fonts/font-daewoo-misc port.

If it is present, tlmgr takes Cyrillic letters from it if it can.
However, that daewoo font has only Russian letters; Serbian-specific
"љ", "ј", "њ" and "ћ" look good: they are picked from 8x13.pcf.gz
(x11-fonts/font-misc-misc port).

If daewoo fonts are absent, it will pick up Russian Cyrillic subset
from some other (ugly) font.

So, the way to invoke a nice Cyrillic tlmgr without fontconfig was:

1) % mkdir ~/testfonts

2) put there only 8x13.pcf.gz and cursor.pcf.gz (on FreeBSD these
   font files are provided by x11-fonts/font-misc-misc and
   x11-fonts/cursor-misc ports)

3) % mkfontscale ~/testfonts
   % mkfontdir ~/testfonts
   % xset fp ~/testfonts
   % xset fp rehash
   % tlmgr --gui-lang sr gui

     and it looks perfect:


Best regards,
- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B
Version: GnuPG v2.0.14 (FreeBSD)


More information about the tex-live mailing list