sdushantha / fontpreview

Highly customizable and minimal font previewer written in bash
MIT License
909 stars 39 forks source link

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

Open aeghn opened 4 years ago

sdushantha commented 4 years ago

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

myselfhimself commented 4 years ago

@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

aeghn commented 4 years ago

@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.

myselfhimself commented 4 years ago

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 defineda.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 notifications@github.com 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 commented 4 years ago

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 < jonathan.schroder@gmail.com> 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 defineda.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 notifications@github.com 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 .