Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pixels trail behind text after importing JavaFX. #16

Open
Buggem opened this issue Mar 28, 2022 · 1 comment
Open

Pixels trail behind text after importing JavaFX. #16

Buggem opened this issue Mar 28, 2022 · 1 comment

Comments

@Buggem
Copy link

Buggem commented Mar 28, 2022

Description

Making a new line in Linux once imported JavaFX results in strange dots/pixels on the new line after that.

Expected Behavior

No strange suspect white pixels.

Current Behavior

Strange suspect white pixels!

Every time I make a new line there is a pixel there.

Here's a screenshot.
Screenshot from 2022-03-28 17-05-55

The white pixels are too small to be part of the font, and the one on line 2 looks a bit different (more, white, less pixels) to the others.

This is super strange, I'd like to know more about this issue.

If you want further info about the bug (logs, videos, etc.) I'll be happy to provide :)

Steps to Reproduce

  1. Download the JavaFX library if needed.

Your Environment

  • Processing version: 4.0 b6
  • Operating System and OS version: Ubuntu 18.04.6 Bionic Beaver
  • Other information: (none -- yet)

Possible Causes / Solutions

@benfry
Copy link
Contributor

benfry commented Apr 23, 2022

Very odd; my guess is that the import triggers accelerated hardware rendering, which is sometimes less accurate, or at least can cause minor subpixel shifts like this. (The tiny pixels come from the vertical caret line extending just slightly too far, so when a line of code is redrawn, it's not fully cleared.)

@benfry benfry transferred this issue from benfry/processing4 Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants