Hello, I am testing a cloud application containing CGX at https://az.nuvolos.cloud/
There I came across the following strange behaviour with CGX hcpy command.
Left is the preview of the png file in vscode, to the right you see the actual cgx window.
The triad including the “s” tag is mirrored about the horizontal axis and the graphics area also seems to be mirrored, at least the title is gone and the upper margin (where the title could have gone) is cut off.
This looks the same for gif files.
The native export format of CGX seems to be tga, other formats are generated using the convert command.
Yet hcpy tga generates a file, which also isn’t correct. In Inkscape it displays like this
This means the file is still wrong and not just mis-oriented.
here is another example of a “piecewise mirrored” image:
CCX and CGX have been built from source by the nuvolos admins, the user (me) just has no access to the header file, i.e. I can’t compile
The following added info might be of help:
- if compiled and run on a quite old virtual box (Linux machine, nodename vb, release 3.16.0-38-generic, version #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015, machine x86_64), the hcpy command works correct.
- if I copy that executable from the virtual box to the nuvolos application, the problem appears again.
- so I assume that it is not a problem on CGX code side but in some library or external tool used in the process of hardcopying, or even in the graphics interface of the system.
Has anyone encountered and possibly fixed this kind of problem? Or any idea where to dig for a solution?