[bt-devel] again: Font problems

Fred Saalbach bt-devel@crosswire.org
Wed, 02 May 2001 22:01:13 -0400


Please don't get hung up on trying to completely solve the font problem at BT
1.0  It looks like an involved problem that might require some more tinkering
under the hood of qt.

There appear to be a number of non western font Bible texts on Crosswire.  Sword
apparently has problems with some of these.

Examples are of course Greek and Hebrew, but also Arabic, Russian, Thai.
Question do the sword modules flag which font needs to be used?  or does
bibletime try to figure it out.  I think that if sword has such a flag, it would
be possible to use this information to hook the correct font.  Then then problem
should be solved for all of the non western font modules.

Fred

Joachim Ansorg wrote:

> Hi!
>
> > > > > Qt does refuse now to use fonts which have a wrong charset set, but
> > > > > this was possible in earlier releases.
> > > > > It works everywhere else because the others do not use greek or
> > > > > hebrew fonts.
> >
> > What means "wrong charset"?
> > Qt does not know which charset encoding we want.
>
> Qt uses Unicode.
> It maps greek fonts normally into another area of the fontmap than latin1.
> But because we do want to have latin1 and the greek chars are not mapped
> internally to latin1 but to iso8859-7 we do get normal latin1 characters
> (probably Helvetica).
> Greek fonts are mapped into another rea than latin1 fonts, so we get the wron
> characters.
>
> I'm no expert in this area, sorry for my bad explanation. At least it this
> what a man from TrollTech told me.
>
> Joachim

--
Best Regards
Fred Saalbach
saalbach@sybercom.net