Want to embed a font but cannot convert from Font Suitcase or PostScript Type 1 files [closed]

血红的双手。 提交于 2019-12-05 23:59:17

问题


I am using FontSquirrel font generator to try to generate the embedded font files so that I can use the @font-face in css to embed for a Website.

However, the font files I have (on Mac) are as follows and are greyed out and it is not possible to select them to convert on FontSquirrel or other converters (i.e. they don't seem to be a raw file type I can use to embed):

  • PostScript Type 1 Outline Font
  • Font Suitcase

Can I somehow convert these to .otf or .ttf or does anyone know of another embedding method.

Thanks!


回答1:


Have you tried FontForge?

The GUI is horrible, and it needs X11 to run on Mac, but it's really a nice tool to convert any type of font.




回答2:


Couldn't get that solution to work on Mavericks... found this great guide: http://macthoughts.net/20131112-373 - it's free, easy and works perfectly.




回答3:


As of at least version 0.4.1 of DFontSplitter, the Mac version has the ability to split TrueType Collection (TTC) and Font Suitcase files in addition to Dfont files.




回答4:


I was also getting .bdf files output when I converted the font suitcase file (.ffil) to .dfont and then used dfontsplitter.

However, I found a solution to get around this. Instead of converting the suitcase file (.ffil) to .dfont, I converted the individual fonts (.lwfn) that went with the suitcase into .dfont files.

Then, when I used dfontsplitter on these, it gave me a .pfb file for each of the individual fonts. Then, I used an online service at http://www.freefontconverter.com/ to convert the .pfb files into fully functional .ttf files with no errors!



来源:https://stackoverflow.com/questions/3228957/want-to-embed-a-font-but-cannot-convert-from-font-suitcase-or-postscript-type-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!