LoginSignup
16
18

More than 5 years have passed since last update.

フォントのアンチエイリアス指定

Posted at

Webkitのみですが、フォントのアンチエイリアスを指定できるそうな。

-webkit-font-smoothing: none;
-webkit-font-smoothing: antialiased;
-webkit-font-smoothing: subpixel-antialiased;

アンチエイリアスの強さは上から順に…

  • なし
  • やんわり
  • 強く(デフォルト)

という感じ。

とあるWebフォント使ってて、細部が潰れてて初めて気づいた。今まで気付かなかった自分に愕然としてる…

でも font-weight なんかと組み合わせると太さのバリエーションが増やせるかな?と思いました試してないけど。

参考

safariで微妙に太く表示されるフォントを、他のブラウザに合わせる。 | 乱雑モックアップ

16
18
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
18