Skip to content

Text caret position shifts when typing Japanese #447

Closed
@processing-bot

Description

@processing-bot

Created by: TN8001

This was translated by a machine.
Sorry for the delay in reporting this, as it stayed in beta1 due to #403 issues.

Description

Japanese characters are usually twice as wide as alphabetic characters. (Even in a monospace font!!!)
The caret position seems to be confused because all characters are determined to be the same width.

Many fonts are twice as wide (two alphabetic characters for one Japanese character), but some are not.
fontsize

Expected Behavior

There was no problem with beta4.

Processing.4.0b4.mp4

Current Behavior

The video is beta5, but the same applies to beta6 and beta7.

Processing.4.0b5.mp4

Your Environment

  • Processing version: 4.0b5 or later
  • Operating System and OS version: Windows10

settings

Metadata

Metadata

Assignees

No one assigned

    Labels

    has attachmentAttachment was not transfered from GitLabhelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions