You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting this error RuntimeError: Magick: Unable to read font (n019003l.pfb) reported by ....\magick\annotate.c:1202 (RenderFreetype)
at line 'img.draw(text)'
I have ghostscript installed
from pgmagick import Image, DrawableCircle,DrawableText
img = Image('./images/1.jpg')
circle = DrawableCircle(100, 100, 20, 20)
img.draw(circle)
img.fontPointsize(160)
text = DrawableText(30, 250, "Hello pgmagick")
img.draw(text)
img.write('./images/draw_over_image_1.png')
Help would be appreciated!
The text was updated successfully, but these errors were encountered:
error:system_profiler is not recognized as an internal or external command.
executing mgkgen.py gives this error
Traceback (most recent call last):
File "mgkgen.py", line 144, in
main()
File "mgkgen.py", line 81, in main
with Popen(["system_profiler", "-xml", "SPFontsDataType"], stdout=PIPE) as proc:
File "D:\Installs\IT\Python\Python35\lib\subprocess.py", line 676, in init
restore_signals, start_new_session)
File "D:\Installs\IT\Python\Python35\lib\subprocess.py", line 957, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
By the way I was scanning through the Python Scripts of this library. I found type.mgk file with 4 lines containing typemap and include tags
type-ghostscript.mgk file has type and typemap tags for various fonts
I am getting this error
RuntimeError: Magick: Unable to read font (n019003l.pfb) reported by ....\magick\annotate.c:1202 (RenderFreetype)
at line 'img.draw(text)'
I have ghostscript installed
Help would be appreciated!
The text was updated successfully, but these errors were encountered: