Main page
pdf4tcl changes
Changes
Changes in v0.8 (2012-06-12):
- Added curve method, replacing qCurve.
- Handle built in zlib in 8.6 [Bug 18353].
- Support patterns for canvas dashes.
- Added -fontmap to canvas dump to control fonts.
- Added setLineWidth and setLineDash methods.
- Fixed bug "that makes non-latin Italic TTF-fonts unusable".
Incompatible changes in v0.8:
- Corrected text angle to be CCW like other angles.
- Deprecated: qCurve.
- Cleaned up to name ascend/descent font metrics consistently.
Changes in v0.7 (2010-01-30):
- Support for embedding TrueType or Type1 fonts.
- Added getTextPosition method.
- Added -rotate page option.
- Added getImageHeight, getImageWidth, getImageSize methods.
- Added bookmarkAdd and metadata methods.
- Support background fill for angled text.
Incompatible changes in v0.7:
- Changed height metric in getFontMetric to measure full bbox for all fonts.
v0.6 was never released
Changes in v0.5 (2009-01-04):
- Use cp1252 encoding to match font encoding.
- Added -linesvar option to drawTextBox.
Changes in v0.4 (2008-03-04):
- New method canvas for dumping canvas contents to PDF. Demo
- PNG support (alpha channels and interlace is not supported).
- New method addImage for generic image handling.
- New methods putRawImage, addRawImage.
- New methods moveTextPosition, setLineSpacing, getLineSpacing.
- Support Tk's units "m", "c" and "p".
- Added height metric to getFontMetric.
- Added document option -unit.
- Reworked drawTextBox to work correctly in all orientations. Possibly incompatible.
- Support Tk color formats.
Incompatible changes in v0.4:
- Methods circle, polygon and arc changed to be more consistent.
- Deprecated: addJpeg.
- Removed: drawText, drawTextAt, beginTextObj, endTextObj, moveTo, closePath.
- Require an explicit set font. Nothing default anymore.
Changes in v0.3 (2008-01-19):
- Added -file option to continuously write to file instead of
accumulating in memory.
- More font metric introspection.
- More general handling of page properties like size and margins.
- Draw text with background fill.
- All user coordinates support e.g. "5mm" as input.
- Redesigned to use Snit to get clearer code.
This caused a noticable slowdown but since
Snit will be more than twice as fast with 8.5 this will probably
be regained.