Created
September 25, 2015 13:20
-
-
Save insanehunter/bbc18f392e06efd1a01e to your computer and use it in GitHub Desktop.
шелл скрипт который фиксит шрифты в имаеджмеджике
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make a new directory for ImageMagick local settings and cd into it | |
mkdir ~/.magick | |
cd ~/.magick | |
# Grab script to find all fonts on system and store them in a config file | |
curl http://www.imagemagick.org/Usage/scripts/imagick_type_gen > type_gen | |
# Run script, telling it where my fonts are and create "type.xml" file with list | |
find /System/Library/Fonts /Library/Fonts ~/Library/Fonts -name "*.[to]tf" | perl type_gen -f - > type.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment