Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: xfig can find fonts in suse 11.2

  1. #1

    Default xfig can find fonts in suse 11.2

    Hello
    I installed the new suse 11.2 on my laptop. To draw things I use the very good vector graphics program xfig.
    But with the new version of suse xfig can't find the fonts for text input. I always get an error message like this:
    Code:
    Can't find -*-times-bold-r-normal--21-*-*-*-*-*-ISO8859-*, using 6x13
    After looking around in some other forums I found out that these fonts are the ghostscript fonts. I have installed the ghostscript on my system but the font pathes seemed to have changed from suse 11.1 to 11.2. But xfig still want's the old pathes.
    Has anybody an idea how to tell xfig the correct location of the fonts.
    Thank You
    MajorArnone

  2. #2

    Talking Re: xfig can find fonts in suse 11.2

    I just solved this problem.
    If anybody needs a solution on the xfig homepage you can find an instruction how to install ghostscript's Type 1 fonts under X.
    Getting and Installing Xfig

  3. #3
    Gonzo17 NNTP User

    Thumbs up Re: xfig can find fonts in suse 11.2

    Hi,

    Thanks for the link! I had the same problem and it's solved now.
    Just to add: I have opensuse 11.2 64 bit edition and in my case the location of the X-server type1 fonts is: /usr/share/fonts/Type1

    I'm not an expert in these kind of things and it took me a while to find out, so this might help for people with the same problem...

  4. #4
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    503

    Default Re: xfig can find fonts in suse 11.2

    I have exactly the same problem:
    trying to typesome words on xfig grafics, using opensuse 11.264 bit and got the sameerror message like above.
    I can not even use the default font.
    Then iam trying todo everything mentioned on the xfig website to install the ghostscript Type1 fonts (i installed the ghostscript pagages before), which means:
    copying all the fonts from the ghostscript fonts directory to the other fonts directory (in my64 bit opensuse i just had the path: /usr/share/fonts/Type1 , like Gonzo17 said), then i updated the /usr/share/fonts/Type1/fonts.scale with the lines from the ghostscript fonts.scale and then typed in (as root):
    mkfontdir
    xset fp rehash

    but i got the error again. Then i restarted and tried it again -> same error
    typed in
    xset fp rehash -> same error
    typed in:
    mkfontdir -> same error
    typed in:
    mkfontdir
    xset fp rehash -> same error, what can i do?

  5. #5
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,439

    Default Re: xfig can find fonts in suse 11.2

    Open a console and enter sax2; save the configuration. This will create the correct xorg.conf file which is not created automatically when you install 11.2.

    If this does not work, there is a further fix on the xfig site.

  6. #6
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    503

    Default Re: xfig can find fonts in suse 11.2

    i typed in what you wrote (as root) and got the following results:
    Code:
    SaX: initializing please wait...
    SaX: access to your display has been granted
    Xlib:  extension "XFree86-Misc" missing on display ":0.0".
    Xlib:  extension "XFree86-Misc" missing on display ":0.0".
    Xlib:  extension "XFree86-Misc" missing on display ":0.0".
    Xlib:  extension "XFree86-Misc" missing on display ":0.0".
    ISaX: could not import file: /var/cache/sax/files/config at /usr/sbin/isax line 199.
    ISaX: could not import file: /var/cache/sax/files/config at /usr/sbin/isax line 199.
    ISaX: could not import file: /var/cache/sax/files/config at /usr/sbin/isax line 199.
    ISaX: could not import file: /var/cache/sax/files/config at /usr/sbin/isax line 199.
    ISaX: could not import file: /var/cache/sax/files/config at /usr/sbin/isax line 199.
    ISaX: could not import file: /var/cache/sax/files/config at /usr/sbin/isax line 199.
    ISaX: could not import file: /var/cache/sax/files/config at /usr/sbin/isax line 199.
    SPP: prepare device [1] profile: vbox-mouse
    SPP: including prepared profile(s)...
    SPP: prepare device [0] profile: nobus
    SPP: including prepared profile(s)...
    
    SaX: startup
    SaX: X-Server: :0.0 -> grant
    SaX: using cache data...
    I saved the configuration, and then opened xfig again and tried to type in a word -> same error.
    i typed in xset fp rehash (and so on) but again i got the same error.

    What is the further fix on the xfig side, i was not able to find something.

  7. #7
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,439

    Default Re: xfig can find fonts in suse 11.2

    This is the tip I meant: Installing Ghostscript's Type 1 fonts under X under Getting and Installing Xfig
    Last edited by john_hudson; 27-May-2010 at 14:14. Reason: Additional comment

  8. #8
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    503

    Default Re: xfig can find fonts in suse 11.2

    Thanks but this is what i, and the others in this thread, did. But for me it did not solved the problem.

  9. #9

    Default Re: xfig can find fonts in suse 11.2

    - Saw the bug here
    - Reproduced in my machine
    - Fixed in my machine
    - Searched the bug and found https://bugzilla.novell.com/564336
    - Gave a complete description of the problem in the report
    - Assigned to X maintainers and added xfig maintainer CC
    - Expected someone else to have done this before... and now that I did to be fixed in less than a week, at least for 11.3

  10. #10

    Default Re: xfig can find fonts in suse 11.2

    I was already fixed last year, but not for 11.2. The easy fix? Just run
    Code:
    xset fp+ /usr/share/fonts/URW
    before xfig.
    You can put it in some init script (~/.xinitrc is recommended) to avoid doing that all the time.

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •