Re: Glyph in javaFX

2017-08-08 Thread Tilman Hausherr
Am 07.08.2017 um 21:01 schrieb Tretonio Tretis: I'm rendering in JavaFX, Is it possible to get the glyph to paint in javaFX? Javafx.scene.canvas.Canvas canvas = new javafx.scene.canvas.Canvas (); GraphicsContext2 gc = canvas.getGraphicsContext2D (); What is "the glyph"? Which one? Do you want

making my PDF not say it's changed when just viewed

2017-08-08 Thread Gary Grosso
I’m modifying PDF files by adding AcroForm annotations to them. An example is at http://aapro.net/PDF/ImageButton.pdf. My open/save/close code is like this: PDDocument document = null; String outdoc; try { document = PDDocument.load(inFile); }

Re: making my PDF not say it's changed when just viewed

2017-08-08 Thread Tilman Hausherr
Am 08.08.2017 um 21:03 schrieb Gary Grosso: When I open this PDF file in Acrobat XI or Reader DC (or my colleague opens in Acrobat DC) and do nothing, when I try to quit it prompts us to save changes. We would like for this prompt not to happen. You didn't share the relevant code (just "do st

RE: making my PDF not say it's changed when just viewed

2017-08-08 Thread Gary Grosso
Two mentions: - my copy of this message when to my "junk" folder - The filename ImageButton.pdf is a misnomer; the button has a simple caption. Gary -Original Message- From: Gary Grosso [mailto:gary.gro...@oberontech.com] Sent: Tuesday, August 8, 2017 3:03 PM To: users@pdfbox.apache.org

RE: making my PDF not say it's changed when just viewed

2017-08-08 Thread Gary Grosso
Hi Tilman. Interesting. I had this: acroForm.setNeedAppearances(true); but it didn't seem to make any difference in how anything looked, and made me get the prompt even when the code opened and closed the file without adding any actual widgets, whereas without that statement at least it doesn’

Re: making my PDF not say it's changed when just viewed

2017-08-08 Thread Tilman Hausherr
Am 08.08.2017 um 21:18 schrieb Gary Grosso: Hi Tilman. Interesting. I had this: acroForm.setNeedAppearances(true); Yeah I know this effect when you do that. but it didn't seem to make any difference in how anything looked, and made me get the prompt even when the code opened and closed th

Re: making my PDF not say it's changed when just viewed

2017-08-08 Thread Maruan Sahyoun
Hi, > Am 08.08.2017 um 21:03 schrieb Gary Grosso : > > I’m modifying PDF files by adding AcroForm annotations to them. > > An example is at http://aapro.net/PDF/ImageButton.pdf. > > My open/save/close code is like this: > >PDDocument document = null; >String outdoc; >tr

RE: making my PDF not say it's changed when just viewed

2017-08-08 Thread Gary Grosso
Maruan, Um... that's because I posted the wrong file. Sorry about that! http://aapro.net/PDF/ImageButton_noSave.pdf I'm on Windows, as are the intended end users. Thanks, Gary -Original Message- From: Maruan Sahyoun [mailto:sahy...@fileaffairs.de] Sent: Tuesday, August 8, 2017 4:04 PM

PDFTextStripper repeats Chinese characters 4 times.

2017-08-08 Thread Zubiri, Tomas
Good evening! I am having trouble with the following Chinese file: http://www.filedropper.com/1327415361 Page 2 contains only 7 characters, 3 numbers and 4 chinese characters, but TextStripper shows 19 TextPositions. The Chinese characters appear 4 times, sometimes with different x coordinates.

RE: making my PDF not say it's changed when just viewed

2017-08-08 Thread Gary Grosso
Well, fools rush in where angels fear to tread... assuming my project manager thinks we should. I see now. I was looking in the wrong place. It's this piece I need to focus on: AP: (1) -<> N: (7) [47 0 R] /T:XObject /S:Form +[]BBox: (4) 84 FormType: 1 84 Length: 148 +[]Matrix: (6

Re: Glyph in javaFX

2017-08-08 Thread Tretonio Tretis
My intention is renderer complete page into javaFX, with Text my renderer this correct, but in glyph no. 2017-08-08 13:40 GMT-03:00 Tilman Hausherr : > Am 07.08.2017 um 21:01 schrieb Tretonio Tretis: > >> I'm rendering in JavaFX, >> Is it possible to get the glyph to paint in javaFX? >> >> Javafx