bug-ddd
[Top][All Lists]
Advanced

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

DDD 3.3.1 adds multiple local font server entries in font path


From: John Klingler
Subject: DDD 3.3.1 adds multiple local font server entries in font path
Date: Thu, 11 Mar 2004 14:03:06 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

Every time you run an application in ddd 3.3.1, it add the localhost font server, tcp/127.0.0.1:7100 to the X server's fontpath without checking to see if it is already there (see below). This seriously degrades system performance. It does the same when displaying on a remote host, which I am sure was not the programmer's
intention.

Font Path (eng8):
/home/john/.kde/share/fonts/override,/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/Type1/,/usr/lib/X11/fonts/75dpi/,/usr/lib/X11/fonts/100dpi/,/home/john/.kde/share/fonts,tcp/127.0.0.1:7100,tcp/127.0.0.1:7100,tcp/127.0.0.1:7100,tcp/127.0.0.1:7100,tcp/127.0.0.1:7100,tcp/127.0.0.1:7100,tcp/127.0.0.1:7100,tcp/127.0.0.1:7100,tcp/127.0.0.1:7100,tcp/127.0.0.1:7100,tcp/127.0.0.1:7100,tcp/127.0.0.1:7100

The code to do this correctly is fairly trivial, but I'll send it to you if you like.

By the way, I don't know about other vendor's Linux distributions but starting with Red Hat 8.0, the font server (XFree86 fs) is, by default, configured not to listen on tcp sockets (for "security" reasons), so you might want to verify tcp connectivity. For a local font server, UNIX/:7100 gets better performance. (You
know, I guess, that you can't count of the port being 7100, either.)

John Klingler
Project Leader
Linux Display Wall Systems
Jupiter Systems, Inc.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]