macvim-dev / macvim-dev/macvim
renderer strikethrough unicode code points off-by-one
まだ誰も着手していません。
- 主要言語
- Vim Script
- スター
- 7.9k
- フォーク
- 691
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Description
In MacVim 8.2.2127 (168) with Core Text Renderer on. This bug does not reproduce with Core Text Renderer off (legacy renderer on).
I believe what is happening is MacVim is displaying strikethrough unicode code points one character to the left of where they should appear, or something to that effect.
I'm using unicode control point "\u0336" for strikethrough
To Reproduce
Copy-paste and view this text in both renderers (in browser html textbox displays correctly but html preview/render appears incorrect).
this is some s̶t̶r̶i̶k̶e̶t̶h̶r̶o̶u̶g̶h̶ text
Expected behavior
Only "strikethrough" is struck.
Actual behavior
Strike extends before the word into the space. The final letter h is unstruck.
Screenshots

Environment:
MacOS Big Sur 11.0.1 (20B29), and 11.1 (20C69)
MacVim 8.2.2127 (168) with Core Text Renderer on
if has("gui_macvim")
set guifont=Courier:h12
set transparency=0
set blur=20
endif
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue ではソースファイルもテストも指定されていません。MacVim's Core Text Renderer を有効にしてテキストを再現し、legacy renderer と比較して、結合打ち消し記号 U+0336 の処理を追跡してください。打ち消し線が意図した単語の上で始まり、そこで終わり、前のスペースにずれ込まなければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- macos, vim
- 領域
- computer-graphics, desktop
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100