Re: commit -- RedHat 6.0 (bug 425) fix (?)

Drazen Kacar (dave@srce.hr)
Sun, 30 May 1999 06:07:34 +0200


Eric W. Sink wrote:
>
> This is weird. I'm running RH 6 on two different machines, and AbiWord
> runs fine on both of them. I'm not denying the problem exists for some,
> but I wonder why I don't see it at all...

> >
> >So, while I was picking up a new hard drive at Fry's this morning, I
> >decided to grab a copy of Red Hat 6.0 while I was at it. Cool, so
> >I've got everything up and running again, but once I tried to build
> >AbiWord from CVS, I came across that 'Can't find helvetica' problem
> >that everyone's been complaining about. So, I looked through the
> >code, and found that it wants it only for the GUI stuff, not the body
> >of some document, and that xap_UnixFontXLFD is being very particular
> >about what font it wants. So, I quickly added a work-around by adding
> >a getFallbackXLFD to that class which only specifies the family,
> >weight, slant and point size. I also changed xap_UnixFont to use the
> >fallback font if it can't get the exact font it wants.
> >
> >Great -- everyone works for me now. But, I wonder if this is a good
> >solution or not. xap_UnixFontXLFD is actually specifying '0' for
> >things like resX and resY in the non-fallback font, and Red Hat 6.0's
> >custom font server can't cope with this. Is AbiWord in error by doing
> >this? Shaw?

I don't know about RH, but if Helvetica is a must, the problem will
arise on some other systems/locales. I never had the time to translate
AbiWord to Croatian, but I still intend to do it RSN :-)

However, Croatian requires Latin 2 fonts and Latin 2 Helvetica is
not available out of the box everywhere (Solaris, for example).
Default font for locale will be specified in gtkrc.hr, but that
could be Arial or Tahoma or whatever.

-- 
 .-.   .-.    Life is a sexually transmitted disease.
(_  \ /  _)
     |        dave@srce.hr
     |        dave@fly.cc.fer.hr


This archive was generated by hypermail 1.03b2.