Bug 695870 - Render bug missing PDF components
Summary: Render bug missing PDF components
Status: RESOLVED FIXED
Alias: None
Product: MuPDF
Classification: Unclassified
Component: mupdf (show other bugs)
Version: master
Hardware: PC Linux
: P4 major
Assignee: MuPDF bugs
URL:
Keywords:
: 699051 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-03-16 03:35 UTC by trashpages
Modified: 2018-11-12 13:04 UTC (History)
3 users (show)

See Also:
Customer:
Word Size: ---


Attachments
PDF containing the dots (22.10 KB, application/pdf)
2015-03-16 03:35 UTC, trashpages
Details
Mudraw result, some dots are missing. (13.20 KB, image/png)
2015-03-16 03:35 UTC, trashpages
Details
GS result, dots appear (8.53 KB, image/png)
2015-03-16 03:36 UTC, trashpages
Details
missing_dot.pdf (1.19 KB, application/pdf)
2015-03-16 03:54 UTC, Tor Andersson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description trashpages 2015-03-16 03:35:03 UTC
Created attachment 11517 [details]
PDF containing the dots

Mudraw fails an rendering some dotes in the given pdf. GS does fine.
Comment 1 trashpages 2015-03-16 03:35:44 UTC
Created attachment 11518 [details]
Mudraw result, some dots are missing.
Comment 2 trashpages 2015-03-16 03:36:07 UTC
Created attachment 11519 [details]
GS result, dots appear
Comment 3 Tor Andersson 2015-03-16 03:54:04 UTC
Created attachment 11520 [details]
missing_dot.pdf

Simplified example file.
Comment 4 Robin Watts 2015-03-25 11:36:31 UTC
The fact the dots aren't appearing isn't really a bug - it's down to the fact that the length of bezier curves is only approximated. It's a poorly authored file.

What is more interesting is that Acrobat renders the 0 length dash sections as thin lines with the cutdown file, where we render them as circles.
Comment 5 Tor Andersson 2018-11-12 12:55:02 UTC
commit 3afca2bb825017a55aadb67beb1d3318ce5f5c56
Author: Robin Watts <robin.watts@artifex.com>
Date:   Tue Mar 13 16:49:49 2018 +0000

    Bug 698963: Fix dash rendering.
    
    When rendering dash lines with a dash pattern that starts with
    a length of zero, the first dash should be of zero length. If
    we are using round caps, this should actually show up!
Comment 6 Tor Andersson 2018-11-12 13:04:36 UTC
*** Bug 699051 has been marked as a duplicate of this bug. ***