[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


-----BEGIN PGP SIGNED MESSAGE-----
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:

   http://anthesphoria.net/FreeBSD/TeXLive-Devel/translations/tlmgr-gui-FreeBSD-8x13.pcf.png

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

iJwEAQEDAAYFAktsCO8ACgkQ/MM/0rYIoZgKPAP/Uv7zEtCxQsOXBQyXeJXY/b4R
iU4wa6uDQh4CmMGuniA4cQ0Wli1ysBHCl1n8wPtBYarktW6xn1ZNhYWaKNdKBrhz
/h3dgUl5iMSKrZHti/IkeEzS21PR4740SDCwYBcPDCxVVIGmJEogiui0uii2Ho85
4Oztr1CfDXKcILae2ns=
=xWCV
-----END PGP SIGNATURE-----



More information about the tex-live mailing list