WebFaction
Community site: login faq

I'm using ImageMagick to rasterize SVGs to PNGs in a django app. However, my SVG template uses a custom Google font (Fira_Sans_Extra_Condensed): https://fonts.google.com/selection?selection.family=Fira+Sans+Extra+Condensed

Since I don't have sudo permissions, I can't load the font files into /usr/share/fonts as I would normally do. Is there a way I can load the font on my servers? I'm happy to do so in the user space, as long as the system can read them.

I've been using webfaction a few months, so I'm still new on how you handle these sorts of things and I'd appreciate any help I can get.

asked 09 May, 01:26

amseufert
133
accept rate: 0%


In a Linux OS you can add your own fonts if you place them in the ~/.fonts directory.

If that directory doesn't exist, you will need to create it.

permanent link

answered 09 May, 07:25

iliasr ♦♦
1.9k14
accept rate: 36%

That worked! I thought I'd have to load the fonts in /usr/share/fonts but that's not the case. Thank you!

(10 May, 22:34) amseufert
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×11
×4
×3
×2

question asked: 09 May, 01:26

question was seen: 52 times

last updated: 10 May, 22:34

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2016 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM