Re: RemapGlyph()


Subject: Re: RemapGlyph()
From: Andrew Dunbar (hippietrail@yahoo.com)
Date: Wed Jun 20 2001 - 10:49:09 CDT


Martin Sevior wrote:
>
> On Thu, 21 Jun 2001, Andrew Dunbar wrote:
>
> > Can somebody please explain the role of GR_Graphics::remapGlyph()?
> > It converts zero-width characters into "degree" symbols.
> > This is the cause of Bug 1518. Why do we do this?
> >
>
> I'm fighting with this too. Symbol fonts have major problems being printed
> on Gtk. I suspect that something even more serious is happening with them
> too.
>
> Twice I've saved a test document with symbol fonts and both have turned up
> as "bogus documents".

I'm pretty horrified by the font situation on Unix compared to
Windows. On Windows we just have fonts in the system and all but
very old or very esoteric ones just work. No muss, no fuss. This
is because Windows adopted unicode font mappings a long time ago.
The machine's and user's locale are 100% irrelevant.

On Linux the first thing I did was load a document with many exotic
characters. They all rendered as degree symbols! It seems that
X fonts require "mappings" to be built and save on the HD and it
looks like these mappings are the same as standard file encodings
with UTF-8 being some kind of special case. All of this made my
head spin. Are none of the fonts distro'd with Abiword unicode
fonts? Or are we just omitting the mappings? If I had the
mappings would I only see the characters if my locale encoding
was set to UTF-8? Can I use my Windows fonts on Linux Abi?
Can we make this all as easy as it is on Windows somehow?
Multilingual church secreataries are going to hate Abi! (:

> I suspect we problems in our import/exporters.

Have you tried different file formats, different text encodings?
Have you tried on Windows? If you don't have Windows access,
please send me the problem files to test.

> Here is my little script to run gdb. One of the world's great programs in
> IMHO.
Thanks for the tips. I actually made an identical script as yours.

> PS. Did I tell you yet that I love your email address? I keep thinking
> "Head full of zombies..."
One can only hope it has the same effect on the lady hackers (-;

Andrew.

-- 
http://linguaphile.sourceforge.net

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




This archive was generated by hypermail 2b25 : Wed Jun 20 2001 - 10:47:14 CDT