Re: [Inkscape-devel] [Inkscape-user] fonts disappear in OSX
On 2008-February-05 , at 19:37 , churro wrote:
This is interesting, I have not upgraded office since I started working on this in October. The last time it worked fine was last week, before I upgraded Inkscape. I don't think I changed anything else. I also found this font in MSOffice folders on my Mac, so it is an MS font... I'll convert it to ttf and see if that works. I can't think of anything else I changed. I guess I must have a whole bunch of these fonts from MS, is there a way to batch convert them or something like that so I can use them in Inkscape? Thanks
It has been a frequent request associated with all these font issues. While it does not solve the underlying problem, it may ease the font conversion: I've finally put up a small app based on a script of mine which did this. Drop one or several font files on it and it will convert all of them to TTF, in the same directory.
http://jo.irisson.free.fr/dropbox/Font2TTF.zip
It uses Fondu[1] to convert Font Suitcases (wether they are dfont or the old Font suitcase format) and FontForge[2] for other types (otf, pfb currently). Fondu is included for 10.5 users (on Intel but I guess there are few 10.5 users on PPC). Fontforge needs to be installed (either via the link below or through MacPorts/Fink. I used MacPorts, it works fine).
WARNINGS: - this may just-not-workTM - it overwrites ttf fonts of the same name already present (this is to allow to reconvert fonts if you already did it, without having to manually deleting all of them). - this duplicates the fonts already present on the system. FontBook will put a dot next to their name. You'll probably need to deactivate a version so that OS X behaves sensibly. - if you convert system fonts, you'll not be able to deactivate them, hence you'll need to live with the duplicates - duplicated font can cause rendering problems on Firefox (last time I tried anyway)
ADVICE: - copy (not move, copy. this is achieved by holding down the Alt key when dropping the files) the fonts from your libraries (/Library/ Font, /Users/yourname/Library/Font) to somewhere (a folder on your desktop is fine), then select the fonts in this new location and convert them there, eventually select all the newly created TTFs and put them back in a font library folder (or double click each of them to install them) - if you want these TTF versions to be available to X11 apps only and to continue to use the rest idependently, move them to an X11 only location. ~/.fonts for example (the .fonts folder in your home directory). Do to this, in Terminal: mkdir ~/.fonts cd the-folder-where-your-ttf-fonts-are mv *.ttf ~/.fonts - manually rebuild the font cache, just to be sure. In Terminal: sudo fc-cache
Let me know if it works/helps/screws everything up. Cheers,
[1] http://fondu.sourceforge.net/ [2] http://sourceforge.net/project/showfiles.php?group_id=103338&package_id=...
JiHO --- http://jo.irisson.free.fr/
participants (1)
-
jiho