Re: [PATCH] fixes for printing with symbol fonts for gtk port


Subject: Re: [PATCH] fixes for printing with symbol fonts for gtk port
From: Tomas Frydrych (tomas@frydrych.uklinux.net)
Date: Mon Feb 19 2001 - 12:47:20 CST


Hi Vlad,

thanks for the patch, which i have committed. Concerning the u2g
files, I feel we should modify the code that inserts the bullets,
because the u2g files were created directly from the symbol and
dingbats encoding tables published by Adobe, and I think it would
be preferable to stick with the official encodings if possible.
However, if others feel otherwise ...

Tomas

> After playing with printing today, I realized that gtk port of AW was unable
> to print lists (under any locale, including en-US). Just try to print any
> list, with triangles as item marks, or even plain unnumbered list ("bullets"
> as markers) with zero interval between the mark and the text - different
> symbols will be in the .ps file and the markers will be drawn under the texts
> (since AW thinks that they are 0-points wide).
> It turned out that s050000l.u2g and d050000l.u2g files that are present in
> 'unixfonts' module are guilty. AW doesn't use unicode value for drawing list
> items - it uses index of the character in the fonts (i.e. values < 256). Here
> are the corrected versions of these files that will allow to use symbol fonts.
> In these files, the 2nd value on each line is not unicode value of the symbol
> any more, but the index of that character in the font (this is the only way to
> make symbol printing working for chars > 127).
>
> Also I've attached a patch that makes printing with symbol fonts possible for
> non-latin1 single-byte locales - please apply it.
>
> So, the attached two u2g files should be placed in the module 'unixfonts'.
>
> I wonder why nobody noticed this (perhaps everybody uses unnumbered lists
> with default mark)..
>
> Best regards,
> -Vlad
>

*********************************************
tomas@frydrych.net / www.frydrych.net
PGP keys: http://www.frydrych.net/contact.html



This archive was generated by hypermail 2b25 : Mon Feb 19 2001 - 12:53:45 CST