Return-Path: X-Original-To: apmail-cocoon-users-archive@www.apache.org Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7164D11D45 for ; Sun, 25 May 2014 16:28:54 +0000 (UTC) Received: (qmail 72074 invoked by uid 500); 25 May 2014 16:28:54 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 72021 invoked by uid 500); 25 May 2014 16:28:54 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 72012 invoked by uid 99); 25 May 2014 16:28:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 May 2014 16:28:54 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [81.169.146.183] (HELO mo4-p05-ob.smtp.rzone.de) (81.169.146.183) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 May 2014 16:28:51 +0000 X-RZG-AUTH: :JHgHVUukbu/oABctYDdDMfBS7L/flKXHRYbpWBBwufN76+k3KeRVCVA= X-RZG-CLASS-ID: mo05 Received: from [192.168.0.66] (p5DC8D0B2.dip0.t-ipconnect.de [93.200.208.178]) by smtp.strato.de (RZmta 34.2 DYNA|AUTH) with ESMTPSA id K0791cq4PGSRY47 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) for ; Sun, 25 May 2014 18:28:27 +0200 (CEST) Message-ID: <53821A26.3010203@trustable.de> Date: Sun, 25 May 2014 18:28:22 +0200 From: Andreas Kuehne User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: svg text in fop on cocoon-2.1.12 Linex References: <53820429.2040205@didm.co.uk> In-Reply-To: <53820429.2040205@didm.co.uk> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Peter, as far as I remember the usual suspects were: - expected font (family) not installed on your machine : make a 14pt Times available ... - headless server irritate the calculation of font sizes : some solutions discussed here http://fortylines.com/blog/fopHeadlessServer.blog.html Greetings and good luck, Andreas > Hi, > > Sorry previous email send before fully written > > I am having problems with svg text in fop on cocoon-2.1.12 Linux > The problem does not occur on cocoon-2.1.12 Windows > > I get the following error whenever the svg contains eg with > > content-height="100px" padding-right="0.2cm"> > height="15.5" viewBox="0 0 15.5 15.5"> > > EUR > > > > > I get > > *exception* > > javax.servlet.ServletException: Servlet execution threw an exception > > *root cause* > > java.lang.NoClassDefFoundError: Could not initialize class > org.apache.batik.gvt.font.FontFamilyResolver > org.apache.batik.bridge.SVGTextElementBridge.getFontList(Unknown > Source) > org.apache.batik.bridge.SVGTextElementBridge.getAttributeMap(Unknown > Source) > org.apache.batik.bridge.SVGTextElementBridge.fillAttributedStringBuffer(Unknown > Source) > org.apache.batik.bridge.SVGTextElementBridge.buildAttributedString(Unknown > Source) > org.apache.batik.bridge.SVGTextElementBridge.computeLaidoutText(Unknown > Source) > org.apache.batik.bridge.SVGTextElementBridge.buildGraphicsNode(Unknown > Source) > org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source) > org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source) > org.apache.batik.bridge.GVTBuilder.build(Unknown Source) > ETC > > > > I assume that the linux server is missing the fop text package > > Help please > > Peter > > -- Andreas K�hne phone: +49 177 293 24 97 mailto: kuehne@trustable.de Trustable Ltd. Niederlassung Deutschland Str�verstr. 18 - 59427 Unna Amtsgericht Hamm HRB 5868 Directors Andreas K�hne, Heiko Veit Company UK Company No: 5218868 Registered in England and Wales --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org