Activity for Pdf4Tcl

  • Gregor Ebbing Gregor Ebbing posted a comment on ticket #9

    Updated patch v2.1 -- applies cleanly against unmodified pdf4tcl 0.9.4. Changes since initial submission: 8 field types: text, password, checkbutton, combobox, listbox, radiobutton, pushbutton, signature New options: -readonly, -required, -label, -caption, -action, -url, -group, -value, -options, -editable, -sort, -multiselect 67 new tests in form-ext.test (form-5.x to form-12.x) Bug fix in mytest glob pattern (tests/init.tcl) NeedAppearances never set (digital signature compatible) Fork with full...

  • Gregor Ebbing Gregor Ebbing posted a comment on ticket #9

    Changes since initial submission: Patch now applies cleanly against unmodified pdf4tcl 0.9.4 source tree: patch -p1 < addforms-v21.patch then make 8 field types (added: password, signature as 7th/8th type)

  • Gregor Ebbing Gregor Ebbing posted a comment on ticket #9

    New form types: password – masked text input combobox – dropdown with optional editing listbox – selection list with optional multiselect radiobutton – group-based selection pushbutton – reset/URL/submit actions Files provided: addforms-src-main.patch – the patch main.tcl – Patch against src/main.tcl form-ext.test – 36 tests test7.tcl – example with all types addForm-manpage.txt – documentation update for pdf4tcl.man test7.tcl ./examples/ Demo of all 7 form types addForm-manpage.txt

  • Andreas Kupries Andreas Kupries posted a comment on ticket #23

    Sorry. I have no local patches to pdf4tcl about this. I also have the tickets 19 to 22 open here, they do not come with code either.

  • Mikhail T. Mikhail T. posted a comment on ticket #23

    Andreas, knowing you, I suspect, you have private modifications to pdf4tcl, that you use :-) Can you attach the patches to the tickets here?

  • Holger Jakobs Holger Jakobs created ticket #24

    A CMap has too many code maps

  • Andreas Kupries Andreas Kupries created ticket #23

    RFE: support for page labels

  • Andreas Kupries Andreas Kupries created ticket #22

    metadata and setFont

  • Andreas Kupries Andreas Kupries created ticket #21

    Doc Issue -keywords

  • Andreas Kupries Andreas Kupries created ticket #20

    Doc bug: -format

  • Andreas Kupries Andreas Kupries created ticket #19

    RFE support for moddate and reader instructions

  • Harald Oehlmann Harald Oehlmann posted a comment on ticket #15

    I decided to use the patch with full capabilities. A border is just beautiful and it is helpful to find links. I looked into pdflatex and it used color "0 1 1" for hyperlinks and "0 0 1" for internal links. That looks good. So, here is the manual entry: hyperlinkAdd x y width height url ?options? x y width height is the box sensible for the hyperlink click url is the destination URL Possible options are: * -borderwidth: width of the border around the bounding box in display pixels, 0 to hide. Default:...

  • Harald Oehlmann Harald Oehlmann posted a comment on ticket #15

    Dear Peter, please find attached the patch for the command: hyperlinkAdd x y width height url where a hyperlink clickable area is added to the given rectangular PDF region. I had a version which implements a lot of options like: hyperlinkAdd x y width height url -borderwidth 3 -borderradius 15 -bordercolor {0 0 255} -borderon 10 -borderoff 2 -borderhighlight I but this looks old style. tclfpdf just implements the upper command and I think, this is reasonable. Nevertheless, pdflatex shows borders...

  • Harald Oehlmann Harald Oehlmann created ticket #18

    Make distance of lineSpacing observable

  • Harald Oehlmann Harald Oehlmann created ticket #17

    -align right is not respected, if non-standard characters are replaced by "?"

  • Harald Oehlmann Harald Oehlmann created ticket #16

    Add font capabilities for more than 256 characters - use-case: Chinese Output

  • Harald Oehlmann Harald Oehlmann created ticket #15

    Add hyperlink capabilities

  • Harald Oehlmann Harald Oehlmann created ticket #14

    ::pdf4tcl::createFontSpecEnc may check for maximum codepoint count

  • Peter Spjuth Peter Spjuth modified ticket #11

    Colorspace for Images

  • Peter Spjuth Peter Spjuth modified ticket #12

    Consider "package require img::window" instead Img

  • Peter Spjuth Peter Spjuth posted a comment on ticket #12

    Fixed now

  • Peter Spjuth Peter Spjuth committed [e12349] on Code

    Update tests to run

  • Peter Spjuth Peter Spjuth committed [4b8fa7] on Code

    Use img::window [#12]

  • Peter Spjuth Peter Spjuth committed [8f0e77] on Code

    Store fonts locally for stabler tests

  • Peter Spjuth Peter Spjuth modified ticket #13

    Changes Tk8.7 -underline type result in runtime errors

  • Peter Spjuth Peter Spjuth posted a comment on ticket #13

    Fixed it with the lseq trick.

  • Peter Spjuth Peter Spjuth committed [12b8c4] on Code

    Better fix for [#13]

  • Brian Griffin Brian Griffin posted a comment on ticket #13

    I'm not aware of a specific command for this. However, the following should work: ~~~~ set str "Example String Value" set index "end-3" set intIndex [lindex [lseq [string length $str]] $index] This technique should work for both strings and lists. proc intIndexForString {stringValue index} { return [lindex [lseq [string length $stringValue]] $index] } proc intIndexForList {listValue index} { return [lindex [lseq [llength $listValue]] $index] } ~~~ These functions should have O(1) performance regardless...

  • Peter Spjuth Peter Spjuth posted a comment on ticket #13

    I made a fix that makes it handle it a bit more gracefully. End-style index will be treated as not existing for now. Is there a nice way to parse end-style from Tcl?

  • Peter Spjuth Peter Spjuth committed [8015eb] on Code

    Handle Tk canvas 8.7 underline gracefully. [#13]

  • Peter Spjuth Peter Spjuth committed [ab5b26] on Code

    Split source file

  • Brian Griffin Brian Griffin created ticket #13

    Changes Tk8.7 -underline type result in runtime errors

  • Harald Oehlmann Harald Oehlmann created ticket #12

    Consider "package require img::window" instead Img

  • Peter Spjuth Peter Spjuth committed [a0cc6f]

    Reorganising source code.

  • Pdf4Tcl Pdf4Tcl released /pdf4tcl094.tar.gz

  • Pdf4Tcl Pdf4Tcl updated /README

  • Peter Spjuth Peter Spjuth committed [57dc0b]

    Updated changes

  • Peter Spjuth Peter Spjuth committed [e6a0c5]

    Canvas method returns bbox.

  • Peter Spjuth Peter Spjuth committed [0176d7]

    Support tko::path for PDF generation.

  • Peter Spjuth Peter Spjuth committed [58c117]

    Cleanup of font tests. Better error for unsupported file

  • Peter Spjuth Peter Spjuth committed [840b65]

    Bumped revision to 0.9.4

  • Michael Richter Michael Richter modified a comment on ticket #11

    Great, sorry I didn't check recent sources... Tested the new 093 script within my context and results look good! Thank you so much for all the effort you put into this project!

  • Michael Richter Michael Richter posted a comment on ticket #11

    Great, sorry I didn't check recent sources... I'll test it on my app asap and report back!

  • Peter Spjuth Peter Spjuth modified ticket #11

    Colorspace for Images

  • Peter Spjuth Peter Spjuth posted a comment on ticket #11

    Fixed. But only crudely tested.

  • Peter Spjuth Peter Spjuth committed [83c002]

    Support grayscale JPEG

  • Michael Richter Michael Richter created ticket #11

    Colorspace for Images

  • Peter Spjuth Peter Spjuth committed [9292e2]

    Doc, example and cleanup for Tiff

  • Peter Spjuth Peter Spjuth merged merge request #2

    AddTiff {properly clean up opened channel}

  • Peter Spjuth Peter Spjuth posted a comment on merge request #2

    If you have a small TIFF-file that can be used for example and test, could you add it under examples? I would like to see it working, and I cannot run tiff.test since I do not have the prerequistes.

  • Poor Yorick Poor Yorick created merge request #2

    AddTiff {properly clean up opened channel}

  • Peter Spjuth Peter Spjuth merged merge request #1

    Add support for Tiff with Group 4 compression

  • Poor Yorick Poor Yorick created merge request #1

    Add support for Tiff with Group 4 compression

  • Peter Spjuth Peter Spjuth committed [e8434b]

    Bumped revision to 0.9.3

  • Pdf4Tcl Pdf4Tcl released /pdf4tcl092.tar.gz

  • Peter Spjuth Peter Spjuth committed [4d518e]

    Save pdf4tcl state with gsave/grestore.

  • Peter Spjuth Peter Spjuth committed [98b266]

    Release 0.9.2

  • Mike Keys Mike Keys modified a comment on ticket #10

    Peter, here is my code: package require pdf4tcl set report [lindex $argv 0] <-- this is ASCII text data being passed in from calling program set page_num 1 set header "MMC OPERATIVE REPORT" pdf4tcl::new mypdf -paper letter -margin 0.25i mypdf startPage set width [lindex [mypdf getDrawableArea] 0] mypdf line 0 10 $width 10 mypdf setFont 12 "Helvetica-Bold" mypdf text $header -align center -x [expr {$width/2.0}] -y 0 mypdf line 0 740 $width 740 mypdf setFont 10 Courier mypdf text "Page $page_num" -align...

  • Mike Keys Mike Keys posted a comment on ticket #10

    In this code, it seems that the "Page $page_num" is part of the issue. I did a lot of playing around with this yesterday and if I changed this to "Page '$page_num". then I would see the second page output (this is a 2 page PDF) displayed with "Page '2" displayed at the bottom. There must be some issue with the variable data being passed back to the calling program.

  • Mike Keys Mike Keys posted a comment on ticket #10

    Peter, here is my code: package require pdf4tcl set report [lindex $argv 0] set page_num 1 set header "MMC OPERATIVE REPORT" pdf4tcl::new mypdf -paper letter -margin 0.25i mypdf startPage set width [lindex [mypdf getDrawableArea] 0] mypdf line 0 10 $width 10 mypdf setFont 12 "Helvetica-Bold" mypdf text $header -align center -x [expr {$width/2.0}] -y 0 set output [ mypdf drawTextBox 10 15 612 720 $report ] mypdf line 0 740 $width 740 mypdf setFont 10 Courier mypdf text "Page $page_num" -align center...

  • Mike Keys Mike Keys modified a comment on ticket #10

    Hi Peter. Windows 10. I'm using a 3rd party app that allows me to call an external .exe. In this case, I'm calling tclsh.exe and then calling my script which uses your package. I'm passing in a variable which houses report text. I draw static elements like lines and header text. The 3rd party app allows me to direct output from stdout to a file, so that is what I'm doing. I'm scratching my head as to why static elements are displayed fine, but by variable report data is not visible, but the number...

  • Mike Keys Mike Keys posted a comment on ticket #10

    I work for a health system and there is a vendor we work with that also produces PDF output, but they base64 encapsulate it before sending. Just didn't know if this is an option in the future.

  • Mike Keys Mike Keys posted a comment on ticket #10

    Hi Peter. Windows 10. I'm using a 3rd party app that allows me to call an external .exe. In this case, I'm calling tclsh.exe and then calling my script which uses your package. I'm passing in a variable which houses report text. I draw static elements like lines and header text. The 3rd part app allows me to direct output from stdout to a file, so that is what I'm doing. I'm scratching my head as to why static elements are displayed fine, but by variable report data is not visible, but the number...

  • Peter Spjuth Peter Spjuth posted a comment on ticket #10

    What platform? How does the stdout end up in a PDF file? Stdout is in binary mode when pdftcl writes to it so there should not be any encoding issues unless the receiving end does something.

  • Mike Keys Mike Keys created ticket #10

    Writing to stdout not the same as file output

  • Peter Spjuth Peter Spjuth committed [66f67a]

    Started on helper functions to extract text from PDF document.

  • Peter Spjuth Peter Spjuth committed [211108]

    Updated changes page.

  • Peter Spjuth Peter Spjuth committed [5c3b3d]

    Added getForms command for extracting Form data from PDF file.

  • Peter Spjuth Peter Spjuth committed [e87cd1]

    Return more info in getForms.

  • Peter Spjuth Peter Spjuth committed [7f8452]

    Include pattern in debug output.

  • Peter Spjuth Peter Spjuth committed [66c5f8]

    Make PDF reader handle incremental updates in files.

  • Peter Spjuth Peter Spjuth modified ticket #8

    New features for form objects

  • Peter Spjuth Peter Spjuth posted a comment on ticket #8

    Added -id and -multiline, though not exactly like in the patch.

  • Peter Spjuth Peter Spjuth committed [543dbb]

    Added -id and -multiline options to addForm method.

  • Peter Spjuth Peter Spjuth committed [c0c61f]

    Make correct callback in TkPath itempdf calls.

  • Peter Spjuth Peter Spjuth committed [134745]

    Added clip, gsave, grestore method. Added -closed option to polygon method.

  • Gerald W. Lester Gerald W. Lester created ticket #9

    Enhancement request for Form Types

  • Gerald W. Lester Gerald W. Lester created ticket #8

    New features for form objects

  • Peter Spjuth Peter Spjuth committed [3b31cc]

    Documented font handling more

  • Peter Spjuth Peter Spjuth committed [a04875]

    Updated copyright

  • Peter Spjuth Peter Spjuth committed [c5a0ad]

    Corrected web page

  • Pdf4Tcl Pdf4Tcl released /pdf4tcl091.tar.gz

  • Peter Spjuth Peter Spjuth committed [7bb46e]

    Release 0.9.1

  • Harald Oehlmann Harald Oehlmann posted a comment on ticket #7

    Thank you ! Light-speed solution, great ! Harald

  • Peter Spjuth Peter Spjuth committed [f8668a]

    Updated changes

  • Peter Spjuth Peter Spjuth modified ticket #6

    Access method for $::pdf4tcl::Fonts

  • Peter Spjuth Peter Spjuth posted a comment on ticket #6

    Added pdf4tcl::getFonts

  • Peter Spjuth Peter Spjuth modified ticket #7

    Get size of drawTextBox before really drawing to decide if it fits to page

  • Peter Spjuth Peter Spjuth posted a comment on ticket #7

    I added a -dryrun option to drawTextBox.

  • Peter Spjuth Peter Spjuth committed [f79246]

    Added getFonts API

  • Peter Spjuth Peter Spjuth committed [793647]

    Added -dryrun option to drawTextBox method

  • Harald Oehlmann Harald Oehlmann created ticket #7

    Get size of drawTextBox before really drawing to decide if it fits to page

  • Harald Oehlmann Harald Oehlmann created ticket #6

    Access method for $::pdf4tcl::Fonts

  • Peter Spjuth Peter Spjuth committed [6c0cb7]

    Documented XObject -noimage

  • Peter Spjuth Peter Spjuth committed [79c495]

    Extended tests

  • Peter Spjuth Peter Spjuth committed [efc4a9]

    Use throw everywhere to generate errors.

  • Peter Spjuth Peter Spjuth committed [701b68]

    Remove old version constraints in tests

  • Peter Spjuth Peter Spjuth committed [587d6e]

    Removed deprecated functionality.

  • Peter Spjuth Peter Spjuth committed [19f0ee]

    Bumped revision to 0.9.0

  • Peter Spjuth Peter Spjuth committed [4fc404]

    Compress images in addRawImage if compress is on.

1 >
MongoDB Logo MongoDB