Assembling Fragments

View Original

Inkscape - Fonts

Inkscape has a tendency to just select all the fonts on your computer. All of them.

What makes this worse is that now days there are a million of them, most of them will never see the light of day, nor should they. They are junk created by some UX snowflake that felt existing fonts couldn’t convey the nuance of their genius. Unfortunately this person can usually manage to convince the product manager that this new font is the best thing since sliced bread, and they then order it be hard coded into whatever abomination of an application they ‘look after’. As such it can be difficult to get rid of fonts without breaking stuff.

So, if you’re using Inkscape (using a Mac) and want to save yourself having to constantly scroll past a bunch of crap when selecting a font, do this:

  • Using Finder navigate to

/Applications/Inkscape.app/Contents/Resources/etc/fonts/

In here you should find a file called fonts.conf

  • Open another Finder window and navigate to the following directories:

/System/Library/Fonts
/Library/Fonts
~/Library/Fonts
  • COPY the fonts you want to see in Inkscape into the folder you navigated to in Step 1.

    I recommend that you create a new fonts folder within the fonts folder you just navigated to and move them in there, you could just dump them into the fonts folder itself along with the fonts.conf file, but this feels messy.

  • Once you have copied the fonts you want into the new folder, open up the fonts.conf file using text edit. In this file you should see the following:

	<!-- Font directory list -->
	<dir>/System/Library/Fonts</dir>
	<dir>/Library/Fonts</dir>
	<dir>~/Library/Fonts</dir>

Comment out these lines, and add one that points to the folder you copied your fonts into, so for me this ends up looking like this:

	<!-- Font directory list -->
	<!--
	<dir>/System/Library/Fonts</dir>
	<dir>/Library/Fonts</dir>
	<dir>~/Library/Fonts</dir>
	-->
	<dir>/Applications/Inkscape.app/Contents/Resources/etc/fonts/fonts</dir>

You could delete the original lines instead of commenting them out, but I prefer this just in case I ever need to revert the changes I’ve made.

Done!

Now when you launch Inkscape you should only see the fonts that you copied into the new folder. If you want to add any fonts in the future, you will also need to copy them into here for them to show up.