merge TTF font files (for using in CSS)

前端 未结 1 423
灰色年华
灰色年华 2021-01-22 06:54

Maybe somebody did do this:

I have several files for one font for each style (regular,bold, italic, italc-bold) font-italic.ttf font-bold.ttf font-regular.ttf

Ho

相关标签:
1条回答
  • 2021-01-22 07:38

    You cannot. A single font file describes the glyphs used for a particular font in a particular style.

    While you could probably merge them and use Stylistic Sets to refer to the different fonts that is something you cannot do in CSS (and most other applications neither). Apart from that (and things like Arabic) there is (as far as I know) no straightforward way to have different glyphs for the same code points in a font file.

    0 讨论(0)
提交回复
热议问题