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

Invalid unicode rendering #249

Open
Metaxal opened this issue Nov 5, 2021 · 0 comments
Open

Invalid unicode rendering #249

Metaxal opened this issue Nov 5, 2021 · 0 comments

Comments

@Metaxal
Copy link
Sponsor Contributor

Metaxal commented Nov 5, 2021

The following code:

#lang racket/gui
(displayln (string-append "א" "\taleph"))
(define fr (new frame% [label "list"]))
(new list-box%
     [parent fr]
     [label ""]
     [choices '("ℵ\taleph"
                "א\taleph"
                "ε\tepsilon")])
(send fr show #t)

produces:
Screenshot from 2021-11-05 11-34-44

Observe that the א (U+05D0, right to left) line is reversed compared to what is specified. This may be a potential threat, based on this article.

The first aleph (U+2135, left to right) is also fine

Several other right-to-left symbols behave similarly.

The issue does not appear in DrRacket itself, only in the gui element (I did not try with other gui elements).

cc @samth @rfindler

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

1 participant