Re: FOP 1.0 Linux Arial not working
Hi OK ir works! Arialuni and Arial run twice. The Problem was the missing render section: renderers renderer mime=application/pdf I tought I testedwell now its ok. THX a lot guys!!! 2014-02-27 7:23 GMT+01:00 Szeak (Register Man) szea...@gmail.com: Hi, You need to use the ARIALUNI.TTF from your windows Fonts directory and configure it in fop config in fonts node. Like here: font embed-url=ARIALUNI.TTF embedding-mode=subset kerning=yes font-triplet name=Arial style=normal weight=normal/ /font If your font-base is set. You can aslo copy this 3 more when you need for normal-bold, italic-normal and italic-bold variations. Bye Szeak - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
FOP 1.0 Linux Arial not working
Hi I want to use Arial in my xsl stylesheet but there are several problems. FOP Version: Fop 1.0 OS : SLES 11 SP2 First I get the arial.ttf from a windows client. Generate the metrics file with: java -cp build/fop.jar:lib/avalon-framework-4.2.0.jar:lib/commons-logging-1.0.4.jar:lib/commons-io-1.3.1.jar:lib/xmlgraphics-commons-1.5.jar org.apache.fop.fonts.apps.TTFReader /opt/fop/fonts/arial.ttf arial.xml To there everythings is ok Then I add to config.xml: fonts !-- arial -- font metrics-url=/opt/fop/fonts/arial.xml kerning=yes embed-url=/opt/fop/fonts/arial.ttf font-triplet name=Arial style=normal weight=normal/ /font /fonts And run fop with: /opt/fop/fop.sh -c /opt/fop/conf/config.xml -d -fo /tmp/test.fo -pdf /tmp/test.pdf Which gives me such output: WARNING: Font Arial,normal,400 not found. Substituting with any,normal,400. Where is my fautl?? THX a lot and regards from Germany.
Re: FOP 1.0 Linux Arial not working
Is the font configured under the renderer element of the format you want to produce? On Wed, Feb 26, 2014 at 3:32 PM, Eric Lehmann e.lehman...@gmail.com wrote: Hi I want to use Arial in my xsl stylesheet but there are several problems. FOP Version: Fop 1.0 OS : SLES 11 SP2 First I get the arial.ttf from a windows client. Generate the metrics file with: java -cp build/fop.jar:lib/avalon-framework-4.2.0.jar:lib/commons-logging-1.0.4.jar:lib/commons-io-1.3.1.jar:lib/xmlgraphics-commons-1.5.jar org.apache.fop.fonts.apps.TTFReader /opt/fop/fonts/arial.ttf arial.xml To there everythings is ok Then I add to config.xml: fonts !-- arial -- font metrics-url=/opt/fop/fonts/arial.xml kerning=yes embed-url=/opt/fop/fonts/arial.ttf font-triplet name=Arial style=normal weight=normal/ /font /fonts And run fop with: /opt/fop/fop.sh -c /opt/fop/conf/config.xml -d -fo /tmp/test.fo -pdf /tmp/test.pdf Which gives me such output: WARNING: Font Arial,normal,400 not found. Substituting with any,normal,400. Where is my fautl?? THX a lot and regards from Germany.
Fwd: FOP 1.0 Linux Arial not working
renderers renderer mime=application/pdf fonts !-- arial -- font metrics-url=/opt/fop/fonts/arial.xml kerning=yes embed-url=/opt/fop/fonts/arial.ttf font-triplet name=Arial style=normal weight=normal/ /font /fonts /renderer /renderers -- Forwarded message -- From: Luis Bernardo lmpmberna...@gmail.com Date: 2014-02-26 16:48 GMT+01:00 Subject: Re: FOP 1.0 Linux Arial not working To: fop-users@xmlgraphics.apache.org fop-users@xmlgraphics.apache.org Is the font configured under the renderer element of the format you want to produce? On Wed, Feb 26, 2014 at 3:32 PM, Eric Lehmann e.lehman...@gmail.com wrote: Hi I want to use Arial in my xsl stylesheet but there are several problems. FOP Version: Fop 1.0 OS : SLES 11 SP2 First I get the arial.ttf from a windows client. Generate the metrics file with: java -cp build/fop.jar:lib/avalon-framework-4.2.0.jar:lib/commons-logging-1.0.4.jar:lib/commons-io-1.3.1.jar:lib/xmlgraphics-commons-1.5.jar org.apache.fop.fonts.apps.TTFReader /opt/fop/fonts/arial.ttf arial.xml To there everythings is ok Then I add to config.xml: fonts !-- arial -- font metrics-url=/opt/fop/fonts/arial.xml kerning=yes embed-url=/opt/fop/fonts/arial.ttf font-triplet name=Arial style=normal weight=normal/ /font /fonts And run fop with: /opt/fop/fop.sh -c /opt/fop/conf/config.xml -d -fo /tmp/test.fo -pdf /tmp/test.pdf Which gives me such output: WARNING: Font Arial,normal,400 not found. Substituting with any,normal,400. Where is my fautl?? THX a lot and regards from Germany.
RE: FOP 1.0 Linux Arial not working
Hi, What about using font-triplet name=Arial style=normal weight=400/ Thanks From: Eric Lehmann [mailto:e.lehman...@gmail.com] Sent: 26 February 2014 16:04 To: fop-users@xmlgraphics.apache.org Subject: Fwd: FOP 1.0 Linux Arial not working renderers renderer mime=application/pdf fonts !-- arial -- font metrics-url=/opt/fop/fonts/arial.xml kerning=yes embed-url=/opt/fop/fonts/arial.ttf font-triplet name=Arial style=normal weight=normal/ /font /fonts /renderer /renderers -- Forwarded message -- From: Luis Bernardo lmpmberna...@gmail.com mailto:lmpmberna...@gmail.com Date: 2014-02-26 16:48 GMT+01:00 Subject: Re: FOP 1.0 Linux Arial not working To: fop-users@xmlgraphics.apache.org mailto:fop-users@xmlgraphics.apache.org fop-users@xmlgraphics.apache.org mailto:fop-users@xmlgraphics.apache.org Is the font configured under the renderer element of the format you want to produce? On Wed, Feb 26, 2014 at 3:32 PM, Eric Lehmann e.lehman...@gmail.com mailto:e.lehman...@gmail.com wrote: Hi I want to use Arial in my xsl stylesheet but there are several problems. FOP Version: Fop 1.0 OS : SLES 11 SP2 First I get the arial.ttf from a windows client. Generate the metrics file with: java -cp build/fop.jar:lib/avalon-framework-4.2.0.jar:lib/commons-logging-1.0.4.jar: lib/commons-io-1.3.1.jar:lib/xmlgraphics-commons-1.5.jar org.apache.fop.fonts.apps.TTFReader /opt/fop/fonts/arial.ttf arial.xml To there everythings is ok Then I add to config.xml: fonts !-- arial -- font metrics-url=/opt/fop/fonts/arial.xml kerning=yes embed-url=/opt/fop/fonts/arial.ttf font-triplet name=Arial style=normal weight=normal/ /font /fonts And run fop with: /opt/fop/fop.sh -c /opt/fop/conf/config.xml -d -fo /tmp/test.fo http://test.fo -pdf /tmp/test.pdf Which gives me such output: WARNING: Font Arial,normal,400 not found. Substituting with any,normal,400. Where is my fautl?? THX a lot and regards from Germany.
Re: FOP 1.0 Linux Arial not working
Hi, You need to use the ARIALUNI.TTF from your windows Fonts directory and configure it in fop config in fonts node. Like here: font embed-url=ARIALUNI.TTF embedding-mode=subset kerning=yes font-triplet name=Arial style=normal weight=normal/ /font If your font-base is set. You can aslo copy this 3 more when you need for normal-bold, italic-normal and italic-bold variations. Bye Szeak - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org