[SOLVED] Need to add legacy font from Fedora 6 to Fedora 11
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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!
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:
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.
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.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
Rep:
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.
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:
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 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:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.