Summary: |
Playback of recording surface into pdf surface is incomplete or blank |
Product: |
cairo
|
Reporter: |
Caio Prado <cagprado> |
Component: |
pdf backend | Assignee: |
Adrian Johnson <ajohnson> |
Status: |
RESOLVED
FIXED
|
QA Contact: |
cairo-bugs mailing list <cairo-bugs> |
Severity: |
normal
|
|
|
Priority: |
high
|
CC: |
cagprado
|
Version: |
unspecified | |
|
Hardware: |
Other | |
|
OS: |
Linux (All) | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Bug Depends on: |
|
|
|
Bug Blocks: |
68382
|
|
|
Attachments: |
Simple code that reproduces the described issue.
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 113669 [details] Simple code that reproduces the described issue. Hi, I’ve been trying to create a pdf surface from a recording surface. Attached is a simple c++ code to reproduce the issue. After creating and drawing in the recording surface I replay it in a pdf surface and an image surface in order to compare both results. The code for both are quite the same but the results are not as pdf output is missing one of the blocks. It seems that every object with negative coordinates in the recording surface don't get drawn in the pdf output but the same kind of problem happens when I uncomment line 9 in the file (cairo_translate(ctx,1000,1000);) where every coordinate is now positive but the pdf output is blank while the png seems to give the expected result. Cairo 1.14.0, I haven’t tried the stable release. Attached code compiled with g++ -Wall -O2 $(pkg-config --cflags --libs cairo) Cheers,