[
https://issues.apache.org/jira/browse/PDFBOX-3378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15325812#comment-15325812
]
Tilman Hausherr commented on PDFBOX-3378:
-----------------------------------------
The call is still
{code}
public PDDocument createPDFFromText( Reader text ) throws IOException
{code}
So all you'd have to do to pass a string is to call {{new
StringReader(String)}}. Is that what you needed?
> Text to PDF conversion for multiple language support
> ----------------------------------------------------
>
> Key: PDFBOX-3378
> URL: https://issues.apache.org/jira/browse/PDFBOX-3378
> Project: PDFBox
> Issue Type: New Feature
> Components: Utilities
> Affects Versions: 2.0.1, 2.0.2
> Environment: Windows, Java
> Reporter: Aditya Sanjay Badve
> Original Estimate: 96h
> Remaining Estimate: 96h
>
> Added functionality to support different languages by adding ttf load
> functionality but in previous version of pdfbox1.8 we can create pdf by just
> passing long string. Utility class name: TextToPdf.
> But in newer version is there any direct functionality available that can
> mimic same behavior for different language support / English support. I.e.
> Text to PDF conversion by simply passing long String - String length greater
> than page width
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]