Subject: Re: commit: fix for bug on unix font path count
From: Rui Miguel Seabra (rms@multicert.com)
Date: Sun Nov 11 2001 - 11:27:48 CST
On Sun, 2001-11-11 at 16:40, Tomas Frydrych wrote:
> > The count of the font path array is flawed. Quick cure is to
subtract -1.
> > Is there a better way?
> Actually the count of the font path is correct, it is the orriginal
> paths count + plus the count of the paths we added and if you
> subtract one the last path is not added. So I have reverted this
> change.
> However, I believe that you had a good reason for this fix and there
> is a problem with this code on some setups (RH7?).
Well, I am running an updated RH 7.2, with recent ximian gnome.
> The font manager dumps out the path it is setting at the start up,
> near the top of the debug ouput. Could you please let me know
> what you are seing (you can leave the -1 in place, the dump
> happens before the fix).
DEBUG: XDisplay [:0], current X font path count 1, AW path count 1,
subdircount 5
DEBUG: adding "/usr/share/AbiSuite/fonts/" to font path
Gdk-ERROR **: 86
serial 9 error_code 86 request_code 51 minor_code 0
And then it exits with code 01 (according to gdb) leaving no backtrace.
subtracting 1 worked, and I had fonts:
DEBUG: XDisplay [:0], current X font path count 1, AW path count 1,
subdircount 5
DEBUG: adding "/usr/share/AbiSuite/fonts/" to font path
DEBUG: Read 68 fonts from directory [/usr/share/AbiSuite/fonts/]
(...)
I hope this helps... otherwise, I'm without abiword again <:)
Hugs, rms
PS: can you avoid hitting reply to all? I am subscribed to the mailing
list, and it's kind of boring to receive duplicate email :)
-- + No matter how much you do, you never do enough -- unknown + Whatever you do will be insignificant, | but it is very important that you do it -- Ghandi + So let's do it...?
This archive was generated by hypermail 2b25 : Sun Nov 11 2001 - 11:33:16 CST