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

커서를 위아래로 움직일 때 가로 위치가 변함 #1

Open
y-kim opened this issue Nov 1, 2021 · 2 comments
Open

커서를 위아래로 움직일 때 가로 위치가 변함 #1

y-kim opened this issue Nov 1, 2021 · 2 comments
Labels
wontfix This will not be worked on

Comments

@y-kim
Copy link
Owner

y-kim commented Nov 1, 2021

Visual Studio Code에서 한글과 로마자 사이의 커서의 가로 위치는 고정되나, 넓은폭으로 표시된 심볼 (U+2000 ~ U+2BFF) 사이에는 가로 위치가 고정되지 않는 것으로 보임.

cursor

@y-kim
Copy link
Owner Author

y-kim commented Nov 1, 2021

일반적으로 프로그래밍 용 텍스트 편집기는 커서의 위치를 개별 문자 너비의 합으로 계산하며, 개별 문자의 너비는 1 또는 2로 표현됨. 로마자는 1, 한글을 포함한 동아시아 문자는 2로 계산하는 것은 자명하나 이 범주에 속하지 않는 문자는 편집기에 따라 1 또는 2의 값이 사전에 정의되어 있음.

이 경우 심볼 문자에 너비 1이 설정된 것으로 보이며, 글꼴 만으로는 이 문제를 해결할 수 없음.

@y-kim y-kim added the wontfix This will not be worked on label Nov 1, 2021
@y-kim
Copy link
Owner Author

y-kim commented Nov 1, 2021

VS Code에 글꼴의 visual 너비 처리 방식에 대한 기능 추가 요청을 남김.
microsoft/vscode#136226

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant