Subject: Re: Asian language support in X11 / KDE / Gnome etc.?
To: Joerg Sonnenberger <>
From: Hauke Fath <>
List: pkgsrc-users
Date: 11/16/2006 13:51:24
Joerg Sonnenberger wrote:
> On Wed, Nov 15, 2006 at 01:37:26PM +0100, Hauke Fath wrote:
>> Adding font packages that have "Chinese" in their description at 
>> random gives me something like
> Try to find out *why* ttmkfdir core dumped.

That's not exactly *why*, but...

Gallin# pwd
Gallin# gdb /usr/src/pkgsrc/fonts/ttmkfdir2/work/ttmkfdir2/ttmkfdir
GNU gdb 5.3nb1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386--netbsdelf"...
(gdb) run
Starting program: /usr/src/pkgsrc/fonts/ttmkfdir2/work/ttmkfdir2/ttmkfdir

Program received signal SIGSEGV, Segmentation fault.
yylex(char*, Encodings_t&) (
"/usr/X11R6/lib/X11/fonts/encodings/iso8859-6.8x.enc", dest=@0x80631b0) 
at /usr/include/g++/bits/stl_vector.h:501
501           operator[](size_type __n) { return *(begin() + __n); }
(gdb) bt
#0  yylex(char*, Encodings_t&) (
"/usr/X11R6/lib/X11/fonts/encodings/iso8859-6.8x.enc", dest=@0x80631b0) 
at /usr/include/g++/bits/stl_vector.h:501
#1  0x080547e0 in Encodings_t::ReadEncodings() (this=0x80631b0)
     at encoding.cpp:76
#2  0x08054968 in Encodings_t::Encodings_t() (this=0x80631b0)
     at encoding.cpp:86
#3  0x080503bc in ttf::Face::Face(std::string const&) (this=0xbfbfe434,
     filename=@0xbfbfe564) at util.h:12
#4  0x0804bb5b in main (argc=1, argv=0xbfbfe650)
     at /usr/include/g++/bits/basic_string.h:897
#5  0x08049bb6 in ___start ()

Built from pkgsrc HEAD, the base OS is netbsd-3.


> You can try fonts/mkfontscale to build the index as well, if it is
> not available already.

That is not in pkgsrc-2006Q3, is it?

/~\  The ASCII Ribbon Campaign                    Hauke Fath
\ /    No HTML/RTF in email	        Institut für Nachrichtentechnik
  X     No Word docs in email	                  TU Darmstadt
/ \  Respect for open standards              Ruf +49-6151-16-3281