[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ISO8859 vs. ISO10646 encoding font sequence (was Re: Lost fonts)



on Tue, Aug 14, 2001 at 12:26:18AM -0700, Karsten M. Self (kmself@ix.netcom.com) wrote:
> I'm seeing a fonts problem in two packages I use, dillo (0.6.0, from
> tarball sources) and xchat-gnome (version: 1.8.2-1), both are showing up
> with a bad font choice.  Main fonts are rendered as square blocks, a
> line of text looks something like "[][][][] [][] [][][][][][]..."

This appears to be an iso8859 v. iso10646 encoding problem, confounded
by a Gtk bug:

    http://www.xfree86.org/pipermail/fonts/2000-August/000023.html

    [Fonts] Re: Problem with -Adobe-Helvetica-*-ISO10646-1 and GTK+
    Markus Kuhn Markus.Kuhn@cl.cam.ac.uk
    Sun, 13 Aug 2000 10:30:46 +0100

    When we add the ISO10646-1 Adobe fonts to XFree86, I fear that we
    will have to find a hack like this around this problem, because
    unfortunately, far too many X11 applications assume naively that a
    wildcard encoding *-helvetica-*-*-* will give you an 8-bit font. Not
    only GTK+ does this. One solution might be to have separate
    directories 75dpi-recoded/ and 75dpi/ in that order in the font
    path, which hopefully will give the recoded ISO 8859 fonts a higher
    priority in a *-* encoding selection than the ISO 10646 master
    fonts. The underlying problem is that strcmp("ISO10646", "ISO8859")
    < 0, so Latin-1 is not the default any more for wildcard encodings.

The solution appears to be getting 8859 fonts to list first so that
they're selected based on wildcard (or to recode my app so that it grabs
the right font -- they're compiled in ;-).  But I'm a bit stymied on how
to change font listing sequence under Debian.

Thoughts?

-- 
Karsten M. Self <kmself@ix.netcom.com>          http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?             There is no K5 cabal
  http://gestalt-system.sourceforge.net/               http://www.kuro5hin.org
   Free Dmitry! Boycott Adobe! Repeal the DMCA!    http://www.freesklyarov.org
Geek for Hire                        http://kmself.home.netcom.com/resume.html

Attachment: pgpZdPwf2XnDw.pgp
Description: PGP signature


Reply to: