Summary: | The attached PDF was rendered inaccurately by MuPdf for Android | ||
---|---|---|---|
Product: | MuPDF | Reporter: | palmicq |
Component: | mupdf | Assignee: | Tor Andersson <tor.andersson> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | robin.watts, zeniko |
Priority: | P4 | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | other | ||
Customer: | Word Size: | --- | |
Attachments: |
test.pdf
screenshot |
Description
palmicq
2011-07-16 09:34:15 UTC
Created attachment 7676 [details]
screenshot
This is another regression caused by bug 692287: The bounding rectangles for the glyphs are too small because the fonts contains wrong (pre-devided?) metrics and because of that the new optimized clipping code clips too much. This can be fixed by either adding some fuzz to the clipping rectangle calculations the same way that fz_execute_display_list does or by fixing the font metrics (which might not always be possible). Our fix: http://code.google.com/p/sumatrapdf/source/detail?r=4184 (In reply to comment #2) > This is another regression caused by bug 692287: The bounding rectangles for > the glyphs are too small because the fonts contains wrong (pre-devided?) > metrics and because of that the new optimized clipping code clips too much. > > This can be fixed by either adding some fuzz to the clipping rectangle > calculations the same way that fz_execute_display_list does or by fixing the > font metrics (which might not always be possible). > > Our fix: http://code.google.com/p/sumatrapdf/source/detail?r=4184 The patch worked for android. Thank you, zeniko! |