I am trying to use some fonts in ImageMagick which are not showing up, despite me using the same script that works on another Mac. Listing the fonts in /Library/Fonts I can see that the missing fonts are listed differently when I use the ls -lahFG command.

What does this way of listing files mean?

Some fonts are listed differently in Terminal


It means the font files are marked as executable, i.e. they contain code which can be executed. This is clearly incorrect for what should be a font file with no concept of being executed.

  • 1
    Generally speaking, while most files marked as executable actually are, nonetheless, just because any given file is marked as executable, it doesn't necessarily mean it actually contains code that can be executed. In this particular case the Roboto-*.ttf files are erroneously set as executable at the time they were extracted from the roboto-master.zip file from https://github.com/google/roboto. – user3439894 May 24 '17 at 18:27
  • a chmod a-x Roboto*.ttf (maybe with sudo) will remove the unnecessary executable flag. – jvb May 24 '17 at 19:23
  • Thank you so much for your answers =) I will re-chmod them and see if they still don't show up in ImageMagick. =) – Discofan Jun 19 '17 at 8:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .