Bug 687578 - Type 1 hinter disturbs stem width
Summary: Type 1 hinter disturbs stem width
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Graphics Library (show other bugs)
Version: master
Hardware: All All
: P3 normal
Assignee: Igor Melichev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-21 04:07 UTC by Igor Melichev
Modified: 2008-12-19 08:31 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
ccc-.pdf (4.22 KB, application/pdf)
2004-09-07 03:59 UTC, Igor Melichev
Details
patch.txt (1.33 KB, patch)
2004-09-08 03:32 UTC, Igor Melichev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Melichev 2004-07-21 04:07:45 UTC
ppmraw -r72 01_001.pdf : In the big text "571-L" the vertical stem in 'L' is 
wider than in 'L', but GS renders the first one narrower than the second one.
Detected by Julia as a regression from December 09, 2003.
Reproduced by Igor with today's CVS HEAD.
The problem happens due to two stem boundaries are grid-fitted independently. 
Use the stem width instead StdVW.
Comment 1 Igor Melichev 2004-07-21 04:11:23 UTC
Created attachment 806 [details]
01_001-.pdf

A reduced test
Comment 2 Igor Melichev 2004-07-21 08:00:11 UTC
A correction :
"the vertical stem in 'L' is wider than in '1'".
Comment 3 Igor Melichev 2004-08-31 10:33:01 UTC
The bug appears invalid due to an inaccurate analyzis.
Actually the design width of the stem in '1' is 71966, and the design width of 
thew stem in 'L' is 75766 in the gxhintn.c units. Ghostscript renders '1' wider 
than 'L', so the result is correct.
Comment 4 Igor Melichev 2004-09-01 08:44:17 UTC
Oops, the previous comment appears wrong.
The width of '1' is 71936, lesser than the width of 'L' 75776.
GS renders '1' wider, the result is incorrect.
Comment 5 Igor Melichev 2004-09-07 03:59:39 UTC
Created attachment 881 [details]
ccc-.pdf

One more useful test made from comparefiles/ccc.pdf .
See the character 'i' at 72 dpi.
It has 2 vertical stems with a common left side, which alings with a left
shift. If we do so, entire glyph looks shifted to the left.
Comment 6 Igor Melichev 2004-09-08 03:32:50 UTC
Created attachment 884 [details]
patch.txt

The patch waits for approval.
Comment 8 Igor Melichev 2004-09-27 03:25:10 UTC
Now Julia reports a degradation of the height of the character 's' since the 
June 09 revision with ppmraw -r72 045-01.ps