Fedora Linux Support Community & Resources Center
  #1  
Old 3rd August 2007, 06:32 AM
QuantumKnot Offline
Registered User
 
Join Date: Nov 2004
Location: Australia
Posts: 245
Unhappy Font problem in Xfig on Fedora 7

There seems to be a font problem on Xfig in Fedora 7. Whenever I try to add some text (or open up my previous xfig files that had text), I get the following error message.

Can't find -*-times-medium-r-normal--13-*-*-*-*-*-ISO8859-*, using 6x13

Instead of using the specified font, it uses some default one that is very small. I've verified this on two different F7 machines and I get the same error.

Anybody else got the same problem? More important, is there a way of fixing this?
__________________
QuantumKnot - originator of the "Verne" release name (possibly the last 'normal' release name) :)
Reply With Quote
  #2  
Old 3rd August 2007, 06:54 AM
QuantumKnot Offline
Registered User
 
Join Date: Nov 2004
Location: Australia
Posts: 245
I've found a workaround this problem by installing the Xfig that came with FC6.
__________________
QuantumKnot - originator of the "Verne" release name (possibly the last 'normal' release name) :)
Reply With Quote
  #3  
Old 4th October 2007, 10:44 PM
mpdavig Offline
Registered User
 
Join Date: Oct 2007
Location: USA
Age: 37
Posts: 1
The issue is with a change in xfig 3.2.5 over 3.2.4 and how scalablefonts are handled. In order to use the new FC7 package xfig-3.2.5-1.fc7 and not receive the font errors you speak of you must use the xfig -noscalablefonts option.

To be more specific here is an xfig patch to make 3.2.5 behave like 3.2.4 in regards to scalablefonts:
Code:
--- xfig.3.2.5/w_drawprim.c     2007-01-14 19:51:46.000000000 -0500
+++ xfig.3.2.5.scalablefonts/w_drawprim.c       2007-10-04 16:59:20.000000000 -0400
@@ -142,7 +142,8 @@
                    strcat(template,"ISO8859-*");
            else
                strcat(template,"*-*");
-           fontlist = XListFonts(tool_d, template, 1, &count);
+           if ((fontlist = XListFonts(tool_d, template, 1, &count))==0)
+               appres.scalablefonts = False;   /* none, turn off request for them */
        }
        XFreeFontNames(fontlist);
     }
This code change allows xfig to continue to look for fonts beyond scalablefonts, instead of stopping the search and posting the error messages you describe.

I use xfig frequently and these errors bothered me as well.

Probably the simplest solution is to add an alias (tcsh):
alias xfig 'xfig -noscalablefonts'
Reply With Quote
  #4  
Old 17th September 2008, 03:23 AM
ajorgensen Offline
Registered User
 
Join Date: Aug 2008
Posts: 4
This is now and old thread, but I have found a font problem in Fedora 9 also. My solution finally was to go the software install too and install the package xfig-plain. Don't ask me why it works, but it appears to.
Reply With Quote
  #5  
Old 17th September 2008, 03:54 PM
ironluke Offline
Registered User
 
Join Date: Jul 2008
Posts: 5
Quote:
Originally Posted by ajorgensen
This is now and old thread, but I have found a font problem in Fedora 9 also. My solution finally was to go the software install too and install the package xfig-plain. Don't ask me why it works, but it appears to.
Issuing the following commands seems to solve the problem with Xfig from the standard package (a little bit nicer than xfig-plain):
Code:
# mkfontscale /usr/share/fonts/default/Type1/
# mkfontdir /usr/share/fonts/default/Type1/
Reply With Quote
Reply

Tags
fedora, font, problem, xfig

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
xfig font problem pshi Using Fedora 0 23rd September 2007 07:11 PM
Font warnings with xfig & xdvi on an FC4 x86_64 machine kwon22 Using Fedora 0 29th January 2006 08:52 AM


Current GMT-time: 13:32 (Thursday, 31-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat