Ben Fry

Results 61 comments of Ben Fry

Please post these as separate issues; even though they're both related to `pixelDensity()`, they're unrelated and would be fixed separately.

Is this specific to PDF export? If so, what @garciadelcastillo suggested would be the fix. But for the original comments on the post, were you using PDF?

This is fixed in the alpha 2 release of Processing 4, you can download it here: https://github.com/processing/processing4/releases Unfortunately I don't have the free time to also maintain 3.x releases, so...

Are you using the version of Java that's included with Processing, or have you installed OpenJDK?

What's this sketch say when you run it? ```processing size(400, 400); background(255); fill(0); textAlign(CENTER, CENTER); text(System.getProperty("java.vendor") + "\n" + System.getProperty("java.version"), width/2, height/2); ```

@StanLepunK Not unless it's specific to 4.x. If a bug reported here gets fixed, it'll be moved to that repository, but please don't post in both repositories. It's just me...

Thanks for the report. `get()` with `pixelDensity(2)` should be returning an image with pixels coordinates based on the higher resolution… something must be broken with that.

`curveVertex()` should work just fine in PDF, so it sounds like a problem in your code.

Can you explain that? That sounds like a bug in `PShape`.

Thanks for the clarification, someone will have to look into that.