Skip to content

Pixels trail behind text after importing JavaFX. #16

Open

Description

@Buggem

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

Activity

  1. benfry commented on Apr 23, 2022

    @benfry
    Contributor

    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.)

  2. transferred this issue frombenfry/processing4on Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions