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

Re: Freetype Font Path

Some more questions on the unfound font path segfault: I compiled last
cvs on one of my systems, and copied the resulting binaries both on my
laptop and my home PC. I'm astonished at the results: I'm not able to
try my home pc now, but the laptop and the desk system share the very
same version of all the relevant packages:

$ ldd /usr/local/Dia/bin/dia |awk '{print "dpkg -S",$3}' | sh | awk \
-F':''BEGIN{pkgl=""}; {pkgl=pkgl " " $1};END {print "dpkg -l", pkgl}'\
| sh | sort | uniq

results in the following list on both:

| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-instal
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: upper
||/ Name           Version        Description
ii  gdk-imlib1     1.9.11-3       Gdk-Imlib is an imaging library for
ii  libart2      The Gnome canvas widget - runtime fi
ii  libaudiofile0  0.2.3-2        The Audiofile Library
ii  libc6          2.2.5-3        GNU C Library: Shared libraries and
ii  libdb3         3.2.9-14       Berkeley v3 Database Libraries [runt
ii  libesd0        0.2.23-3       Enlightened Sound Daemon - Shared li
ii  libfreetype6   2.0.8-1        FreeType 2 font engine, shared libra
ii  libgdk-pixbuf2 0.16.0-1       The GdkPixBuf library.
ii  libglib1.2     1.2.10-4       The GLib library of C routines
ii  libgnome32      The Gnome libraries
ii  libgnomesuppor      The Gnome libraries (Support librari
ii  libgnomeui32      The Gnome libraries (User Interface)
ii  libgtk1.2      1.2.10-9       The GIMP Toolkit set of widgets for
ii  libpng2        1.0.12-3       PNG library - runtime
ii  libpopt0       1.6.2-6        lib for parsing cmdline parameters
ii  libunicode0    0.4.0-2        The GNOME Unicode library.
ii  libxml1        1.8.17-2       GNOME XML library
ii  xlibs          4.1.0-14       X Window System client libraries
ii  zlib1g         1.1.3-19       compression library - runtime

Both systems are and are configured alike: xfs running, "unix/:7100" as
first font path, followed by the standard fp sequence (I tried even to
move the type1 to the first line, and disable the unix line altogether)

	FontPath        "/usr/lib/X11/fonts/Type1" 
        FontPath        "/usr/lib/X11/fonts/misc" 
        FontPath        "/usr/lib/X11/fonts/cyrillic" 
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled" 
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled" 
        FontPath        "/usr/lib/X11/fonts/Speedo" 
        FontPath        "/usr/lib/X11/fonts/100dpi" 
        FontPath        "/usr/lib/X11/fonts/75dpi" 

Now, from strace-ing dia on the desktop and on the laptop system, I see
that the only difference is in the path open sequence: while on the
laptop I see:

readv(3, [{"\nunix/:7100\27/usr/lib/X11/fonts/m"..., 208}, {"", 0}], 2)
		= 208
open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not a
fstat64(6, {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
brk(0x8117000)                          = 0x8117000
getdents64(0x6, 0x8114e98, 0x1000, 0)   = 1560
getdents64(0x6, 0x8114e98, 0x1000, 0)   = 1664
getdents64(0x6, 0x8114e98, 0x1000, 0)   = 1576
getdents64(0x6, 0x8114e98, 0x1000, 0)   = 1160
getdents64(0x6, 0x8114e98, 0x1000, 0)   = 0
close(6)                                = 0
such file or directory)
file or directory)

On the desktop system the Type1 directory, which is in the fontpath as
of the Xfree86.0.log file: 

	FontPath set to

is being skipped for no apparent reason.

Hope this is of some use to you, as for now I'll keep using two
different cvs snapshot!

Yours thankfully


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum