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

Thread: xfig is broken

  1. #1

    Default xfig is broken

    I use xfig a lot to prepare diagrams. Unfortunately it is broken since updating to 15.1. I get the error message below.
    I have compiled it from the sources but that didn't help. Any idea for a workaround?

    With best greetings,

    Gerhard



    Warning: Missing charsets in String to FontSet conversion
    Warning: Cannot convert string "-URW-Nimbus Roman No9 L-medium-r-normal--34-*-*-*-*-*-*-*,-kochi-mincho-medium-r-normal--34-*-*-*-*-*-jisx0208.1983-0,-baekmukttf-batang-medium-r-normal--34-*-*-*-*-*-ksc5601.1987-0,-*-times-medium-r-normal--34-*-*-*-*-*-*-*,-*-*-medium-r-normal--34-*-*-*-*-*-*-*,*--34-*-*-times-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-medium-r-normal--16-*-*-*-*-*-*-*,*--16-*" to type FontSet
    Warning: Missing charsets in String to FontSet conversion
    Warning: Unable to load any usable fontset
    Warning: Missing charsets in String to FontSet conversion
    Warning: Unable to load any usable fontset
    xfig: this input-method doesn't support OffTheSpot input style
    xfig: using ROOT input style instead.
    xfig: can't create input-context
    Error: Aborting: no fontset found

  2. #2
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,606

    Question Re: xfig is broken

    What happens when you forcibly reinstall xfig?
    • zypper install --force xfig

    Do the following font packages also get replaced as part of the above forced reinstall?
    • xorg-x11-fonts-core
    • ghostscript-fonts-std
    • xorg-x11-fonts
    • efont-unicode
    • intlfonts-euro-bitmap-fonts – According to the ReadMe, the xfig requirement for “ifnteuro” is satisfied by this package …

    If they didn't get replaced, what happens when you forcibly reinstall the above list of fonts packages?

  3. #3

    Default Re: xfig is broken

    Quote Originally Posted by dcurtisfra View Post
    What happens when you forcibly reinstall xfig?
    • zypper install --force xfig
    Nothing, still broken. BTW: xfig does start but crashes when I try to save anything.


    Quote Originally Posted by dcurtisfra View Post
    Do the following font packages also get replaced as part of the above forced reinstall?
    • xorg-x11-fonts-core
    • ghostscript-fonts-std
    • xorg-x11-fonts
    • efont-unicode
    • intlfonts-euro-bitmap-fonts – According to the ReadMe, the xfig requirement for “ifnteuro” is satisfied by this package …

    If they didn't get replaced, what happens when you forcibly reinstall the above list of fonts packages?
    They were not automatically replaced.
    After I replaced them manually, with the exception of "efont-unicode" which is not found, and logged out and in again to restart the X-Server:
    No change, still broken.

  4. #4
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,606

    Question Re: xfig is broken

    @datafreak:

    You may have to check your X11 settings …
    There are these rather ancient LinuxQuestions entries: <https://www.linuxquestions.org/quest...ontset-883553/> <https://www.linuxquestions.org/quest...nt-set-927226/> but, they mention “~/.Xdefaults” which, is no longer actual …

    You may have to refer to this ArchLinux entry: <https://wiki.archlinux.org/index.php/X_resources>.

    On checking the contents of the xfig package it seems that, the “/usr/lib64/X11/xfig/” directory is no longer used … the directory is now “/usr/share/xfig”.
    • Are you certain that, you don't have any custom X11 settings pointing to the older directories which, are no longer being used?

  5. #5

    Default Re: xfig is broken

    Quote Originally Posted by dcurtisfra View Post
    @datafreak:

    You may have to check your X11 settings …
    There are these rather ancient LinuxQuestions entries: <https://www.linuxquestions.org/quest...ontset-883553/> <https://www.linuxquestions.org/quest...nt-set-927226/> but, they mention “~/.Xdefaults” which, is no longer actual …

    You may have to refer to this ArchLinux entry: <https://wiki.archlinux.org/index.php/X_resources>.

    On checking the contents of the xfig package it seems that, the “/usr/lib64/X11/xfig/” directory is no longer used … the directory is now “/usr/share/xfig”.
    • Are you certain that, you don't have any custom X11 settings pointing to the older directories which, are no longer being used?
    I don't have “~/.Xdefaults” any more.
    In my .bashrc, .alias and in the output of bash's 'set' I don't see any suspicious X settings. Where else could they be?

  6. #6
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,487
    Blog Entries
    2

    Default Re: xfig is broken

    Quote Originally Posted by datafreak View Post
    Nothing, still broken. BTW: xfig does start but crashes when I try to save anything.
    Just guessing, but if you can start xfig and insert some text using different fonts,
    That would be curious and could point to something weird... like a conflicting libraries problem?

    Point is that if xfig can't access fonts at all, then you shouldn't be able to work with any text at all, even before attempting to save.
    And, if that's the case then it likely points to a application coding problem.
    Maybe try installing an older xfig version?

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  7. #7

    Default Re: xfig is broken

    Quote Originally Posted by tsu2 View Post
    Just guessing, but if you can start xfig and insert some text using different fonts,
    That would be curious and could point to something weird... like a conflicting libraries problem?

    Point is that if xfig can't access fonts at all, then you shouldn't be able to work with any text at all, even before attempting to save.
    And, if that's the case then it likely points to a application coding problem.
    Maybe try installing an older xfig version?

    TSU
    Funny indeed. It does find the usual 15 or so fonts, I can add text in different fonts to the canvas, but it
    always crashes when I try to save, independent of whether there is text or just straight lines.

  8. #8
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,487
    Blog Entries
    2

    Default Re: xfig is broken

    Quote Originally Posted by datafreak View Post
    Funny indeed. It does find the usual 15 or so fonts, I can add text in different fonts to the canvas, but it
    always crashes when I try to save, independent of whether there is text or just straight lines.
    Then, I'd recommend you submit an issue to the xfig project, to me that's very nearly 100% a coding problem.
    If an older version of xfig works, then you might install that instead.

    Of course, assumes that you're running the app as a normal User, not with elevated permissions.
    In fact, just out of curiosity, you might try actually running it with elevated permissions to see if that's the problem... Open a console, su to root and then try launching xfig. Maybe some developer could have done all his coding work as root (typical) but forgot to compile targeting a normal User environment.

    IMO,
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  9. #9
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,454

    Default Re: xfig is broken

    There was indeed a bug in the Leap 15.1 version of transfig which meant that you could not export to certain formats. However, you could export to svg and then export to other formats from inkscape.
    However, there has been an update to transfig and the problem has been resolved.

  10. #10

    Smile Older version works

    In my computer, xfig crashes even before opening a file.

    xfig is a problematic software. I remember similar irreparable behavior occurring every few years.

    This time, I tried version
    Code:
    xfig-3.2.5c-13.2.x86_64
    from 42.3, and xfig works.

Page 1 of 2 12 LastLast

Posting Permissions

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