[
https://issues.apache.org/jira/browse/PDFBOX-4213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17500357#comment-17500357
]
Jeyan edited comment on PDFBOX-4213 at 3/2/22, 7:34 PM:
--------------------------------------------------------
[~tilman] I am attempting a similar of this, description at
[link|https://stackoverflow.com/questions/71295900/ligature-substitutions-glyph-reverse-split-reorder-and-gsub-in-pdfbox/71325241]
. Currently, looking at through [~paawak] 's helpful work PDFBOX-4189. Any
other pointers would be appreciated.
was (Author: JIRAUSER284958):
[~tilman] I am attempting a similar of this, description at
[link|https://stackoverflow.com/questions/71295900/ligature-substitutions-glyph-reverse-split-reorder-and-gsub-in-pdfbox/71325241]]
. Currently, looking at through [~paawak] 's helpful work PDFBOX-4189. Any
other pointers would be appreciated.
> UNICODE fonts UTF8
> -------------------
>
> Key: PDFBOX-4213
> URL: https://issues.apache.org/jira/browse/PDFBOX-4213
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox, PDModel
> Affects Versions: 2.0.7
> Reporter: tritmain
> Priority: Major
> Attachments: pdf_utf_iss.png
>
>
> When we use the font with UTF8 code support fonts in the PDFbox with Tamil
> fonts
> String testSting=" பேஸ்புக் " in the jaav applicationa I got output in PDF
> with attached image pdf_utf_iss.png format.
> Which is wrong
> some other fonts works perfect "ஆஈஊஐஏளறனடணச"
> Please help us to resolve the issue
>
>
> ----------
> File tamilFontFilePattinatharGist = new
> File(this.getServletContext().getRealPath("/fonts/GIST-TAM-OTPattinathar_N_Ship.ttf"));
> PDType0Font fontPattinatharGist = PDType0Font.load(document,
> tamilFontFilePattinatharGist);//Not ok with பேஸ்புக்
> contentStream.setFont( fontPattinatharGist, 15 );
> String testSting="ஆஈ பேஸ்புக்
> ஆஈஊஐஏளறனடணசஞஇஉஎகபமதநயழரலஙவொஓஔ\\r\\nஆஈஊஐஏளறனடணசஞஇஉஎகபமதநயழரலஙவொஓஔ";
> contentStream.showText(testSting);
> System.out.println(testSting);
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]