fontpreview icon indicating copy to clipboard operation
fontpreview copied to clipboard

Is it possible for imagemagick to draw font like .ttc/woff?

Open aeghn opened this issue 4 years ago • 5 comments

aeghn avatar Jun 24 '20 11:06 aeghn

@aeghn I am not sure. I dont know much about imagemagick, sorry

sdushantha avatar Jun 24 '20 14:06 sdushantha

@aeghn I have not tried, have you tried? it seemed not in 2016 but a python script was written for woff to ttf conversion here

myselfhimself avatar Jun 24 '20 14:06 myselfhimself

@myselfhimself Thanks for the reply, but I think fontpreview as a font previewer which should get the image without transforming the font format, so I'm here to ask can we view various fonts by using convert or to find another tool to draw the images.

aeghn avatar Jun 24 '20 15:06 aeghn

hello ImageMagick links to Freetype, a C library that can render WOFF 2 fonts since may 2020 and WOFF 1 since 2013: https://www.freetype.org/ (see version FreeType 2.10.2) tried converting a woff font ubuntu 19.04: convert Originals\ is\ Out.woff a.png convert-im6.q16: no decode delegate for this image format WOFF' @ error/constitute.c/ReadImage/560. convert-im6.q16: no images defined a.png' @ error/convert.c/ConvertImageCommand/3258. Here is my image magick version: Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org Copyright: © 1999-2019 ImageMagick Studio LLC License: https://imagemagick.org/script/license.php Features: Cipher DPC Modules OpenMP Delegates (built-in): bzlib djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png tiff webp wmf x xml zlib

st 24. 6. 2020 v 17:53 odesílatel wangz [email protected] napsal:

@myselfhimself https://github.com/myselfhimself Thanks for the reply, but I think fontpreview as a font previewer which should get the image without transforming the font format, so I'm here to ask can we view various fonts by using convert or to find another tool to draw the images.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sdushantha/fontpreview/issues/43#issuecomment-648906231, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJU5QUTOWB5FNQX7ADH6MDRYIOODANCNFSM4OGSMGMQ .

myselfhimself avatar Jun 24 '20 20:06 myselfhimself

Image magick master branch seems to have eg. OTF support but no WOFF support https://github.com/ImageMagick/ImageMagick/search?q=otf&unscoped_q=otf https://github.com/ImageMagick/ImageMagick/search?q=woff&unscoped_q=woff so even if Freetype would support rendering, ImageMagick has nothing to allow it obviously

st 24. 6. 2020 v 22:03 odesílatel Jonathan-David SCHRODER < [email protected]> napsal:

hello ImageMagick links to Freetype, a C library that can render WOFF 2 fonts since may 2020 and WOFF 1 since 2013: https://www.freetype.org/ (see version FreeType 2.10.2) tried converting a woff font ubuntu 19.04: convert Originals\ is\ Out.woff a.png convert-im6.q16: no decode delegate for this image format WOFF' @ error/constitute.c/ReadImage/560. convert-im6.q16: no images defined a.png' @ error/convert.c/ConvertImageCommand/3258. Here is my image magick version: Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org Copyright: © 1999-2019 ImageMagick Studio LLC License: https://imagemagick.org/script/license.php Features: Cipher DPC Modules OpenMP Delegates (built-in): bzlib djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png tiff webp wmf x xml zlib

st 24. 6. 2020 v 17:53 odesílatel wangz [email protected] napsal:

@myselfhimself https://github.com/myselfhimself Thanks for the reply, but I think fontpreview as a font previewer which should get the image without transforming the font format, so I'm here to ask can we view various fonts by using convert or to find another tool to draw the images.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sdushantha/fontpreview/issues/43#issuecomment-648906231, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJU5QUTOWB5FNQX7ADH6MDRYIOODANCNFSM4OGSMGMQ .

myselfhimself avatar Jun 24 '20 20:06 myselfhimself