No file magic for truetype files?
Posted: 2010-05-30T11:14:47-07:00
$ display /usr/share/fonts/truetype/freefont/FreeMono.ttf (displays font summary)
$ cp /usr/share/fonts/truetype/freefont/FreeMono.ttf foo
$ display foo
display: no decode delegate for this image format `foo' @ constitute.c/ReadImage/530.
$ mv foo foo.ttf
$ display foo.ttf (displays font summary)
This -- somewhat -- matters when handling font resources for digital cinema. Those might have uuid filenames:
$ file 3dec6dc0-39d0-498d-97d0-928d2eb78391
3dec6dc0-39d0-498d-97d0-928d2eb78391: TrueType font data
This with ImageMagick 6.5.7-8 2009-11-26 Q16 (Ubuntu 10.04's default, unfortunately)
$ cp /usr/share/fonts/truetype/freefont/FreeMono.ttf foo
$ display foo
display: no decode delegate for this image format `foo' @ constitute.c/ReadImage/530.
$ mv foo foo.ttf
$ display foo.ttf (displays font summary)
This -- somewhat -- matters when handling font resources for digital cinema. Those might have uuid filenames:
$ file 3dec6dc0-39d0-498d-97d0-928d2eb78391
3dec6dc0-39d0-498d-97d0-928d2eb78391: TrueType font data
This with ImageMagick 6.5.7-8 2009-11-26 Q16 (Ubuntu 10.04's default, unfortunately)