开发者

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

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

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 no开发者_开发知识库t 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!


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.


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.


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.


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!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜