Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
[B! font][web] gntのブックマーク
[go: Go Back, main page]

タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

fontとwebに関するgntのブックマーク (1)

  • Yu Gothic UIに text-spacing-trim を適用するとバグる

    halt と hmtx を見る Windows に標準搭載される Yu Gothic UI や游ゴシックには、GPOS テーブルに halt 機能タグが含まれている。 halt 機能タグの正式名称は「字幅半角メトリクス」であり、全角の約物を半角として扱う際などに位置を補正する役割を持つ。text-spacing-trim プロパティの実装においても、この halt の値を見て文字詰めを決定している。 TTX(fontTools が提供する解析ツール)を用いて、Yu Gothic UI/游ゴシック の halt と hmtx(水平方向のレイアウト情報)を値をダンプしてみる。 ttx -t GPOS YuGothicUI-Regular.ttf ttx -t GPOS YuGothic-Medium.ttf ttx -t hmtx YuGothicUI-Regular.ttf ttx -t h

    Yu Gothic UIに text-spacing-trim を適用するとバグる
    gnt
    gnt 2025/03/05
    コレが正解っぽい。YUゴ本体とYUゴUIで約物文字幅は半分になってる(設計意図通り)のに約物スペーシング設定をコピペでサボってるMSが悪い。
  • 1