Return-Path: X-Original-To: apmail-cocoon-dev-archive@www.apache.org Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AFD309BF7 for ; Tue, 8 May 2012 14:28:12 +0000 (UTC) Received: (qmail 54917 invoked by uid 500); 8 May 2012 14:28:12 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 54765 invoked by uid 500); 8 May 2012 14:28:12 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 54758 invoked by uid 99); 8 May 2012 14:28:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2012 14:28:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2012 14:28:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5CA6D439905 for ; Tue, 8 May 2012 14:27:51 +0000 (UTC) Date: Tue, 8 May 2012 14:27:51 +0000 (UTC) From: "Jos Snellings (JIRA)" To: dev@cocoon.apache.org Message-ID: <827728631.38844.1336487271380.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1895370308.38829.1336486916810.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (COCOON3-99) Provide FopSerializer with an embedded user configuration present in the cocoon block MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COCOON3-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jos Snellings updated COCOON3-99: --------------------------------- Attachment: patch-fopserializer.txt A patch for adding the user configuration to the fop serializer via a sitemap construct. > Provide FopSerializer with an embedded user configuration present in the cocoon block > ------------------------------------------------------------------------------------- > > Key: COCOON3-99 > URL: https://issues.apache.org/jira/browse/COCOON3-99 > Project: Cocoon 3 > Issue Type: Improvement > Components: cocoon-optional > Affects Versions: 3.0.0-beta-1 > Reporter: Jos Snellings > Priority: Minor > Fix For: 3.0.0-beta-1 > > Attachments: patch-fopserializer.txt > > > The current FopSerializer creates an instance of FopFactory. Only the defaults are used. This is a problem if you want to generate PDFs > from Unicode data. The Cyrillic and Greek characters have no glyphs in these fonts, causing those strings to be displayed as "#" sequences. > This patch adds an override for the method "setConfiguration" to add a user configuration location via a sitemap parameter. > In sitemap.xmap of the block, add the parameter "userConfigurationPath" indicating the location of the user configuration file. > Example: > > > > > > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira