Subject: Re: Systematic error on display versus layout units.
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Thu Jun 28 2001 - 09:01:27 CDT
On Thu, 28 Jun 2001, Martin Sevior wrote:
> Hi Folks,
> I've spent the last couple of days fighting with 1632. Basically
> our text in left justified mode can easily extend way past the right
> margin.
>
> This is caused by a systematic errors between font sizes at screen
> resolution and font sizes at Layout resolution. Relative to the screen
> resolution, the layout resolution of the Type 1 fonts that ship with Abi
> are smaller by a few %.
>
I know the problem now:-) The calculation of the correct font is current
getting the closest size font to that need at poor resolution, then again
at high resolution. The poor resolution font can be wrong by 1 units out
of about 25 for 12 point fonts. This leads to a few percent error due to
rounding at poor resolution (about 1 unit out of 25) so that that's about
4 %.
The way to deal with this is to scale the font chosen at poor resolution
so that the high resolution font is the best match possible to poor
resolution Font.
I believe that something like this may responsible for the non-WYSIWYG
reformance of gnome-print. I'll look and see anyway.
Cheers
Martin
PS. If someone with more knowledeg of Type 1 fonts than I can look at
upgrading our ancient (1994) collection of unixfonts to the most recent
collection available from ghostscript (2000) I would be most grateful.
I tired and just got weird results.
This archive was generated by hypermail 2b25 : Thu Jun 28 2001 - 09:01:51 CDT