Closed
Description
Created by: rantonse
Description
PDF export does not work with Processing 4.0 beta 5.
Expected Behavior
A PDF file with dimensions corresponding to the canvas size is expected.
Current Behavior
The dimensions of the resulting PDF file is 0 × 0.
Steps to Reproduce
import processing.pdf.*;
void setup() {
size(600, 600);
beginRecord(PDF, "line.pdf");
background(255);
stroke(0);
strokeWeight(20.0);
line(0, 0, width, height);
endRecord();
}
Your Environment
- Processing version: 4.0 beta 5
- Operating System and OS version: MacBook Pro (16-inch, 2021), macOS Monterey 12.2
Metadata
Metadata
Assignees
Labels
No labels