Using OS 9 resource fork fonts in CSS with @font-face

后端 未结 3 767
盖世英雄少女心
盖世英雄少女心 2020-12-25 08:50

I have some old OS 9 fonts which contain the font data in the resource fork. When I try to link such a font in a @font-face and open up the HTML in a browser, the text still

3条回答
  •  长情又很酷
    2020-12-25 09:19

    The font data in an old Mac OS font suitcase is not in TTF format -- copying the resource fork to a TTF file will give you Mac OS resource data in a file named "font.ttf", which isn't right. You'll need to use a tool like FontForge (free/open-source) to do the conversion.

提交回复
热议问题