Bug 691954 - regression: Type 3 glyphs don't have a consistent baseline
Summary: regression: Type 3 glyphs don't have a consistent baseline
Status: RESOLVED FIXED
Alias: None
Product: MuPDF
Classification: Unclassified
Component: fitz (show other bugs)
Version: unspecified
Hardware: PC Windows 7
: P4 normal
Assignee: Robin Watts
URL: http://code.google.com/p/sumatrapdf/i...
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-10 22:50 UTC by zeniko
Modified: 2011-02-12 16:11 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
patch.txt (3.68 KB, patch)
2011-02-11 16:05 UTC, Robin Watts
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zeniko 2011-02-10 22:50:19 UTC
See e.g. http://download.rockbox.org/daily/manual/rockbox-sansaclipplus.pdf starting at page 2: Some glyphs render with a higher/lower baseline than the others in the same word.

This regressed with the imagesmooth.c changes from http://code.google.com/p/sumatrapdf/source/detail?r=2614
Comment 1 Robin Watts 2011-02-11 12:26:38 UTC
This should come to me I think.

The proposed patch actually puts back code that I removed to ensure that rotated pages looked identical when rotated back.
Comment 2 Robin Watts 2011-02-11 16:05:29 UTC
Created attachment 7237 [details]
patch.txt

Fixed version; I was miscalculating the y sub pixel position. Previously I was calculating it as if the top left of the scaled image was going to be displayed at the given (x,y) position, not the bottom left.
Comment 3 Robin Watts 2011-02-12 16:11:34 UTC
Closing, as Tor has pushed this to the repo. Thanks.