xfig can't find fonts - Xwindows

This is a discussion on xfig can't find fonts - Xwindows ; Hi, I recently upgraded my linux system from RH8 to Fedora Core 3. This resulted in modification of XFig's version to 3.2.4. When I open .fig files created with old version of xfig, I get a pop-up error message like: ...

+ Reply to Thread
Results 1 to 14 of 14

Thread: xfig can't find fonts

  1. xfig can't find fonts

    Hi,

    I recently upgraded my linux system from RH8 to Fedora Core 3. This
    resulted in modification of XFig's version to 3.2.4.

    When I open .fig files created with old version of xfig, I get a pop-up
    error message like:
    Can't find -*-times-medium-r-normal-6-*-*-*-*-*-ISO8859-*, using 6x13
    Can't find -*-times-medium-r-bold-6-*-*-*-*-*-ISO8859-*, using 6x13

    I also get these messages, if I try to modify font sizes in a new file
    created with XFig. I have no idea how to fix this problem. Any help
    will be appreciated.

    Thanks.


  2. Re: xfig can't find fonts

    google@technologist.com wrote:
    > Hi,
    >
    > I recently upgraded my linux system from RH8 to Fedora Core 3. This
    > resulted in modification of XFig's version to 3.2.4.
    >
    > When I open .fig files created with old version of xfig, I get a pop-up
    > error message like:
    > Can't find -*-times-medium-r-normal-6-*-*-*-*-*-ISO8859-*, using 6x13
    > Can't find -*-times-medium-r-bold-6-*-*-*-*-*-ISO8859-*, using 6x13
    >
    > I also get these messages, if I try to modify font sizes in a new file
    > created with XFig. I have no idea how to fix this problem. Any help
    > will be appreciated.
    >
    > Thanks.
    >


    Run xfontsel and see if you do have the font in question, you may need to
    modify the line a little bit to make it to work.



    //Aho

  3. Re: xfig can't find fonts

    Aho,

    Thanks for your response. I could run xfontsel just by typing it at
    shell prompt.
    >From the menu it gives:

    -fndry-fmly-wght-slant-sWdth-adstyle-pxlsz-ptSz-resx-resy-spc-avgWdth-rgstry-encdng
    I could select only upto
    -*-times-medium-r-normal--
    For selecting pxlsz, available options are 0,8,
    10,11,12,14,17,18,24,25, and 34.

    I have created figures with font size 6 earlier and need to edit them.
    How do I install missing fonts? or if they are on my computer, how do i
    find them and fix any configurations?


  4. Re: xfig can't find fonts

    On 18 Mar 2005 14:37:27 -0800,
    google@technologist.com , in

    >+ I have created figures with font size 6 earlier and need to edit them.
    >+ How do I install missing fonts? or if they are on my computer, how do i
    >+ find them and fix any configurations?


    Do you have the msttcorefonts installed? http://corefonts.sourceforge.net/

    James
    --
    Consulting Minister for Consultants, DNRC
    I can please only one person per day. Today is not your day. Tomorrow
    isn't looking good, either.
    I am BOFH. Resistance is futile. Your network will be assimilated.

  5. Re: xfig can't find fonts

    google@technologist.com wrote:
    > Aho,
    >
    > Thanks for your response. I could run xfontsel just by typing it at
    > shell prompt.
    >>From the menu it gives:

    > -fndry-fmly-wght-slant-sWdth-adstyle-pxlsz-ptSz-resx-resy-spc-avgWdth-rgstry-encdng
    > I could select only upto
    > -*-times-medium-r-normal--
    > For selecting pxlsz, available options are 0,8,
    > 10,11,12,14,17,18,24,25, and 34.
    >
    > I have created figures with font size 6 earlier and need to edit them.
    > How do I install missing fonts? or if they are on my computer, how do i
    > find them and fix any configurations?
    >

    If you have a missing font, then you need to copy it the missing font to your
    /usr/X11R6/lib/X11/fonts/ (select proper directory there to place it). After
    that restart your fontserver and it should be okey.


    //Aho

  6. Re: xfig can't find fonts

    I did not have msttcorefonts installed. The missing fonts do not seem
    to be from microsoft's distribution. Anyways, I installed
    msttcorefonts after building the rpm as given on the webpage. reloaded
    xfs too. XFig still cannot find those fonts.


  7. Re: xfig can't find fonts

    I have couple more questions.
    Suppose I want to install the following font:
    -*-times-medium-r-normal-6-*-*-*-*-*-ISO8859-*
    1. Where can I find the missing font file (to copy from)?
    2. What will be an appropriate directory under
    /usr/X11R6/lib/X11/fonts/ to place that file. I see the following
    subdirectories on my system:
    100dpi 75dpi CID OTF Speedo TTF Type1 cyrillic encodings
    korean local misc util.
    Thanks for your help.


  8. Re: xfig can't find fonts

    google@technologist.com wrote:
    > I have couple more questions.
    > Suppose I want to install the following font:
    > -*-times-medium-r-normal-6-*-*-*-*-*-ISO8859-*
    > 1. Where can I find the missing font file (to copy from)?


    Maybe from your RH8 CD?

    > 2. What will be an appropriate directory under
    > /usr/X11R6/lib/X11/fonts/ to place that file. I see the following
    > subdirectories on my system:
    > 100dpi 75dpi CID OTF Speedo TTF Type1 cyrillic encodings
    > korean local misc util.


    Depends on what type of font file it is, if it would be truetype, then it's TTF.


    //Aho

  9. Re: xfig can't find fonts

    ["Followup-To:" header set to comp.os.linux.x.]
    On Sun, 20 Mar 2005 21:34:22 +0100, J.O. Aho staggered into the Black
    Sun and said:
    > google@technologist.com wrote:
    >> Suppose I want to install the following font:
    >> -*-times-medium-r-normal-6-*-*-*-*-*-ISO8859-*
    >> 1. Where can I find the missing font file (to copy from)?

    > Maybe from your RH8 CD?


    ....times-medium-r-normal... is a bitmapped font from Adobe AFAICT and
    all of them should be in /usr/share/fonts/75dpi/ . The Microsoft Times
    font in msttcorefonts is "times new roman" in an X font specification.
    AFAIK, there is no bitmapped 6-point Times font from Adobe in the X font
    install from Xorg. (6 point type? You might need it if you're a
    lawyer, but it's too small to read without a loupe for most people. It
    is utterly unreadable on a monitor AFAICT.)

    >> 2. What will be an appropriate directory under
    >> /usr/X11R6/lib/X11/fonts/ to place that file?

    > Depends on what type of font file it is, if it would be truetype, then
    > it's TTF.


    If you can find a bitmapped 6-point Times font, you'd put it in
    /usr/share/fonts/75dpi/ , then run "xset fp rehash". Or, you might want
    to look at your xorg.conf's Files section. There should be a bunch of
    lines in there like so:

    FontPath "/usr/share/fonts/75dpi:unscaled"

    ....I believe fonts in the /usr/share/fonts/75dpi directory will only be
    available at their native sizes because the :unscaled is there. If this
    is the case in your xorg.conf, you might have to edit the config file,
    remove the :unscaled, and restart X. There's probably a way to do this
    without restarting X, but I'm not sure what it could be (probably
    something with xset fp-, xset fp+, and so forth--but I dunno.) HTH,

    --
    Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
    Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong
    http://www.brainbench.com / Hire me!
    -----------------------------/ http://crow202.dyndns.org/~mhgraham/resume

  10. Re: xfig can't find fonts

    In article <1111176698.047213.180670@o13g2000cwo.googlegroups. com>,
    wrote:
    >Hi,
    >
    >I recently upgraded my linux system from RH8 to Fedora Core 3. This
    >resulted in modification of XFig's version to 3.2.4.
    >
    >When I open .fig files created with old version of xfig, I get a pop-up
    >error message like:
    >Can't find -*-times-medium-r-normal-6-*-*-*-*-*-ISO8859-*, using 6x13
    >Can't find -*-times-medium-r-bold-6-*-*-*-*-*-ISO8859-*, using 6x13
    >
    >I also get these messages, if I try to modify font sizes in a new file
    >created with XFig. I have no idea how to fix this problem. Any help
    >will be appreciated.
    >
    >Thanks.
    >


    Remove the colons in /usr/X11R6/lib/X11/locale/locale.*

    --
    Martin Birgmeier

    Vienna
    Austria

  11. Re: xfig can't find fonts

    In article <1111176698.047213.180670@o13g2000cwo.googlegroups. com>,
    wrote:
    >Hi,
    >
    >I recently upgraded my linux system from RH8 to Fedora Core 3. This
    >resulted in modification of XFig's version to 3.2.4.
    >
    >When I open .fig files created with old version of xfig, I get a pop-up
    >error message like:
    >Can't find -*-times-medium-r-normal-6-*-*-*-*-*-ISO8859-*, using 6x13
    >Can't find -*-times-medium-r-bold-6-*-*-*-*-*-ISO8859-*, using 6x13
    >
    >I also get these messages, if I try to modify font sizes in a new file
    >created with XFig. I have no idea how to fix this problem. Any help
    >will be appreciated.
    >
    >Thanks.
    >


    Remove the colons in /usr/X11R6/lib/X11/locale/locale.*

    --
    Martin Birgmeier

    Vienna
    Austria

  12. Re: xfig can't find fonts

    In article <1111176698.047213.180670@o13g2000cwo.googlegroups. com>,
    wrote:
    [...]
    >I recently upgraded my linux system from RH8 to Fedora Core 3. This
    >resulted in modification of XFig's version to 3.2.4.
    >
    >When I open .fig files created with old version of xfig, I get a pop-up
    >error message like:
    >Can't find -*-times-medium-r-normal-6-*-*-*-*-*-ISO8859-*, using 6x13
    >Can't find -*-times-medium-r-bold-6-*-*-*-*-*-ISO8859-*, using 6x13

    [...]

    Try removing the colons in
    /usr/X11R6/lib/X11/locale/locale.*

    --
    Martin Birgmeier

    Vienna
    Austria

  13. Re: xfig can't find fonts

    Martin Birgmeier wrote:
    >>When I open .fig files created with old version of xfig, I get a pop-up
    >>error message like:
    >>Can't find -*-times-medium-r-normal-6-*-*-*-*-*-ISO8859-*, using 6x13
    >>Can't find -*-times-medium-r-bold-6-*-*-*-*-*-ISO8859-*, using 6x13

    >
    > Remove the colons in /usr/X11R6/lib/X11/locale/locale.*


    Hi,

    As I'm having exactly the same problem with fonts, I'd be interested
    whether this fix works (or has worked), and also why it should work?

    Thanks

    Michael


  14. Re: xfig can't find fonts

    Hi Michael,

    This solution did not work for me. Infact I got even more warnings on
    command prompt upon starting xfig.

    Warning: locale not supported by Xlib, locale set to C
    Warning: X locale modifiers not supported, using default
    Warning: Cannot convert string
    "-*-times-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-
    medium-r-normal--16-*-*-*-*-*-*-*,*--16-*" to type FontSet
    Warning: Unable to load any usable fontset
    Warning: Cannot convert string
    "-*-times-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-
    medium-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*" to type
    FontSet
    Warning: Unable to load any usable fontset
    Warning: Cannot convert string
    "-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bo
    ld-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*" to type
    FontSet
    Warning: Unable to load any usable fontset
    Warning: Unable to load any usable fontset
    Warning: Input Method Open Failed
    Warning: Input Method Open Failed
    Warning: Input Method Open Failed
    Warning: Input Method Open Failed

    If you find anything, let me know. Meanwhile, I have dumped fedora 3
    and moved to solaris, where xfig works as usual (and no one
    discriminates against people who love small fonts... just kidding).



    >Hi,
    >
    >As I'm having exactly the same problem with fonts, I'd be interested
    >whether this fix works (or has worked), and also why it should work?
    >
    >Thanks
    >
    >Michael



    Martin Birgmeier wrote:
    >>When I open .fig files created with old version of xfig, I get a

    pop-up
    >>error message like:
    >>Can't find -*-times-medium-r-normal-6-*-*-*-*-*-ISO8859-*, using 6x13
    >>Can't find -*-times-medium-r-bold-6-*-*-*-*-*-ISO8859-*, using 6x13


    > Remove the colons in /usr/X11R6/lib/X11/locale/locale.*



+ Reply to Thread