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

fix: 文字にジャギが発生する #99

Open
tufusa opened this issue Jun 20, 2024 · 0 comments
Open

fix: 文字にジャギが発生する #99

tufusa opened this issue Jun 20, 2024 · 0 comments

Comments

@tufusa
Copy link
Member

tufusa commented Jun 20, 2024

Rの上の線などが欠けていることがわかる
image

一部の日本語ttfフォントにおいて発生する現象らしく、特に小さい字で目立つ
cf. https://irokoto.co.jp/blog/20200911/post-16

対応案

  • CSSでtransform: rotateZ(0.03deg)などとする
    • 小さくだがページの見た目が変わってしまうので避けたい
  • フォントをサブセット化する
    • Webフォントでなくなってしまう
    • 作業が面倒
  • フォントを変える
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