ChangeLog.txt $Revision: 1.1 $ $Date: 2004/12/01 04:25:35 $ Version 0.5.1 Performed the following modifications to the example.tcl script: o Added "package require Tk" at the beginning of the script. o Changed borderwidth and highlight thickness on the canvas, .c, to zero. o Explicitly set the font on the canvas text item to "Helvetica 10", to allow correct PDF file generation across platforms. Corrected the file trailer generation in ::pdf::AppendFinalDocumentObjects so that the the byte offset from the beginning of the file to the beginning of the xref keyword in the last cross-reference section is correctly calculated. Thanks to Torsten Reincke for the feedback and code to fix the bug. Corrected the text positioning algorithm in ::pdf::TextConvert to correctly place the starting location for each individual text block. This was due to a misunderstanding of how the "Td" operator works. Thanks to Arjen Markus for the feedback and code example that helped in fixing the bug. Performed general changes to make document xref come out correct: o Added space to the end of "65535 f" in ::pdf::AppendInitialDocumentObjects. o Added space to the end of "00000 n" in several procedures. o Added a newline to the "%%EOF" string in ::pdf::AppendFinalDocumentObjects. o PDF file output is configured to "Unix" mode in ::pdf::generate so that the document follows the specification regardless of platform. Thanks to Clif Flynt for pointing out this problem. Changed parameters to AppendPageObject in ::pdf::generate for the specified width and height of the canvas width to the actual width and height that the canvas widget shows after geometry management. The "winfo width" and "winfo height" commands are used to obtain these values. This was done just to make the generated PDF file look more like what the example script displays. In the future the width and height of the document will be specified via parameters to ::pdf::generate. Clarified the comment line declaring the beginning of a rendered window item in ::pdf::WindowConvert. Added inclusion of comment line declaring the beginning of a rendered image item in ::pdf::ImageConvert. Added inclusion of comment line declaring the beginning of a rendered bitmap item in ::pdf::BitmapConvert. Added curly braces around expr operators in ::pdf::AppendPageObject, ::pdf::AppendResourceObject, and ::pdf::AppendInitialDocumentObjects. Performed general changes to clean up the document structure: o Added newline chacter after "<<" in several procedures to flatten the document structure. o Removed unneeded "/ProcSet [/PDF] " declaration from ::pdf::AppendResourceObject. o Removed unneeded "/Outlines" object and the "/Type Outlines ... /Count 0" entry as the second xref in ::pdf::AppendInitialDocumentObjects. Version 0.5 (2004/11/21) Original release of Trampoline! on SourceForge.