Re: Remove AWT Fonts

2014-03-04 Thread Maruan Sahyoun
Hi John, what about just using the platform fonts? If not then Latex uses the URW++ fonts which were made available under the http://www.latex-project.org/lppl license. (same fonts are used by Ghostscript). Could check if the license is fine with ours. BR Maruan Sahyoun Am 03.03.2014 um 21:20

Re: [GSoC 2014]Implement shading with Coons and tensor-product patch meshes

2014-03-04 Thread Thimal Kempitiya
Hi, I checked the code related to the shading and studied the pdf spec related to the type 6. As I see it is going same as the type 4 >From what I feel this is need to be done correct me if I'm wrong first need to get the 12 control points and colors related to each unit from stream create the 4 cu

[jira] [Reopened] (PDFBOX-1956) Wrong character on conversion PDF to TXT

2014-03-04 Thread Vicente (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vicente reopened PDFBOX-1956: - Jonh Hewson, You are rigth in your comment about 􀀳􀀧􀀩 􀀲􀁅􀁍􀁈􀁆􀁗􀁖 when I have done Copy/Paste from PDF to anoth

[jira] [Commented] (PDFBOX-1709) processEncodedText gives x-coord short by width of previous text, for next text at same y-coord.

2014-03-04 Thread Robert Simms (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919494#comment-13919494 ] Robert Simms commented on PDFBOX-1709: -- True, the individual characters are at the c

[jira] [Commented] (PDFBOX-1956) Wrong character on conversion PDF to TXT

2014-03-04 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919514#comment-13919514 ] Tilman Hausherr commented on PDFBOX-1956: - The visual is just a bunch of glyph *i

Re: [GSoC 2014]Implement shading with Coons and tensor-product patch meshes

2014-03-04 Thread Tilman Hausherr
Am 04.03.2014 15:19, schrieb Thimal Kempitiya: Hi, I checked the code related to the shading and studied the pdf spec related to the type 6. As I see it is going same as the type 4 From what I feel this is need to be done correct me if I'm wrong first need to get the 12 control points and colors

[jira] [Commented] (PDFBOX-870) PDF-To-IMAGE output is not anti-aliased

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919742#comment-13919742 ] John Hewson commented on PDFBOX-870: {quote} The current plan http://de.redtransporte.

Re: Remove AWT Fonts

2014-03-04 Thread John Hewson
Hi Maruan Java provides access to platform fonts via AWT and does not reveal the paths to the fonts which it finds, so it is not practical to use platform fonts without using AWT. There have also been a number of problems with some unix platforms which lack some of the standard 14 fonts or whic

[jira] [Resolved] (PDFBOX-1956) Wrong character on conversion PDF to TXT

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Hewson resolved PDFBOX-1956. - Resolution: Invalid > Wrong character on conversion PDF to TXT > ---

[jira] [Commented] (PDFBOX-1956) Wrong character on conversion PDF to TXT

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919787#comment-13919787 ] John Hewson commented on PDFBOX-1956: - {quote} Do you know how I can check problem in

[jira] [Comment Edited] (PDFBOX-1956) Wrong character on conversion PDF to TXT

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919787#comment-13919787 ] John Hewson edited comment on PDFBOX-1956 at 3/4/14 7:15 PM: -

[jira] [Updated] (PDFBOX-1956) Wrong character on conversion PDF to TXT

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Hewson updated PDFBOX-1956: Issue Type: Bug (was: Task) > Wrong character on conversion PDF to TXT >

[jira] [Updated] (PDFBOX-1956) Wrong character on conversion PDF to TXT

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Hewson updated PDFBOX-1956: Priority: Minor (was: Major) > Wrong character on conversion PDF to TXT > ---

[jira] [Comment Edited] (PDFBOX-1956) Wrong character on conversion PDF to TXT

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919787#comment-13919787 ] John Hewson edited comment on PDFBOX-1956 at 3/4/14 7:15 PM: -

[jira] [Reopened] (PDFBOX-52) DCTFilter is not implemented yet

2014-03-04 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tilman Hausherr reopened PDFBOX-52: --- Assignee: Tilman Hausherr (was: John Hewson) Reopen to include my change in the 1.8 branch.

[jira] [Resolved] (PDFBOX-52) DCTFilter is not implemented yet

2014-03-04 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tilman Hausherr resolved PDFBOX-52. --- Resolution: Fixed Fix Version/s: 1.8.5 Committed in rev. 1574180. I didn't delete DCTFi

Re: [GSoC 2014]Optical Character Recognition project - Introduction

2014-03-04 Thread John Hewson
Hi Dimuthu, 1,2,3: Feel free to write your own Tesseract binding or port the existing code as you see fit. The JNI binding should be minimal, only the methods you require need to be wrapped. Also, don’t forget that some of the interop can be done in Java, for example if it is easier to convert

Re: Remove AWT Fonts

2014-03-04 Thread Maruan Sahyoun
Hi John, what I was having in mind is something similar to Apache FOP’s auto detect feature for fonts. doc: https://xmlgraphics.apache.org/fop/1.1/fonts.html code: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/autodetect/ Fo inclusion these are some additiona

[jira] [Updated] (PDFBOX-1709) processEncodedText gives wrong coordinates

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Hewson updated PDFBOX-1709: Summary: processEncodedText gives wrong coordinates (was: processEncodedText gives x-coord short

[jira] [Updated] (PDFBOX-1709) processEncodedText gives x-coord short by width of previous text, for next text at same y-coord.

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Hewson updated PDFBOX-1709: Description: processEncodedText gives x-coord short by width of previous text, for next text at s

[jira] [Updated] (PDFBOX-1709) processEncodedText gives wrong coordinates

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Hewson updated PDFBOX-1709: Description: PDFStreamEngine#processEncodedText gives x-coord short by width of previous text, fo

[jira] [Commented] (PDFBOX-1709) processEncodedText gives wrong coordinates

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919849#comment-13919849 ] John Hewson commented on PDFBOX-1709: - {quote} is not handling horizontal gaps betwee

[jira] [Commented] (PDFBOX-52) DCTFilter is not implemented yet

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919857#comment-13919857 ] John Hewson commented on PDFBOX-52: --- I don't understand the change you've made in to 1.8

[jira] [Comment Edited] (PDFBOX-52) DCTFilter is not implemented yet

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919857#comment-13919857 ] John Hewson edited comment on PDFBOX-52 at 3/4/14 8:01 PM: --- I don

[jira] [Commented] (PDFBOX-52) DCTFilter is not implemented yet

2014-03-04 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919864#comment-13919864 ] Tilman Hausherr commented on PDFBOX-52: --- Feel free to do what you think is better / b

[jira] [Comment Edited] (PDFBOX-52) DCTFilter is not implemented yet

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919857#comment-13919857 ] John Hewson edited comment on PDFBOX-52 at 3/4/14 8:05 PM: --- I don

[jira] [Updated] (PDFBOX-1931) Radial shading is missing

2014-03-04 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tilman Hausherr updated PDFBOX-1931: Attachment: pdfbox-1931.pdf-1.png The shading works with the 1.8 branch (although with the

Re: Remove AWT Fonts

2014-03-04 Thread John Hewson
Maruan > what I was having in mind is something similar to Apache FOP’s auto detect > feature for fonts. Yeah, this looks good, we could use this for finding missing embedded fonts. > For inclusion these are some additional candidates > > https://fedorahosted.org/liberation-fonts/ (SIL license

[jira] [Commented] (PDFBOX-52) DCTFilter is not implemented yet

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919891#comment-13919891 ] John Hewson commented on PDFBOX-52: --- I don't see that there is anything that can be done

Re: Remove AWT Fonts

2014-03-04 Thread Maruan Sahyoun
John, I don’t understand why we do have to ship fonts. We didn’t ship fonts until now but were dependent on platform fonts through AWT. So the situation won’t change. For legal reasons we won’t be able to use the fonts Adobe uses and I doubt that there are open source fonts which provide the

[jira] [Commented] (PDFBOX-52) DCTFilter is not implemented yet

2014-03-04 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919981#comment-13919981 ] Tilman Hausherr commented on PDFBOX-52: --- Prove it by showing a case that is broken by

Re: Remove AWT Fonts

2014-03-04 Thread John Hewson
We have open issues due to missing or buggy platform fonts for the standard 14 set. Continuing to use platform fonts will not solve this problem. We should try to find some good open source fonts, if they are not good enough then we can look at other options, but we should at least try. -- John

[jira] [Commented] (PDFBOX-52) DCTFilter is not implemented yet

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13920018#comment-13920018 ] John Hewson commented on PDFBOX-52: --- {quote} Prove it by showing a case that is broken by

[jira] [Comment Edited] (PDFBOX-52) DCTFilter is not implemented yet

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13920018#comment-13920018 ] John Hewson edited comment on PDFBOX-52 at 3/4/14 9:06 PM: --- {quot

[jira] [Commented] (PDFBOX-52) DCTFilter is not implemented yet

2014-03-04 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13920051#comment-13920051 ] Tilman Hausherr commented on PDFBOX-52: --- My fix was needed because the DCT image wasn

[jira] [Commented] (PDFBOX-52) DCTFilter is not implemented yet

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13920099#comment-13920099 ] John Hewson commented on PDFBOX-52: --- {quote} My fix was needed because the DCT image wasn

[jira] [Commented] (PDFBOX-52) DCTFilter is not implemented yet

2014-03-04 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13920113#comment-13920113 ] Tilman Hausherr commented on PDFBOX-52: --- I don't get it. The user wouldn't have used

[jira] [Commented] (PDFBOX-52) DCTFilter is not implemented yet

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13920123#comment-13920123 ] John Hewson commented on PDFBOX-52: --- Ah, I misunderstood what was going on, now I see it'

[jira] [Comment Edited] (PDFBOX-52) DCTFilter is not implemented yet

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13920018#comment-13920018 ] John Hewson edited comment on PDFBOX-52 at 3/4/14 10:29 PM: {qu

[jira] [Comment Edited] (PDFBOX-52) DCTFilter is not implemented yet

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13920099#comment-13920099 ] John Hewson edited comment on PDFBOX-52 at 3/4/14 10:29 PM: {qu

[jira] [Comment Edited] (PDFBOX-52) DCTFilter is not implemented yet

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13920099#comment-13920099 ] John Hewson edited comment on PDFBOX-52 at 3/4/14 10:29 PM: {qu

[jira] [Created] (PDFBOX-1960) Matrix is wrong

2014-03-04 Thread John Hewson (JIRA)
John Hewson created PDFBOX-1960: --- Summary: Matrix is wrong Key: PDFBOX-1960 URL: https://issues.apache.org/jira/browse/PDFBOX-1960 Project: PDFBox Issue Type: Bug Reporter: John Hew

[jira] [Updated] (PDFBOX-1960) Matrix is wrong

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Hewson updated PDFBOX-1960: Affects Version/s: 2.0.0 1.8.4 > Matrix is wrong > --- > >

[jira] [Updated] (PDFBOX-1960) Matrix is wrong

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Hewson updated PDFBOX-1960: Description: I've been driven insane recently by trying to get pattern fills to render correctly.

[jira] [Updated] (PDFBOX-1960) Matrix is wrong

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Hewson updated PDFBOX-1960: Description: I've been driven insane recently by trying to get pattern fills to render correctly.

[jira] [Updated] (PDFBOX-1960) Matrix is wrong

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Hewson updated PDFBOX-1960: Description: I've been driven insane recently by trying to get pattern fills to render correctly.

[jira] [Updated] (PDFBOX-1960) Matrix is wrong

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Hewson updated PDFBOX-1960: Description: I've been driven insane recently by trying to get pattern fills to render correctly.

[jira] [Updated] (PDFBOX-1960) Matrix is wrong

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Hewson updated PDFBOX-1960: Description: I've been driven insane recently by trying to get pattern fills to render correctly.

[jira] [Updated] (PDFBOX-1960) Matrix is wrong

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Hewson updated PDFBOX-1960: Description: I've been driven insane recently by trying to get pattern fills to render correctly.

[jira] [Commented] (PDFBOX-1960) Matrix is wrong

2014-03-04 Thread Maruan Sahyoun (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13920567#comment-13920567 ] Maruan Sahyoun commented on PDFBOX-1960: I’m not in favor of replacing Matrix wit

[jira] [Commented] (PDFBOX-1960) Matrix is wrong

2014-03-04 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13920585#comment-13920585 ] Tilman Hausherr commented on PDFBOX-1960: - I'm also not in favor of replacing Mat

[jira] [Assigned] (PDFBOX-1960) Matrix is wrong

2014-03-04 Thread John Hewson (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Hewson reassigned PDFBOX-1960: --- Assignee: Maruan Sahyoun Ok Maruan, I've assigned this issue to you so that you can fix the

[jira] [Commented] (PDFBOX-1960) Matrix is wrong

2014-03-04 Thread Maruan Sahyoun (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13920604#comment-13920604 ] Maruan Sahyoun commented on PDFBOX-1960: Hi John, a PDF Matrix and AffineTransfor