On Wed, 2003-04-09 at 19:28, Jonathan W. Smith wrote:> Luckily, I was browsing the archives, searching for a possible answer to my > problem, when I came across your reply to my inquiry. There was no way for a > member to reply while browsing the archives, so I created this email as if I > had received your response via email and was replying to it.Sorry, forgot to Cc: you last time.> How long should it take after ''fc-cache -f'' to finish running? I have let > the machine sit for three hours and it has yet to come back to a command > line prompt. Something similar happened previously, I tried running > ''redhat-config-xfree86'' after creating a local.conf. It started merrily off > as if great things would happen, yet never came back to the command line > prompt. I finally cancelled. > > I guess I should cancel this effort; delete the local.conf that I created; > and, try running ''fc-cache -f'' again.Yeah, using the stock fonts.conf would remove a variable. I would recommend it. fc-cache should take a couple of minutes, no more. If you have thousands of fonts from Word Perfect, maybe 5-10 minutes. If takes longer than that, I''d run the command as: strace -e open -e fc-cache -f And see what font file it hangs on.> I am unsure how to answer your question about fonts, other than what shipped > with RH9. As previously stated, this was an attempt to go from RH8 to RH9. > There were programs, other than what shipped with RH8 on my machine, that > installed fonts, e.g., Corel Word Perfect and Sun Star Office. So I would > assume that the answer to your question is "Yes".Depends on _where_ these fonts were installed. If they aren''t in fontconfig''s directories, then they don''t matter. But probably yes. Regards, Owen
On Thu, 2003-04-10 at 09:45, Jonathan W. Smith wrote:> I deleted local.conf and tried running ''strace -e open -e fc-cache -f''. I > get an error message: invalid system call ''fc-cache''Try it without the second -e. (Typo on my part, sorry.) Regards, Owen> -----Original Message----- > From: Owen Taylor [mailto:otaylor@redhat.com] > Sent: Wednesday, April 09, 2003 7:36 PM > To: fontconfig@fontconfig.org > Cc: jonathan.w.smith@att.net > Subject: Re: [Fontconfig] Re: Problems going from RH8 to RH9 > > > On Wed, 2003-04-09 at 19:28, Jonathan W. Smith wrote: > > Luckily, I was browsing the archives, searching for a possible answer to > my > > problem, when I came across your reply to my inquiry. There was no way for > a > > member to reply while browsing the archives, so I created this email as if > I > > had received your response via email and was replying to it. > > Sorry, forgot to Cc: you last time. > > > How long should it take after ''fc-cache -f'' to finish running? I have let > > the machine sit for three hours and it has yet to come back to a command > > line prompt. Something similar happened previously, I tried running > > ''redhat-config-xfree86'' after creating a local.conf. It started merrily > off > > as if great things would happen, yet never came back to the command line > > prompt. I finally cancelled. > > > > I guess I should cancel this effort; delete the local.conf that I created; > > and, try running ''fc-cache -f'' again. > > Yeah, using the stock fonts.conf would remove a variable. I would > recommend it. > > fc-cache should take a couple of minutes, no more. If you have thousands > of fonts from Word Perfect, maybe 5-10 minutes. > > If takes longer than that, I''d run the command as: > > strace -e open -e fc-cache -f > > And see what font file it hangs on. > > > I am unsure how to answer your question about fonts, other than what > shipped > > with RH9. As previously stated, this was an attempt to go from RH8 to RH9. > > There were programs, other than what shipped with RH8 on my machine, that > > installed fonts, e.g., Corel Word Perfect and Sun Star Office. So I would > > assume that the answer to your question is "Yes". > > Depends on _where_ these fonts were installed. If they aren''t in > fontconfig''s directories, then they don''t matter. But probably yes. > > Regards, > Owen > >
I did not get your original reply right away because I opted to receive posts in Digest format. Yes, by removing that parameter, the command worked. For nearly 40 seconds, a long list of fonts scrolled past. It did not hang anywhere, i.e., there was a normal completion returning me to the command line. -----Original Message----- From: Owen Taylor [mailto:otaylor@redhat.com] Sent: Wednesday, April 09, 2003 9:54 PM To: jonathan.w.smith@att.net Cc: fontconfig@fontconfig.org Subject: Re: Problems going from RH8 to RH9 On Thu, 2003-04-10 at 09:45, Jonathan W. Smith wrote:> I deleted local.conf and tried running ''strace -e open -e fc-cache -f''. I > get an error message: invalid system call ''fc-cache''Try it without the second -e. (Typo on my part, sorry.) Regards, Owen> -----Original Message----- > From: Owen Taylor [mailto:otaylor@redhat.com] > Sent: Wednesday, April 09, 2003 7:36 PM > To: fontconfig@fontconfig.org > Cc: jonathan.w.smith@att.net > Subject: Re: [Fontconfig] Re: Problems going from RH8 to RH9 > > > On Wed, 2003-04-09 at 19:28, Jonathan W. Smith wrote: > > Luckily, I was browsing the archives, searching for a possible answerto> my > > problem, when I came across your reply to my inquiry. There was no wayfor> a > > member to reply while browsing the archives, so I created this email asif> I > > had received your response via email and was replying to it. > > Sorry, forgot to Cc: you last time. > > > How long should it take after ''fc-cache -f'' to finish running? I havelet> > the machine sit for three hours and it has yet to come back to a command > > line prompt. Something similar happened previously, I tried running > > ''redhat-config-xfree86'' after creating a local.conf. It started merrily > off > > as if great things would happen, yet never came back to the command line > > prompt. I finally cancelled. > > > > I guess I should cancel this effort; delete the local.conf that Icreated;> > and, try running ''fc-cache -f'' again. > > Yeah, using the stock fonts.conf would remove a variable. I would > recommend it. > > fc-cache should take a couple of minutes, no more. If you have thousands > of fonts from Word Perfect, maybe 5-10 minutes. > > If takes longer than that, I''d run the command as: > > strace -e open -e fc-cache -f > > And see what font file it hangs on. > > > I am unsure how to answer your question about fonts, other than what > shipped > > with RH9. As previously stated, this was an attempt to go from RH8 toRH9.> > There were programs, other than what shipped with RH8 on my machine,that> > installed fonts, e.g., Corel Word Perfect and Sun Star Office. So Iwould> > assume that the answer to your question is "Yes". > > Depends on _where_ these fonts were installed. If they aren''t in > fontconfig''s directories, then they don''t matter. But probably yes. > > Regards, > Owen > >
No, I spoke too quickly! My /etc/fonts/fonts.conf looks similar; it is slightly different: <dir>/usr/share/fonts</dir> <dir>/usr/X11R6/lib/X11/fonts/OTF</dir> <dir>/usr/X11R6/lib/X11/fonts/Type1</dir> <dir>~/.fonts</dir> -----Original Message----- Date: Wed, 09 Apr 2003 21:00:16 -0400 From: Greg Jones <gjones@netwalk.com> To: fontconfig@fontconfig.org Subject: Re: [Fontconfig] Problems going from RH8 to RH9 Reply-To: fontconfig@fontconfig.org First, ensure that the X font server is set up correctly and is running. You may want to restart it.
Well, that seems to be the essence of the problem. RH9 is unable to start the display server. I will try the other steps that you recommended. My /etc/fonts/fonts.conf looks the same as yours. -----Original Message----- Date: Wed, 09 Apr 2003 21:00:16 -0400 From: Greg Jones <gjones@netwalk.com> To: fontconfig@fontconfig.org Subject: Re: [Fontconfig] Problems going from RH8 to RH9 Reply-To: fontconfig@fontconfig.org First, ensure that the X font server is set up correctly and is running. You may want to restart it.
I deleted local.conf and tried running ''strace -e open -e fc-cache -f''. I get an error message: invalid system call ''fc-cache'' -----Original Message----- From: Owen Taylor [mailto:otaylor@redhat.com] Sent: Wednesday, April 09, 2003 7:36 PM To: fontconfig@fontconfig.org Cc: jonathan.w.smith@att.net Subject: Re: [Fontconfig] Re: Problems going from RH8 to RH9 On Wed, 2003-04-09 at 19:28, Jonathan W. Smith wrote:> Luckily, I was browsing the archives, searching for a possible answer tomy> problem, when I came across your reply to my inquiry. There was no way fora> member to reply while browsing the archives, so I created this email as ifI> had received your response via email and was replying to it.Sorry, forgot to Cc: you last time.> How long should it take after ''fc-cache -f'' to finish running? I have let > the machine sit for three hours and it has yet to come back to a command > line prompt. Something similar happened previously, I tried running > ''redhat-config-xfree86'' after creating a local.conf. It started merrilyoff> as if great things would happen, yet never came back to the command line > prompt. I finally cancelled. > > I guess I should cancel this effort; delete the local.conf that I created; > and, try running ''fc-cache -f'' again.Yeah, using the stock fonts.conf would remove a variable. I would recommend it. fc-cache should take a couple of minutes, no more. If you have thousands of fonts from Word Perfect, maybe 5-10 minutes. If takes longer than that, I''d run the command as: strace -e open -e fc-cache -f And see what font file it hangs on.> I am unsure how to answer your question about fonts, other than whatshipped> with RH9. As previously stated, this was an attempt to go from RH8 to RH9. > There were programs, other than what shipped with RH8 on my machine, that > installed fonts, e.g., Corel Word Perfect and Sun Star Office. So I would > assume that the answer to your question is "Yes".Depends on _where_ these fonts were installed. If they aren''t in fontconfig''s directories, then they don''t matter. But probably yes. Regards, Owen
Luckily, I was browsing the archives, searching for a possible answer to my problem, when I came across your reply to my inquiry. There was no way for a member to reply while browsing the archives, so I created this email as if I had received your response via email and was replying to it. How long should it take after ''fc-cache -f'' to finish running? I have let the machine sit for three hours and it has yet to come back to a command line prompt. Something similar happened previously, I tried running ''redhat-config-xfree86'' after creating a local.conf. It started merrily off as if great things would happen, yet never came back to the command line prompt. I finally cancelled. I guess I should cancel this effort; delete the local.conf that I created; and, try running ''fc-cache -f'' again. I am unsure how to answer your question about fonts, other than what shipped with RH9. As previously stated, this was an attempt to go from RH8 to RH9. There were programs, other than what shipped with RH8 on my machine, that installed fonts, e.g., Corel Word Perfect and Sun Star Office. So I would assume that the answer to your question is "Yes". ----- Your previous reply: No, I don''t think that would help you. I''d first try running, as root, ''fc-cache -f''; this will recreate your font database from scratch. I''ve had one report of a problem where a certain font got fontconfig completely confused, though I''ve been unable to reproduce the problem: <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=87992> Do you have fonts on your system that didn''t ship with Red Hat Linux 9? Regards, Owen ----- I wrote: Yesterday, I upgraded from Red Hat Linux 8.0 to Red Hat Linux 9.0. Things went relatively smoothly until a reboot of the machine resulted in an inability of the X server to load. Initially this seemed to be the result of incorrect monitor parameters. After I corrected those settings, I still have a problem. I now get an error message that states, "No fonts found; this probably means that the fontconfig library is not correctly configured. I would add that I have /etc/fonts/fonts.conf; I lack a /etc/fonts/local.conf. Would I solve my problem by copying the fonts path to local conf, i.e. chkfontpath -l > local.conf, then edit local.conf so that it conforms to the XML format illustrated by fonts.conf? Thanks in advance for consideration of my request. Best regards, STAY CLEAR OF NETGEAR _________________________________________ Jonathan Smith Wonderful Human Being ICQ#: 6343701 ( Home Tel#: (607) 770-0911 + Fax#: (775) 665-3368 + More ways to contact me <http://wwp.icq.com/6343701> _________________________________________