[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-2369) Embedding custom fonts (TrueType, etc...) to the generated PDF file

Rossen Gospodinov (JIRA) jira-events at lists.jboss.org
Sun Jul 20 09:25:52 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBSEAM-2369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rossen Gospodinov updated JBSEAM-2369:
--------------------------------------

    Attachment: UIFont.patch


This patch resolves the problem with embedding fonts in pdf documents.

Example:
<p:font name="/usr/share/fonts/webcore/verdana.ttf" encoding="Cp1251" embedded="true" size="10" style="bold">

By default: embedded parameter is false.

> Embedding custom fonts (TrueType, etc...) to the generated PDF file
> -------------------------------------------------------------------
>
>                 Key: JBSEAM-2369
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-2369
>             Project: Seam
>          Issue Type: Feature Request
>          Components: PDF
>         Environment: jboss-4.2.0.GA
>            Reporter: Victor Arabadzhiyski
>            Assignee: Norman Richards
>         Attachments: cyrillic_seam_pdf.zip, UIFont.patch
>
>
> Using the information from the iText book and some forums I was able to generate PDF file with cyrillic content (by embedding the corresponding cyrillic-enabled font, because the default ones do not have such support). However, when I tried to generate the same PDF from JBoss Seam PDF, I found that there is no way to embed custom fonts in the PDF file from Seam and after PDF generation, the cyrillic content is simply missing (ignored?!) in the resulting PDF file.
> I think this will be nice multilingual feature for Seam

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list