bug-gv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gv] Footers cut off in ps files from Emacs


From: Rodolfo Medina
Subject: Re: [bug-gv] Footers cut off in ps files from Emacs
Date: Tue, 03 Mar 2015 21:32:46 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

William Bader <address@hidden> writes:

>> Maybe some setting in the environment is the cause of the weirdness? And, if
>> so, how to check and fix that?
>
> In the test file, in the code for /F (search for "% Font selection"), before
> it calls setfont, try adding debug code like
>
> (ascent) = Ascent = (descent) = Descent =

Are you suggesting to add that stuff?  I did, but the problem remains.


> The various fonts should have ascents between 6 and 14 and descents between
> -1 and -5.
>
> The file seems to size the boxes based on metrics that it extracts from the
> fonts.
>
> Most applications that place text either assume the same height as the 
> argument
> to the scalefont operator or pass the text to the stringwidth operator instead
> of using the global values from the font.
>
> The file also has fancy debug code if you uncomment (remove the leading %)
> from the two lines
>
> % 3 cm 20 cm moveto 10/Courier ReportFontInfo showpage
>
> % 3 cm 20 cm moveto ReportAllFontInfo showpage
>
> I think that including debug code like that in a release shows that they have
> had problems with fonts before, possibly because the global font values are
> not dependable, especially in fonts that contain a few symbols or special
> characters with anomalous sizes.


I wrote to ps-print maintainer getting no reply yet.

Thanks,

Rodolfo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]