A platform for community discussion. Free, open, simple.
DOCS: Updates docs for OSX dev with fontforge (#11956)
Ricard Solé6f263653c6d4
diff --git a/docs/DEVELOPMENT-OSX-NATIVE.md b/docs/DEVELOPMENT-OSX-NATIVE.mdindex f34cbcc922b..1c56df4524f 100644--- a/docs/DEVELOPMENT-OSX-NATIVE.md+++ b/docs/DEVELOPMENT-OSX-NATIVE.md@@ -183,15 +183,17 @@ ImageMagick is used for generating avatars (including for test fixtures).brew install imagemagickImageMagick is going to want to use the Helvetica font to generate the-letter-avatars:+letter-avatars. To make it available we need to extract it from the system+fonts:```sh-brew install fondu+brew install fontforgecd ~/Library/Fonts-fondu /System/Library/Fonts/Helvetica.dfont+export HELVETICA_FONT=/System/Library/Fonts/Helvetica.ttc # The extension might be dfont instead+fontforge -c "[open(u'%s(%s)' % ('$HELVETICA_FONT', font)).generate('%s.ttf' % font) for font in fontsInFile('$HELVETICA_FONT')]"mkdir ~/.magickcd ~/.magick-curl https://www.imagemagick.org/Usage/scripts/imagick_type_gen > type_gen+curl https://legacy.imagemagick.org/Usage/scripts/imagick_type_gen > type_genfind /System/Library/Fonts /Library/Fonts ~/Library/Fonts -name "*.[to]tf" | perl type_gen -f - > type.xmlcd /usr/local/Cellar/imagemagick/<version>/etc/ImageMagick-6```