LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-30-2009, 01:33 PM   #1
sleepylight
Member
 
Registered: Apr 2004
Location: Joppa
Posts: 32

Rep: Reputation: 16
Need to add legacy font from Fedora 6 to Fedora 11


I have a very picky piece of software that I _almost_ have running on Fedora 11. This particular program was compiled and running on an old Fedora 6 box, so it's taken a bit of work to move it over. (Sadly, fixing it or recompiling it is not an option.)

The problem I have is this:

When I start the software I get this error:

libbgr: BgrUseXFonts: can't XLoadQueryFont *helvetica-medium-r-normal--8*
libbgr: BgrUseXFonts: can't XLoadQueryFont *helvetica-medium-r-normal--10*
libbgr: BgrUseXFonts: can't XLoadQueryFont *helvetica-medium-r-normal--12*
libbgr: BgrUseXFonts: can't XLoadQueryFont *helvetica-medium-r-normal--18*
libbgr: BgrUseXFonts: can't XLoadQueryFont *helvetica-medium-r-normal--24*
[User Preferences]X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 45 (X_OpenFont)
Serial number of failed request: 1735
Current serial number in output stream: 1748

So, this thing wants some specific helvetica fonts. On my current Fedora 11 system I ran "xlsfonts | grep helvetica-medium-r-normal" and got this:

-adobe-helvetica-medium-r-normal--11-80-100-100-p-56-iso10646-1
-adobe-helvetica-medium-r-normal--11-80-100-100-p-56-iso8859-1
-adobe-helvetica-medium-r-normal--14-100-100-100-p-76-iso10646-1
-adobe-helvetica-medium-r-normal--14-100-100-100-p-76-iso8859-1
-adobe-helvetica-medium-r-normal--17-120-100-100-p-88-iso10646-1
-adobe-helvetica-medium-r-normal--17-120-100-100-p-88-iso8859-1
-adobe-helvetica-medium-r-normal--20-140-100-100-p-100-iso10646-1
-adobe-helvetica-medium-r-normal--20-140-100-100-p-100-iso8859-1
-adobe-helvetica-medium-r-normal--25-180-100-100-p-130-iso10646-1
-adobe-helvetica-medium-r-normal--25-180-100-100-p-130-iso8859-1
-adobe-helvetica-medium-r-normal--34-240-100-100-p-176-iso10646-1
-adobe-helvetica-medium-r-normal--34-240-100-100-p-176-iso8859-1


Awesome. I have lots of helvetica fonts that look like they will work, but none are in the size range I'm looking for. (e.g. 10,12,18 and 24)

I went back to my Fedora 6 box and found that there were a lot more choices available. Specifically, there are lines which list the helvetica font at the size I need.

So, my question is this. How can I take the information from xlsfonts and use that to figure out which package contains these fonts? If I can install a legacy package on Fedora 11 to provide the fonts I need, that would be best. Otherwise, if I can figure out where the physical font files are stored on the Fedora 6 box, I can copy them over by hand and add them to my ~/.fonts directory. Either way, I don't know how to go from this information to actual files.

Unfortunately, we've hit the end of my linux font knowledge, so I'm hoping somebody reads this and knows what do do next. Please help!

Thanks in advance

-Max
 
Old 10-30-2009, 02:10 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,818

Rep: Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978
Quote:
Originally Posted by sleepylight View Post
I have a very picky piece of software that I _almost_ have running on Fedora 11. This particular program was compiled and running on an old Fedora 6 box, so it's taken a bit of work to move it over. (Sadly, fixing it or recompiling it is not an option.)

The problem I have is this:

When I start the software I get this error:

libbgr: BgrUseXFonts: can't XLoadQueryFont *helvetica-medium-r-normal--8*
libbgr: BgrUseXFonts: can't XLoadQueryFont *helvetica-medium-r-normal--10*
libbgr: BgrUseXFonts: can't XLoadQueryFont *helvetica-medium-r-normal--12*
libbgr: BgrUseXFonts: can't XLoadQueryFont *helvetica-medium-r-normal--18*
libbgr: BgrUseXFonts: can't XLoadQueryFont *helvetica-medium-r-normal--24*
[User Preferences]X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 45 (X_OpenFont)
Serial number of failed request: 1735
Current serial number in output stream: 1748

So, this thing wants some specific helvetica fonts. On my current Fedora 11 system I ran "xlsfonts | grep helvetica-medium-r-normal" and got this:

-adobe-helvetica-medium-r-normal--11-80-100-100-p-56-iso10646-1
-adobe-helvetica-medium-r-normal--11-80-100-100-p-56-iso8859-1
-adobe-helvetica-medium-r-normal--14-100-100-100-p-76-iso10646-1
-adobe-helvetica-medium-r-normal--14-100-100-100-p-76-iso8859-1
-adobe-helvetica-medium-r-normal--17-120-100-100-p-88-iso10646-1
-adobe-helvetica-medium-r-normal--17-120-100-100-p-88-iso8859-1
-adobe-helvetica-medium-r-normal--20-140-100-100-p-100-iso10646-1
-adobe-helvetica-medium-r-normal--20-140-100-100-p-100-iso8859-1
-adobe-helvetica-medium-r-normal--25-180-100-100-p-130-iso10646-1
-adobe-helvetica-medium-r-normal--25-180-100-100-p-130-iso8859-1
-adobe-helvetica-medium-r-normal--34-240-100-100-p-176-iso10646-1
-adobe-helvetica-medium-r-normal--34-240-100-100-p-176-iso8859-1


Awesome. I have lots of helvetica fonts that look like they will work, but none are in the size range I'm looking for. (e.g. 10,12,18 and 24)

I went back to my Fedora 6 box and found that there were a lot more choices available. Specifically, there are lines which list the helvetica font at the size I need.

So, my question is this. How can I take the information from xlsfonts and use that to figure out which package contains these fonts? If I can install a legacy package on Fedora 11 to provide the fonts I need, that would be best. Otherwise, if I can figure out where the physical font files are stored on the Fedora 6 box, I can copy them over by hand and add them to my ~/.fonts directory. Either way, I don't know how to go from this information to actual files.

Unfortunately, we've hit the end of my linux font knowledge, so I'm hoping somebody reads this and knows what do do next. Please help!

Thanks in advance

-Max
Huh...not sure about the app, but it could be that it's looking for a specific name, too. Perhaps adobe-helvetica won't be liked, while just helvetica would.

I came across this package:
http://ftp.sunet.se/pub/os/Linux/dis...c11.noarch.rpm

You can probably get a similar one via your Fedora repos, too, if you don't already have it installed. A post in another forum said that it solved a similar problem for someone else. Otherwise, you might want to see if you can find just a TrueType Helvetica font, and install it.
 
Old 10-30-2009, 02:28 PM   #3
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
often if you just copy the closest matching size of the newer font to the name of the older font it will work fine without any noticable change.
worth a shot.
 
Old 10-30-2009, 02:32 PM   #4
sleepylight
Member
 
Registered: Apr 2004
Location: Joppa
Posts: 32

Original Poster
Rep: Reputation: 16
I wasn't able to find a way to grab the specific file from the Fedora 6 system, but just through a bit of playing with yum and a bit of luck I did find what I needed. It turns out I needed to add:

fonts-ISO8859-2-75dpi.noarch
xorg-x11-fonts-75dpi.noarch
xorg-x11-fonts-ISO8859-1-75dpi.noarch

Somewhere in those 3 packages all the fonts I needed showed up. It looks like the helvetica-medium-r-normal--XX numbers all referred to 75 dpi fonts, which weren't installed by default.

I'm just happy to not be working on it any more

Thanks for making some suggestions TBOne.

-Max
 
Old 10-30-2009, 02:36 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,818

Rep: Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978
Quote:
Originally Posted by sleepylight View Post
I wasn't able to find a way to grab the specific file from the Fedora 6 system, but just through a bit of playing with yum and a bit of luck I did find what I needed. It turns out I needed to add:

fonts-ISO8859-2-75dpi.noarch
xorg-x11-fonts-75dpi.noarch
xorg-x11-fonts-ISO8859-1-75dpi.noarch

Somewhere in those 3 packages all the fonts I needed showed up. It looks like the helvetica-medium-r-normal--XX numbers all referred to 75 dpi fonts, which weren't installed by default.

I'm just happy to not be working on it any more

Thanks for making some suggestions TBOne.

-Max
No problem...glad you got it solved.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Legacy Shutting Down Linux.tar.gz Fedora 2 01-02-2007 12:46 AM
LXer: Fedora Legacy shutting down LXer Syndicated Linux News 0 12-30-2006 03:21 PM
LXer: Fedora Core 4 Transferred to Fedora Legacy LXer Syndicated Linux News 0 08-08-2006 05:54 PM
LXer: Fedora Core 3 Transferred to Fedora Legacy LXer Syndicated Linux News 0 01-16-2006 11:03 PM
Anyone here on fedora-devel, doing Fedora QA, FC-Legacy? unSpawn Fedora 2 11-18-2003 12:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration