Various unicode symbols fail to display anywhere in the application after being displayed in italics
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 领域
- desktop
调研方向
首先,在 Windows 11 上使用 Racket 8.8 在 DrRacket 中重现该问题,使用粘贴的 𝕣 字符,然后比较斜体注释、错误和状态栏消息。跟踪斜体渲染路径,并验证修复后数学 Unicode 符号在当前窗口和新打开的窗口中仍能正确显示。
由索引模型根据 Issue 内容生成。
描述
Tested on Windows 11 with Racket 8.8
Steps to reproduce:
- Open DrRacket
- Create a new racket file
- Paste 𝕣 into it
Once this is done, every 𝕣 character within the current window, as well as any 𝕣 characters displayed in new windows, will experience the bug until the application is completely restarted.
To confirm that italics are specifically the cause, you can reproduce the bug with comments if you change their style settings. Conversely, you can eliminate the bug from the REPL if you change it to not italicize errors.
Originally I encountered this problem just with the less conventional double struck letters (i.e everything but ℂ, ℍ, ℕ, ℙ, ℚ, ℝ, and ℤ), but looking into it further it seems to affect other characters like ⟜⌾◶⎉⍟⎊⥊⌽⍉⍋⍒⍷. They're all mathematical so far, but that could just be because I haven't tested much else. As for how broken italics breaks every other instance of the character, that's still a complete mystery to me.
For the time being, is there a way to disable italics for status bar error messages like there is for REPL ones?
- 主要语言
- Racket
- 星标
- 517
- 派生
- 102
- 平均合并
- 20 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
racket/drracket 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 4/5 3-5 天 新手友好度 48/100
-
check-syntax
难度 4/5 3-5 天 新手友好度 48/100
-
难度 3/5 1-2 天 新手友好度 55/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
[Feature]未关闭
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 5 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
-
desktop enhancement P2
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
🐞 bug 🧩 bevy_gantz_egui
难度 2/5 1-3 小时 新手友好度 82/100
nannou-org/gantz#500 ·
维护者通常 1 天内回复