Jenkins build is back to stable : PDFBox » PDFBox-trunk #166

2020-10-17 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to stable : PDFBox » PDFBox-trunk » Apache Preflight #166

2020-10-17 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4985) Render orphan annotation widgets

2020-10-17 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17216004#comment-17216004
 ] 

ASF subversion and git services commented on PDFBOX-4985:
-

Commit 1882603 from Maruan Sahyoun in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1882603 ]

PDFBOX-4985 do a low level check for NeedAppearances as PD access model will 
fix the error

> Render orphan annotation widgets
> 
>
> Key: PDFBOX-4985
> URL: https://issues.apache.org/jira/browse/PDFBOX-4985
> Project: PDFBox
>  Issue Type: Improvement
>  Components: AcroForm
>Affects Versions: 2.0.21
>Reporter: Tilman Hausherr
>Assignee: Maruan Sahyoun
>Priority: Minor
>  Labels: Appearance, Rendering
> Attachments: POPPLER-806-acrobat.pdf, POPPLER-806.pdf
>
>
> The attached file has orphan widget annotations on page 2. These are rendered 
> with Adobe, PDF.js (poorly), Chrome, and ghostscript, but not with PDFBox.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is still unstable: PDFBox » PDFBox-trunk #165

2020-10-17 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is still unstable: PDFBox » PDFBox-trunk » Apache Preflight #165

2020-10-17 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-4991) say when GlyphList is not found what was sought for

2020-10-17 Thread Tilman Hausherr (Jira)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-4991:

Affects Version/s: 2.0.21

> say when GlyphList is not found what was sought for
> ---
>
> Key: PDFBOX-4991
> URL: https://issues.apache.org/jira/browse/PDFBOX-4991
> Project: PDFBox
>  Issue Type: Improvement
>Affects Versions: 2.0.21
>Reporter: Ralf Hauser
>Priority: Minor
>
> ### Eclipse Workspace Patch 1.0
> #P pdfbox
> Index: 
> pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/encoding/GlyphList.java
> ===
> --- 
> pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/encoding/GlyphList.java   
> (revision 1882597)
> +++ 
> pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/encoding/GlyphList.java   
> (working copy)
> @@ -49,8 +49,12 @@
>  {
>  String path = "/org/apache/pdfbox/resources/glyphlist/";
>  //no need to use a BufferedInputSteam here, as GlyphList uses a 
> BufferedReader
> -try (InputStream resourceAsStream = 
> GlyphList.class.getResourceAsStream(path + filename))
> +String fullFileName = path + filename;
> +try (InputStream resourceAsStream = 
> GlyphList.class.getResourceAsStream(fullFileName))
>  {
> + if (null == resourceAsStream) {
> + throw new RuntimeException("GlyphList 
> '"+fullFileName+"' not found");
> + }
>  return new GlyphList(resourceAsStream, numberOfEntries);
>  }
>  catch (IOException e)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Resolved] (PDFBOX-4991) say when GlyphList is not found what was sought for

2020-10-17 Thread Tilman Hausherr (Jira)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr resolved PDFBOX-4991.
-
Fix Version/s: 3.0.0 PDFBox
   2.0.22
 Assignee: Tilman Hausherr
   Resolution: Fixed

Done. I used different code because I didn't want to have a second 
RuntimeException.

> say when GlyphList is not found what was sought for
> ---
>
> Key: PDFBOX-4991
> URL: https://issues.apache.org/jira/browse/PDFBOX-4991
> Project: PDFBox
>  Issue Type: Improvement
>Affects Versions: 2.0.21
>Reporter: Ralf Hauser
>Assignee: Tilman Hausherr
>Priority: Minor
> Fix For: 2.0.22, 3.0.0 PDFBox
>
>
> ### Eclipse Workspace Patch 1.0
> #P pdfbox
> Index: 
> pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/encoding/GlyphList.java
> ===
> --- 
> pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/encoding/GlyphList.java   
> (revision 1882597)
> +++ 
> pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/encoding/GlyphList.java   
> (working copy)
> @@ -49,8 +49,12 @@
>  {
>  String path = "/org/apache/pdfbox/resources/glyphlist/";
>  //no need to use a BufferedInputSteam here, as GlyphList uses a 
> BufferedReader
> -try (InputStream resourceAsStream = 
> GlyphList.class.getResourceAsStream(path + filename))
> +String fullFileName = path + filename;
> +try (InputStream resourceAsStream = 
> GlyphList.class.getResourceAsStream(fullFileName))
>  {
> + if (null == resourceAsStream) {
> + throw new RuntimeException("GlyphList 
> '"+fullFileName+"' not found");
> + }
>  return new GlyphList(resourceAsStream, numberOfEntries);
>  }
>  catch (IOException e)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4991) say when GlyphList is not found what was sought for

2020-10-17 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17215996#comment-17215996
 ] 

ASF subversion and git services commented on PDFBOX-4991:
-

Commit 1882602 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1882602 ]

PDFBOX-4991: improve error message when resource file not found, as suggested 
by Ralf Hauser

> say when GlyphList is not found what was sought for
> ---
>
> Key: PDFBOX-4991
> URL: https://issues.apache.org/jira/browse/PDFBOX-4991
> Project: PDFBox
>  Issue Type: Improvement
>Reporter: Ralf Hauser
>Priority: Minor
>
> ### Eclipse Workspace Patch 1.0
> #P pdfbox
> Index: 
> pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/encoding/GlyphList.java
> ===
> --- 
> pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/encoding/GlyphList.java   
> (revision 1882597)
> +++ 
> pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/encoding/GlyphList.java   
> (working copy)
> @@ -49,8 +49,12 @@
>  {
>  String path = "/org/apache/pdfbox/resources/glyphlist/";
>  //no need to use a BufferedInputSteam here, as GlyphList uses a 
> BufferedReader
> -try (InputStream resourceAsStream = 
> GlyphList.class.getResourceAsStream(path + filename))
> +String fullFileName = path + filename;
> +try (InputStream resourceAsStream = 
> GlyphList.class.getResourceAsStream(fullFileName))
>  {
> + if (null == resourceAsStream) {
> + throw new RuntimeException("GlyphList 
> '"+fullFileName+"' not found");
> + }
>  return new GlyphList(resourceAsStream, numberOfEntries);
>  }
>  catch (IOException e)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4991) say when GlyphList is not found what was sought for

2020-10-17 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17215995#comment-17215995
 ] 

ASF subversion and git services commented on PDFBOX-4991:
-

Commit 1882601 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1882601 ]

PDFBOX-4991: improve error message when resource file not found, as suggested 
by Ralf Hauser

> say when GlyphList is not found what was sought for
> ---
>
> Key: PDFBOX-4991
> URL: https://issues.apache.org/jira/browse/PDFBOX-4991
> Project: PDFBox
>  Issue Type: Improvement
>Reporter: Ralf Hauser
>Priority: Minor
>
> ### Eclipse Workspace Patch 1.0
> #P pdfbox
> Index: 
> pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/encoding/GlyphList.java
> ===
> --- 
> pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/encoding/GlyphList.java   
> (revision 1882597)
> +++ 
> pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/encoding/GlyphList.java   
> (working copy)
> @@ -49,8 +49,12 @@
>  {
>  String path = "/org/apache/pdfbox/resources/glyphlist/";
>  //no need to use a BufferedInputSteam here, as GlyphList uses a 
> BufferedReader
> -try (InputStream resourceAsStream = 
> GlyphList.class.getResourceAsStream(path + filename))
> +String fullFileName = path + filename;
> +try (InputStream resourceAsStream = 
> GlyphList.class.getResourceAsStream(fullFileName))
>  {
> + if (null == resourceAsStream) {
> + throw new RuntimeException("GlyphList 
> '"+fullFileName+"' not found");
> + }
>  return new GlyphList(resourceAsStream, numberOfEntries);
>  }
>  catch (IOException e)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is still unstable: PDFBox » PDFBox-Trunk-jdk15 #90

2020-10-17 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is still unstable: PDFBox » PDFBox-sonar2 #156

2020-10-17 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is still unstable: PDFBox » PDFBox-trunk #164

2020-10-17 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is still unstable: PDFBox » PDFBox-trunk » Apache Preflight #164

2020-10-17 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is still unstable: PDFBox » PDFBox-sonar2 » Apache Preflight #156

2020-10-17 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is still unstable: PDFBox » PDFBox-Trunk-jdk15 » Apache Preflight #90

2020-10-17 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Created] (PDFBOX-4992) PDF created by Bullzip PDF Printer / www.bullzip.com / Freeware Edition shows weird characters

2020-10-17 Thread Peter van der Weerd (Jira)
Peter van der Weerd created PDFBOX-4992:
---

 Summary: PDF created by Bullzip PDF Printer / www.bullzip.com / 
Freeware Edition shows weird characters
 Key: PDFBOX-4992
 URL: https://issues.apache.org/jira/browse/PDFBOX-4992
 Project: PDFBox
  Issue Type: Bug
  Components: Text extraction
Affects Versions: 2.0.21
 Environment: windows
Reporter: Peter van der Weerd
 Attachments: 2brightsparks.onfastspring.com - invoice.pdf

I copy the text from the original bug (PDFBOX-1107). I experience the same 
issue. 
I have quite a few of these documents, but most are classified. I attached a 
non-classified one.

I was hoping that the recent version solved this issue, but it doesn't.

 

Original text from 1107:

Opening the PDF via PDFReader 1.6 + 1.7 SNAPSHOT results in an unreadable page. 
All other pdf viewers I tried have correctly displayed the file.
The only related log message shown was

25.08.2011 11:59:41 org.apache.pdfbox.util.PDFStreamEngine processOperator
INFO: unsupported/disabled operation: EI

which is probably unrelated. My guess its the font they used (see screenshot) 
however if the font is unknown or problematic, shouldn't pdfreader use a 
default font or something? Maybe I am wrong anyway :)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4990) say which resource not found when a font is missing

2020-10-17 Thread Ralf Hauser (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17215893#comment-17215893
 ] 

Ralf Hauser commented on PDFBOX-4990:
-

same please with /org/apache/pdfbox/resources/ttf/LiberationSans-Regular.ttf in 
FontMapperImpl.java

> say which resource not found when a font is missing
> ---
>
> Key: PDFBOX-4990
> URL: https://issues.apache.org/jira/browse/PDFBOX-4990
> Project: PDFBox
>  Issue Type: Improvement
>Affects Versions: 3.0.0 PDFBox
>Reporter: Ralf Hauser
>Priority: Minor
>
> ### Eclipse Workspace Patch 1.0
> #P pdfbox
> Index: 
> pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/Standard14Fonts.java
> ===
> --- pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/Standard14Fonts.java 
> (revision 1882597)
> +++ pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/Standard14Fonts.java 
> (working copy)
> @@ -117,10 +117,13 @@
>  try (InputStream resourceAsStream = 
> PDType1Font.class.getResourceAsStream(resourceName);
> InputStream afmStream = new BufferedInputStream(resourceAsStream))
> {
> + if (null == resourceAsStream) {
> + throw new IOException("resource '"+resourceName+"' not found");
> + }
> AFMParser parser = new AFMParser(afmStream);
> FontMetrics metric = parser.parse(true);
> FONTS.put(fontName, metric);
> - }
> + }
> }
>  
> /**
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Created] (PDFBOX-4991) say when GlyphList is not found what was sought for

2020-10-17 Thread Ralf Hauser (Jira)
Ralf Hauser created PDFBOX-4991:
---

 Summary: say when GlyphList is not found what was sought for
 Key: PDFBOX-4991
 URL: https://issues.apache.org/jira/browse/PDFBOX-4991
 Project: PDFBox
  Issue Type: Improvement
Reporter: Ralf Hauser


### Eclipse Workspace Patch 1.0
#P pdfbox
Index: 
pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/encoding/GlyphList.java
===
--- pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/encoding/GlyphList.java 
(revision 1882597)
+++ pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/encoding/GlyphList.java 
(working copy)
@@ -49,8 +49,12 @@
 {

 String path = "/org/apache/pdfbox/resources/glyphlist/";

 //no need to use a BufferedInputSteam here, as GlyphList uses a 
BufferedReader

-try (InputStream resourceAsStream = 
GlyphList.class.getResourceAsStream(path + filename))

+String fullFileName = path + filename;

+try (InputStream resourceAsStream = 
GlyphList.class.getResourceAsStream(fullFileName))

 {

+   if (null == resourceAsStream) {

+   throw new RuntimeException("GlyphList 
'"+fullFileName+"' not found");

+   }

 return new GlyphList(resourceAsStream, numberOfEntries);

 }

 catch (IOException e)





--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4988) Space rendered as missing glyph (2)

2020-10-17 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17215888#comment-17215888
 ] 

ASF subversion and git services commented on PDFBOX-4988:
-

Commit 1882599 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1882599 ]

PDFBOX-4988: treat nbspace like space

> Space rendered as missing glyph (2)
> ---
>
> Key: PDFBOX-4988
> URL: https://issues.apache.org/jira/browse/PDFBOX-4988
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.21
>Reporter: John Liston
>Priority: Minor
>  Labels: regression
> Fix For: 2.0.22, 3.0.0 PDFBox
>
> Attachments: PDFBOX-4988-reduced.pdf
>
>
> When we render the PDF at 
> https://singlefamily.fanniemae.com/media/document/pdf/1003-borrower-information,
>  we see two unexpected artifacts on page 6 in the "5a./C." area.
> bufferedImage = pdfRenderer.renderImageWithDPI(5, iDPI, ImageType.RGB);
> Is there something we can do to eliminate these artifacts?
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4988) Space rendered as missing glyph (2)

2020-10-17 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17215889#comment-17215889
 ] 

ASF subversion and git services commented on PDFBOX-4988:
-

Commit 1882600 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1882600 ]

PDFBOX-4988: treat nbspace like space

> Space rendered as missing glyph (2)
> ---
>
> Key: PDFBOX-4988
> URL: https://issues.apache.org/jira/browse/PDFBOX-4988
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.21
>Reporter: John Liston
>Priority: Minor
>  Labels: regression
> Fix For: 2.0.22, 3.0.0 PDFBox
>
> Attachments: PDFBOX-4988-reduced.pdf
>
>
> When we render the PDF at 
> https://singlefamily.fanniemae.com/media/document/pdf/1003-borrower-information,
>  we see two unexpected artifacts on page 6 in the "5a./C." area.
> bufferedImage = pdfRenderer.renderImageWithDPI(5, iDPI, ImageType.RGB);
> Is there something we can do to eliminate these artifacts?
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Created] (PDFBOX-4990) say which resource not found when a font is missing

2020-10-17 Thread Ralf Hauser (Jira)
Ralf Hauser created PDFBOX-4990:
---

 Summary: say which resource not found when a font is missing
 Key: PDFBOX-4990
 URL: https://issues.apache.org/jira/browse/PDFBOX-4990
 Project: PDFBox
  Issue Type: Improvement
Affects Versions: 3.0.0 PDFBox
Reporter: Ralf Hauser


### Eclipse Workspace Patch 1.0
#P pdfbox
Index: pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/Standard14Fonts.java
===
--- pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/Standard14Fonts.java 
(revision 1882597)
+++ pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/Standard14Fonts.java 
(working copy)
@@ -117,10 +117,13 @@
 try (InputStream resourceAsStream = 
PDType1Font.class.getResourceAsStream(resourceName);

InputStream afmStream = new BufferedInputStream(resourceAsStream))

{

+ if (null == resourceAsStream) {

+ throw new IOException("resource '"+resourceName+"' not found");

+ }

AFMParser parser = new AFMParser(afmStream);

FontMetrics metric = parser.parse(true);

FONTS.put(fontName, metric);

- }

+ }

}

 

/**

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Closed] (PDFBOX-4989) How to change and replace text in pdf

2020-10-17 Thread Tilman Hausherr (Jira)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr closed PDFBOX-4989.
---
Resolution: Won't Do

> How to change and replace text in pdf
> -
>
> Key: PDFBOX-4989
> URL: https://issues.apache.org/jira/browse/PDFBOX-4989
> Project: PDFBox
>  Issue Type: Wish
> Environment: windows 10
>Reporter: Jürgen Debus
>Priority: Major
>
> Hi @all,
> First: I'm not sure if this is the right forum. 
> If not, can you please tell me where to ask the question.
>  
> We've used the text search and replace approach of Ulf Dittmer here:
> [https://www.ulfdittmer.com/view?PdfboxReplace]
>  This worked fine.
> But because of changes in the PDF generating we get a crypted text that we 
> can't replace:
>  Example:
>  Old: (sont liés. En cas de questions, consultez impérativement votre 
> conseiller fiscal.) Tj
> New: (6"<.%S\)J:+d";,MO/$:;L+,+%:"L.:/+"<.%S+;JJ+/"I;S<$J3) Tj
>  When using PDFTextStripper to read the text it is „translated" in the right 
> way.
>  What can we do to „decrypt" the text and save a new one?
>  
>  Best regards,
>  Jürgen



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4989) How to change and replace text in pdf

2020-10-17 Thread Tilman Hausherr (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17215815#comment-17215815
 ] 

Tilman Hausherr commented on PDFBOX-4989:
-

It's not the correct place:

[https://pdfbox.apache.org/support.html]

PDF just isn't made for editing. What you want to do is extremely difficult or 
impossible, see here:

[https://pdfbox.apache.org/2.0/migration.html#why-was-the-replacetext-example-removed%3F]

But the page you link to also links to that explanation. There is also an 
answer somewhere in stackoverflow but I can't find it. Try opening the PDF in 
PDFDebugger and then look at the font, see which glyphs exist and at the 
encoding.

> How to change and replace text in pdf
> -
>
> Key: PDFBOX-4989
> URL: https://issues.apache.org/jira/browse/PDFBOX-4989
> Project: PDFBox
>  Issue Type: Wish
> Environment: windows 10
>Reporter: Jürgen Debus
>Priority: Major
>
> Hi @all,
> First: I'm not sure if this is the right forum. 
> If not, can you please tell me where to ask the question.
>  
> We've used the text search and replace approach of Ulf Dittmer here:
> [https://www.ulfdittmer.com/view?PdfboxReplace]
>  This worked fine.
> But because of changes in the PDF generating we get a crypted text that we 
> can't replace:
>  Example:
>  Old: (sont liés. En cas de questions, consultez impérativement votre 
> conseiller fiscal.) Tj
> New: (6"<.%S\)J:+d";,MO/$:;L+,+%:"L.:/+"<.%S+;JJ+/"I;S<$J3) Tj
>  When using PDFTextStripper to read the text it is „translated" in the right 
> way.
>  What can we do to „decrypt" the text and save a new one?
>  
>  Best regards,
>  Jürgen



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Created] (PDFBOX-4989) How to change and replace text in pdf

2020-10-17 Thread Jira
Jürgen Debus created PDFBOX-4989:


 Summary: How to change and replace text in pdf
 Key: PDFBOX-4989
 URL: https://issues.apache.org/jira/browse/PDFBOX-4989
 Project: PDFBox
  Issue Type: Wish
 Environment: windows 10
Reporter: Jürgen Debus


Hi @all,

First: I'm not sure if this is the right forum. 

If not, can you please tell me where to ask the question.

 

We've used the text search and replace approach of Ulf Dittmer here:

[https://www.ulfdittmer.com/view?PdfboxReplace]

 This worked fine.

But because of changes in the PDF generating we get a crypted text that we 
can't replace:

 Example:

 Old: (sont liés. En cas de questions, consultez impérativement votre 
conseiller fiscal.) Tj

New: (6"<.%S\)J:+d";,MO/$:;L+,+%:"L.:/+"<.%S+;JJ+/"I;S<$J3) Tj

 When using PDFTextStripper to read the text it is „translated" in the right 
way.

 What can we do to „decrypt" the text and save a new one?

 

 Best regards,

 Jürgen



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is still unstable: PDFBox » PDFBox-Trunk-jdk16 #88

2020-10-17 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is still unstable: PDFBox » PDFBox-Trunk-jdk16 » Apache Preflight #88

2020-10-17 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org