[jira] [Commented] (FOP-2355) Issues with stacking of diacritics while trying to render PDFs in Thai language

2014-03-10 Thread Glenn Adams (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13930030#comment-13930030
 ] 

Glenn Adams commented on FOP-2355:
--

Please provide the following:

(1) minimal input FO file containing the least content that demonstrates the 
problem;
(2) the PDF output file produced by running FOP on this input FO file;
(3) your fop.xconf configuration file;
(4) any console output when running FOP;
(5) information about which version of FOP you used to produce the output PDF 
file;

> Issues with stacking of diacritics while trying to render PDFs in Thai 
> language
> ---
>
> Key: FOP-2355
> URL: https://issues.apache.org/jira/browse/FOP-2355
> Project: Fop
>  Issue Type: Bug
>  Components: fonts, pdf
>Affects Versions: 1.1, trunk
> Environment: Win 7, JDK1.6
>Reporter: Sougata Bhattacharya
> Attachments: example pdf.jpg
>
>
> Let us take 3 examples, where the first two are rendering ok in the PDF, 
> whereas the 3rd is not.
> 1. ยี = ย + ี (consonant + vowel)
> 2. ยี่ = ย + ี + ่ (consonant + vowel + diacritic)
> 3. ย่ = ย + ่ (consonant + diacritic)
> The third complex alphabet is showing ok when you see it in 
> notepad/MSWord/webpage, etc. but in the PDF, it renders with a vertical space 
> in between the diacritic and the consonant, as if a vowel is missing.
> Though this does not alter the meaning of the script, it looks 
> unprofessional. 
> Details on how i want the characters to be rendered in the PDF, can be found 
> in the 2nd example of the link: 
> http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=CmplxRndExamples
> Fonts used: PSL096pro.ttf, PSL095pro.ttf, PSL094pro.ttf, PSL053pro.ttf, 
> PSL052pro.ttf, PSL051pro.ttf, PSL050pro.ttf, etc..



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (FOP-2355) Issues with stacking of diacritics while trying to render PDFs in Thai language

2014-03-10 Thread Sougata Bhattacharya (JIRA)

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

Sougata Bhattacharya updated FOP-2355:
--

Description: 
Let us take 3 examples, where the first two are rendering ok in the PDF, 
whereas the 3rd is not.

1. ยี = ย + ี (consonant + vowel)

2. ยี่ = ย + ี + ่ (consonant + vowel + diacritic)

3. ย่ = ย + ่ (consonant + diacritic)

The third complex alphabet is showing ok when you see it in 
notepad/MSWord/webpage, etc. but in the PDF, it renders with a vertical space 
in between the diacritic and the consonant, as if a vowel is missing.

Though this does not alter the meaning of the script, it looks unprofessional. 

Details on how i want the characters to be rendered in the PDF, can be found in 
the 2nd example of the link: 
http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=CmplxRndExamples

Fonts used: PSL096pro.ttf, PSL095pro.ttf, PSL094pro.ttf, PSL053pro.ttf, 
PSL052pro.ttf, PSL051pro.ttf, PSL050pro.ttf, etc..

  was:
Let us take 3 examples, where the first two are rendering ok in the PDF, 
whereas the 3rd is not.

1. ยี = ย + ี (consonant + vowel)

2. ยี่ = ย + ี + ่ (consonant + vowel + diacritic)

3. ย่ = ย + ่ (consonant + diacritic)

The third complex alphabet is showing ok when you see it in 
notepad/MSWord/webpage, etc. but in the PDF, it renders with a vertical space 
in between the diacritic and the consonant, as if a vowel is missing.

Though this does not alter the meaning of the script, it looks unprofessional. 

Similar details on what exactly I am facing can be found in the 2nd example of 
the link: 
http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=CmplxRndExamples

Fonts used: PSL096pro.ttf, PSL095pro.ttf, PSL094pro.ttf, PSL053pro.ttf, 
PSL052pro.ttf, PSL051pro.ttf, PSL050pro.ttf, etc..


> Issues with stacking of diacritics while trying to render PDFs in Thai 
> language
> ---
>
> Key: FOP-2355
> URL: https://issues.apache.org/jira/browse/FOP-2355
> Project: Fop
>  Issue Type: Bug
>  Components: fonts, pdf
>Affects Versions: 1.1, trunk
> Environment: Win 7, JDK1.6
>Reporter: Sougata Bhattacharya
> Attachments: example pdf.jpg
>
>
> Let us take 3 examples, where the first two are rendering ok in the PDF, 
> whereas the 3rd is not.
> 1. ยี = ย + ี (consonant + vowel)
> 2. ยี่ = ย + ี + ่ (consonant + vowel + diacritic)
> 3. ย่ = ย + ่ (consonant + diacritic)
> The third complex alphabet is showing ok when you see it in 
> notepad/MSWord/webpage, etc. but in the PDF, it renders with a vertical space 
> in between the diacritic and the consonant, as if a vowel is missing.
> Though this does not alter the meaning of the script, it looks 
> unprofessional. 
> Details on how i want the characters to be rendered in the PDF, can be found 
> in the 2nd example of the link: 
> http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=CmplxRndExamples
> Fonts used: PSL096pro.ttf, PSL095pro.ttf, PSL094pro.ttf, PSL053pro.ttf, 
> PSL052pro.ttf, PSL051pro.ttf, PSL050pro.ttf, etc..



--
This message was sent by Atlassian JIRA
(v6.2#6252)


Re: [VOTE] Applying the Type 1 subset patch

2014-03-10 Thread Clay Leeds
+1 from me. Nice work, Robert!

Clay

On Mar 7, 2014, at 3:23 AM, Robert  wrote:

> Hi All,
> 
> About a week ago I posted a patch to add Type 1 subset support to FOP. All 
> referenced Type 1 fonts (unless set to embedding-mode="full") will now be 
> subset by default much like the behaviour exhibited by TrueType and OpenType. 
> As this is a big feature and quite involved I think it is necessary to vote 
> on whether to add this feature in it's current state to FOP. I'm not sure if 
> anyone has taken a look at what has gone into this or tried it out yet, but 
> it might be worth doing so before making your decision.
> 
> I am going to be away for the next week or so but will tally up the votes and 
> post the result once I am back.
> 
> Here is a link to the patch and issue:
> https://issues.apache.org/jira/browse/FOP-2354
> 
> Regards,
> 
> Robert Meyer



Re: [VOTE] Applying the Type 1 subset patch

2014-03-10 Thread Glenn Adams
+1


On Fri, Mar 7, 2014 at 4:23 AM, Robert  wrote:

> Hi All,
>
> About a week ago I posted a patch to add Type 1 subset support to FOP. All
> referenced Type 1 fonts (unless set to embedding-mode="full") will now be
> subset by default much like the behaviour exhibited by TrueType and
> OpenType. As this is a big feature and quite involved I think it is
> necessary to vote on whether to add this feature in it's current state to
> FOP. I'm not sure if anyone has taken a look at what has gone into this or
> tried it out yet, but it might be worth doing so before making your
> decision.
>
> I am going to be away for the next week or so but will tally up the votes
> and post the result once I am back.
>
> Here is a link to the patch and issue:
> https://issues.apache.org/jira/browse/FOP-2354
>
> Regards,
>
> Robert Meyer
>


[jira] [Updated] (FOP-2355) Issues with stacking of diacritics while trying to render PDFs in Thai language

2014-03-10 Thread Sougata Bhattacharya (JIRA)

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

Sougata Bhattacharya updated FOP-2355:
--

Attachment: example pdf.jpg

A screenshot of the problematic rendering of the diacritics in the PDF.

> Issues with stacking of diacritics while trying to render PDFs in Thai 
> language
> ---
>
> Key: FOP-2355
> URL: https://issues.apache.org/jira/browse/FOP-2355
> Project: Fop
>  Issue Type: Bug
>  Components: fonts, pdf
>Affects Versions: 1.1, trunk
> Environment: Win 7, JDK1.6
>Reporter: Sougata Bhattacharya
> Attachments: example pdf.jpg
>
>
> Let us take 3 examples, where the first two are rendering ok in the PDF, 
> whereas the 3rd is not.
> 1. ยี = ย + ี (consonant + vowel)
> 2. ยี่ = ย + ี + ่ (consonant + vowel + diacritic)
> 3. ย่ = ย + ่ (consonant + diacritic)
> The third complex alphabet is showing ok when you see it in 
> notepad/MSWord/webpage, etc. but in the PDF, it renders with a vertical space 
> in between the diacritic and the consonant, as if a vowel is missing.
> Though this does not alter the meaning of the script, it looks 
> unprofessional. 
> Similar details on what exactly I am facing can be found in the 2nd example 
> of the link: 
> http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=CmplxRndExamples
> Fonts used: PSL096pro.ttf, PSL095pro.ttf, PSL094pro.ttf, PSL053pro.ttf, 
> PSL052pro.ttf, PSL051pro.ttf, PSL050pro.ttf, etc..



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (FOP-2355) Issues with stacking of diacritics while trying to render PDFs in Thai language

2014-03-10 Thread Sougata Bhattacharya (JIRA)
Sougata Bhattacharya created FOP-2355:
-

 Summary: Issues with stacking of diacritics while trying to render 
PDFs in Thai language
 Key: FOP-2355
 URL: https://issues.apache.org/jira/browse/FOP-2355
 Project: Fop
  Issue Type: Bug
  Components: fonts, pdf
Affects Versions: 1.1, trunk
 Environment: Win 7, JDK1.6
Reporter: Sougata Bhattacharya


Let us take 3 examples, where the first two are rendering ok in the PDF, 
whereas the 3rd is not.

1. ยี = ย + ี (consonant + vowel)

2. ยี่ = ย + ี + ่ (consonant + vowel + diacritic)

3. ย่ = ย + ่ (consonant + diacritic)

The third complex alphabet is showing ok when you see it in 
notepad/MSWord/webpage, etc. but in the PDF, it renders with a vertical space 
in between the diacritic and the consonant, as if a vowel is missing.

Though this does not alter the meaning of the script, it looks unprofessional. 

Similar details on what exactly I am facing can be found in the 2nd example of 
the link: 
http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=CmplxRndExamples

Fonts used: PSL096pro.ttf, PSL095pro.ttf, PSL094pro.ttf, PSL053pro.ttf, 
PSL052pro.ttf, PSL051pro.ttf, PSL050pro.ttf, etc..



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (FOP-2302) [PATCH] Merge PDF fonts

2014-03-10 Thread simon steiner (JIRA)

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

simon steiner updated FOP-2302:
---

Attachment: trunkpdfpluginfontmergeforpdfbox2.patch

Version for pdfbox 2 without patches

> [PATCH] Merge PDF fonts
> ---
>
> Key: FOP-2302
> URL: https://issues.apache.org/jira/browse/FOP-2302
> Project: Fop
>  Issue Type: New Feature
>Reporter: simon steiner
> Attachments: foptrunkfontmerge.patch, foptrunkfontmerge2.patch, 
> pdfboxmergefonts.patch, pdfboxmergefonts1.8.5.patch, 
> pdfpluginbinaryfiles.zip, trunkpdfpluginfontmerge.patch, 
> trunkpdfpluginfontmerge2.patch, trunkpdfpluginfontmergeforpdfbox2.patch
>
>
> If you use fop to merge external pdfs together the output pdf has duplicate 
> fonts. This patch merges some CFF and Truetype cid fonts. It depends on 
> pdfbox and fontbox patches.
> Aim is to reduce pdf output size and speed up printing large pdfs. Acrobat is 
> able to do similar merging.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


Re: [VOTE] Applying the Type 1 subset patch

2014-03-10 Thread Pascal Sancho
Hi Robert,

+1 for me, I like it.

I tried your patch with a short XSL-FO containing a single paragraph
Lorem ipsum, and I got a 20kB file rather than a 35kB one, using a 6
files font (light+regular+bold).

2014-03-07 12:23 GMT+01:00 Robert :
> Hi All,
>
> About a week ago I posted a patch to add Type 1 subset support to FOP. All
> referenced Type 1 fonts (unless set to embedding-mode="full") will now be
> subset by default much like the behaviour exhibited by TrueType and
> OpenType. As this is a big feature and quite involved I think it is
> necessary to vote on whether to add this feature in it's current state to
> FOP. I'm not sure if anyone has taken a look at what has gone into this or
> tried it out yet, but it might be worth doing so before making your
> decision.
>
> I am going to be away for the next week or so but will tally up the votes
> and post the result once I am back.
>
> Here is a link to the patch and issue:
> https://issues.apache.org/jira/browse/FOP-2354
>
> Regards,
>
> Robert Meyer



-- 
pascal