I still haven't had any luck trying to resolve this issue of the snapshots outputting with no text. Now testing on LC 8.1.8 stable after abandoning 7.0.6. Confirmed that it's not a font issue by trying about 5 different default fonts, all cached on the Linux system.
If I have 2 cards, x and y, both 768 width by 1024 height, using this code:
Code: Select all
go to card "x"
wait 100 milliseconds
put "test.png" into tPNGName
put "test2.png" into tPNGName2
put 300 into theMetadataA["density"]
export snapshot from card "x" at size 1536,2048 with metadata theMetadataA to file tPNGName as PNG
export snapshot from rect "0,0,768,1024" to file tPNGName2 as PNG
The first export snapshot line executes and creates the correct sized PNG, but only prints out images/lines, no text. The second line does not execute - it gives a script execution error for column 1 of card "y", despite the fact that the active card is "x". I made the same stack with only card "x" and it just gives a generic execution error. The variation 'from rect(the rect of this stack)' produces the same error. Could it be an environment issue, as Panos suggested in a mail to me that he used 'rect(the rect of this stack)' successfully when changing between 2 cards.
Edit: If I change the second export line to:
export snapshot from rect "0,0,768,1024" of card "x" to file tPNGName2 as PNG
...it does not produce the execution error and exports, but also displays no text.