AW: regression bug: corrupt filename at open printing to pdf
Tiemo Hollmann TB
toolbook at kestner.de
Fri Nov 10 03:33:08 EST 2017
Hi Mark,
I filed it at: http://quality.livecode.com/show_bug.cgi?id=20656
I am still trying to build a recepie stack, but up to now it only happens
with my live stack (see QC)
Thanks
Tiemo
-----Ursprüngliche Nachricht-----
Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag
von Mark Waddingham via use-livecode
Gesendet: Donnerstag, 9. November 2017 17:21
An: How to use LiveCode <use-livecode at lists.runrev.com>
Cc: Mark Waddingham <mark at livecode.com>
Betreff: Re: regression bug: corrupt filename at open printing to pdf
On 2017-11-09 11:01, Tiemo Hollmann TB via use-livecode wrote:
> Hello,
>
> LC 8.1.6 and 8.1.7 on Windows:
>
> I create PDFs with "open printing to pdf myFile.pdf". That works fine
> as far the filename doesn't contains Umlaute.
>
> If the filename contains Umlaute 2 PDF files are created (yes 2
> files!). The first file has the correct filename with Umlaute, but 0
> KB. The second file has a filename without the Umlaut (no strange
> replacement char, just one char less) and the correct content. When
> debugging, the filename within LC looks correct with Umlaut. When
> printing a PDF without Umlaute in the filename, everything works fine.
>
> I didn't found any bug in the QC, or am I the first one, using
> printing to pdf with European characters? Is there a workaround,
> anything with Unicode conversion for the filename?
If you could file a bug, that would be great.
On Windows, the PDFPrinter has to do a little dance with files so that it
passes a file that cairo will open correctly... However, it sounds like in
your case (perhaps due to WIndows version, or formatting of the target
drive) that the dance is not working correctly.
We'll need to patch cairo a little to get this to work correctly I suspect.
Warmest Regards,
Mark.
P.S. For now, if you output the PDF to a temp file in the same folder, then
'rename' then all should be well.
--
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list