Never mind.  I was not prefixing the output with "show", so
pd 'show cairo TestCairo.png 1000 1000'
works.

I was confused because
pd 'canvas TestOutput.htm 1000 1000'
(without "show") also works, so I was mimicking that format with the other
options but they appear to require "show" whereas "canvas" does not.



On Tue, Mar 31, 2020 at 12:04 PM Devon McCormick <[email protected]> wrote:

> Hi J-programming -
> When I was looking into producing graphics files from plot output, I
> notice that a couple of them seem to fail.
>    JVERSION
> Engine: j901/j64avx/windows
> Release-c: commercial/2020-01-11T13:27:52
> Library: 9.01.22
> Platform: Win 64
> Installer: J901 install
> InstallPath: e:/users/owner/j901
> Contact: www.jsoftware.com
>    load 'plot'
>
> pd +"0/~1 o. i:6j99 [ pd 'type surface' [ pd 'reset'
>    pd 'qtc TestQTC.png 1000 1000'
> |value error: glfontextent_jglc_
> |       glfontextent`glfontextent_jglc_@
> .(Poutput=iQTC)gtkfontdesc^:(0={.0#x)x
> dbr 1 [ dbr 0
> pd 'cairo TestCairo.png 1000 1000'
>
> |domain error: cairo_image_surface_create
>
> | plotcs=: cairo_image_surface_create<"0 CAIRO_FORMAT_ARGB32,y
> I see "glfontextent" defined in "'~addons/ide/qt/gl2.ijs" but it's in
> namespace "jgl2", not "jglc".  I get the same errors in jconsole as in JQt.
>
> Has anyone else encountered this?  Does anyone have an idea why it's
> happening?
>
> Thanks,
>
> Devon
>
> --
>
> Devon McCormick, CFA
>
> Quantitative Consultant
>
>

-- 

Devon McCormick, CFA

Quantitative Consultant
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to