UPDATE 2:

weep, weep.

It's the font.    :-(

I haven't worked out what the specific issues are, but it simply fails with many, many fonts. Don't know whether it is a problem with Postscript, TrueType, Unicode or what.

I suppose I should lodge this as a bug - quite serious, in my opinion - since the ability to output images from specific controls was one of the features of 2.7.2 I believe. I've never used bugzilla before (!) is it simple to do?


Unhappy Chris



On 9 Aug 2006, at 15:28, Chris Carroll-Davis wrote:

Update:

I can of course make this work by grabbing the relevant portion of screen (rather than specifying the field):

  put globalloc (Topleft of field fname) into tl
  put globalloc (botright of field fname) into br
  export snapshot from rect tl,br to file imgPath as PNG

But this is a bit risky as I can't guarantee that there will be nothing on top of the field (e.g. floating palette) or that the field will completely contained on screen.


Chris



On 9 Aug 2006, at 14:59, Chris Carroll-Davis wrote:


Hello everyone.

Can anybody help with this ...

I am exporting PNGs from fields, using this syntax:

  export snapshot from field fname to file imgPath as PNG

This works just fine on about 30 or so fields, but when I come to one particular field it fails with error message:

    export: can't write to file, mask file, or container

All the fields are opaque. If I switch this field to non- opaque... it works fine... or if I export as JPEG it works fine! The only difference (that I can see) between this field and others is that it is larger than the others.

Has anyone come across this problem before? Could there be some other property that I have overlooked that is causing the problem?

I am pulling my hair out at this one (and at my age I don't have too much to lose)


Chris




_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to