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


Subject: Re: [PATCH] fixes for printing with symbol fonts for gtk port
From: Vlad Harchev (hvv@hippo.ru)
Date: Mon Feb 19 2001 - 13:32:34 CST


On Mon, 19 Feb 2001, Tomas Frydrych wrote:

 Hi Tomas,

 I think it would be better to commit *.u2g files too - the 0.7.13 was planned
for tomorrow, so we will be unable to provide any code that does things
ideologically clean and that will work on all platforms (if we are going to
store all Symbols in unicode, all platforms are affected), will fix all
problems that can be fixed by just commiting these 2 files and that will be
stable and well-tested.

 After release of 0.7.13, we can start working on doing things properly.

> 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
>

 Best regards,
  -Vlad



This archive was generated by hypermail 2b25 : Mon Feb 19 2001 - 14:25:40 CST