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

Thread: Again, xfig lost fonts

  1. #1

    Unhappy Again, xfig lost fonts

    xfig has a long-standing weakness - sometimes it cannot grab the right fonts.

    In my opensuse 13.2, after some changes in hardware (replaced graphics card and monitor), xfig does not work with fonts correctly. The fonts shown on screen are stretched too much, meanwhile in pdf export they are correct.

    An older thread on similar problem in opensuse 11.3 does not help.

    Any hints?

  2. #2

    Default Re: Again, xfig lost fonts

    Quote Originally Posted by ZStefan View Post
    In my opensuse 13.2, after some changes in hardware (replaced graphics card and monitor), xfig does not work with fonts correctly. The fonts shown on screen are stretched too much, meanwhile in pdf export they are correct.
    Would sound like a display DPI issue to me.

    Is your graphics driver working correctly (which one are you using)?
    Is your monitor and its DPI working correctly?
    What does this say?
    Code:
    xdpyinfo |egrep "resol|dime"
    Oh, and I think your title is a bit misleading...
    IIUYC, xfig didn't "lose" the fonts at all.
    Last edited by wolfi323; 23-Mar-2015 at 03:09.

  3. #3

    Default Other programs are also confused

    Yes, maybe it is a DPI issue.

    The look of LibreOffice is also confused: menu's icons, menu's texts are in wrong places. Same for a newly-created user.

    However, all parts of drawings in xfig that do not contain text are correct.

    The graphics driver is the latest from Nvidia. Works correctly.

    The monitor works correctly. Cannot say whether its DPI works correctly.

    Code:
    xdpyinfo |egrep "resol|dime"
      dimensions:    1920x1200 pixels (554x350 millimeters)
      resolution:    88x87 dots per inch

  4. #4

    Default Re: Other programs are also confused

    Quote Originally Posted by ZStefan View Post
    The monitor works correctly. Cannot say whether its DPI works correctly.
    The values seem to be sane at least.
    Are the reported dimensions correct? I.e. does the screen have a native resolution of 1920x1200, and is its size 554x350 millimeters?
    Have you manually changed the resolution in your desktop's settings, or via nvidia-settings?

    Also, which Desktop are you using?
    In KDE you can override the DPI values used for fonts in "Application Appearance"->"Fonts". Try to toggle that setting.

  5. #5

    Default DPI in KDE has no effect.

    The reported values for the monitor are correct.

    I haven't chaged anything in nvidia-setings.

    Have since then reinstalled the nvidia driver.

    I use KDE. The Forced DPI was not set. Setting it to different values (96, 88) has no effect on the defects after restart.

  6. #6
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,441

    Default Re: Again, xfig lost fonts

    xfig as the name suggests relies on the X fonts; it sounds as if the text related parameters being passed to X following the hardware installation are wrong.

  7. #7

    Unhappy Reinstalled opensuse 13.2, still xfig does not work

    I did a fresh install.

    xfig was working correctly with nouveau.

    When I installed the nvidia driver, xfig got broken again. Namely, the letters and gaps between the letters are stretched in horizontal direction on the screen about 30% more than they should. As a result, the text in a pdf drawing does not fit there where it is visible in the xfig's window.

    Does anybody run an xfig successfully with nvidia driver installed?

    xorg.conf and nvidia-settings do not contain anything about fonts.

    Ubuntu users say that a package called gsfonts-x11 must be installed. But there is no such package in opensuse.

    All other things work.

  8. #8

    Default Re: Reinstalled opensuse 13.2, still xfig does not work

    Quote Originally Posted by ZStefan View Post
    Does anybody run an xfig successfully with nvidia driver installed?
    I don't use the nvidia driver.

    xorg.conf and nvidia-settings do not contain anything about fonts.
    The Xorg font settings are not in there, but you could of course change the resolution and/or DPI there.

    But AFAIK KDE's font settings should affect Xorg's settings as well.

    Maybe this would help?
    https://wiki.archlinux.org/index.php...roubleshooting

    Ubuntu users say that a package called gsfonts-x11 must be installed. But there is no such package in opensuse.
    There is ghostscript-fonts-std and ghostscript-fonts-other. But missing fonts cannot really be your problem I'd say, as it works fine with nouveau...
    Maybe it would be interesting to compare the DPI value when nouveau is in use and set the same for the nvidia driver?
    Last edited by wolfi323; 24-Mar-2015 at 03:37.

  9. #9

    Unhappy DPI has no effect on xfig

    Quote Originally Posted by wolfi323 View Post
    I don't use the nvidia driver.


    The Xorg font settings are not in there, but you could of course change the resolution and/or DPI there.

    But AFAIK KDE's font settings should affect Xorg's settings as well.

    Maybe this would help?
    https://wiki.archlinux.org/index.php...roubleshooting


    There is ghostscript-fonts-std and ghostscript-fonts-other. But missing fonts cannot really be your problem I'd say, as it works fine with nouveau...
    Maybe it would be interesting to compare the DPI value when nouveau is in use and set the same for the nvidia driver?
    I have the ghostscript-fonts-std and ghostscript-fonts-other installed.

    When I change DPI in KDE's "Configure Desktop", all programs' fonts change besides xfig's. Neither the menu font nor my text fonts change in xfig. It looks like xfig ignores the DPI and works pixels, not millimeters.

    How can I uninstall or disable the nvidia driver?

  10. #10
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,650

    Default Re: Again, xfig lost fonts

    Go to yast search for it and uninstall all files that have nvidia in the name

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
  •