You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by "Daniel Dekany (JIRA)" <ji...@apache.org> on 2017/04/25 19:47:04 UTC

[jira] [Comment Edited] (FREEMARKER-50) Czech encoding issues after coversion from ODT to PDF on Suse Linux

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

Daniel Dekany edited comment on FREEMARKER-50 at 4/25/17 7:46 PM:
------------------------------------------------------------------

FreeMarker doesn't care about fonts, or PDF for that mater. Those belong to XDocReport  (or to the library it uses internally to create the PDF, which is iText I believe). Binary ODT files are zip-s that contain XML files, and certainly FreeMarker is only invoked to processes one of those XML-s to the final XML. Certainly it's some PDF font issue, not a FreeMarker issue. Anyway, did you try what happens if the ODT document contains "Česká, Štětkova" literally (not inserted dynamically)?


was (Author: ddekany):
FreeMarker doesn't care about fonts, or PDF for that mater. Those belong to XDocReport  (or to the library it uses internally to create the PDF, which is iText I believe). Binary ODT files are zip-s that contain XML files, and certainly FreeMarker is only invoked to processes one of those XML-s to the final XML. Certainly it's some PDF font issue. It's most certainly not a FreeMarker issue. Anyway, did you try what happens in the ODT document contains "Česká, Štětkova" literally (not inserted dynamically)?

> Czech encoding issues after coversion from ODT to PDF on Suse Linux
> -------------------------------------------------------------------
>
>                 Key: FREEMARKER-50
>                 URL: https://issues.apache.org/jira/browse/FREEMARKER-50
>             Project: Apache Freemarker
>          Issue Type: Bug
>          Components: engine
>    Affects Versions: 2.3.25-incubating
>         Environment: Suse Linux Enterprise Server 11
>            Reporter: Bayardo
>
> Some Czech characters are ignored in my PDF generated report on Suse Linux Server, even though the different encoding settings on JVM and FreeMarker engine Configuration are set to UTF-8. On the other side, Czech characters on PDF generated on Ubuntu Linux works perfect!
> Czech characters within 'context' are passed correctly to
> report.convert(context, options, outputStream);
> but after calling 'report.convert(...)', some characters are ignored!
> SUSE Linux Ent. Server 11
> XdocReport 1.05.
> Freemarker 2.3.25
> OdfToolkit.odfdom 1.0.5
> iText 2.1.7
> Any help is appreciated.
> Thanks a lot.
> Bayardo



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)