xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Sargent <rsarg...@xmission.com>
Subject Re: POstScrit Fonts
Date Wed, 18 Jan 2012 17:30:20 GMT
And to handle ttfs, I use
\#\!/bin/bash
#
# $1 is the in-coming ttf filename
# $2 is the output xml filename
#
java \-classpath \
${FOP_1_0_HOME}/build/fop.jar:\
${FOP_1_0_HOME}/lib/avalon-framework-4.2.0.jar:\
${FOP_1_0_HOME}/lib/commons-logging-1.0.4.jar:\
${FOP_1_0_HOME}/lib/commons-io-1.3.1.jar:\
${FOP_1_0_HOME}/lib/xmlgraphics-commons-1.4.jar \
org.apache.fop.fonts.apps.TTFReader \-enc ansi $1 $2

On 01/18/2012 07:28 AM, Rob Sargent wrote:
> I've had good luck with converting fonts for use with FOP.
>
> For OTF here's my plan
>
>     * Download, configure, make and install fontforge
>     * Put this script
>       |Open($||1||)|
>
>       |Generate($||1||:r + ||".ttf"||)|
>
>       into transfont.pe
>
>     * run fontforge -script transfont.pe <YourOpenType.opt>
>     * go to [TrueType fonts
>       <http://wiki.amirsys.com/confluence/pages/createpage.action?spaceKey=AC&title=TrueType+fonts&linkCreation=true&fromPageId=4129580>]
>
>
>
> On 01/18/2012 06:13 AM, Robert Eberhardt wrote:
>> Hello Craig,
>>
>> as far as i know a pfb, a afm and a pfm file is needed. At least under fop 0.95.
Did this change under fop 1.0.
>>
>>               Best Regards Robert
>>
>>
>>> On 01/18/2012 05:53 PM, Robert Eberhardt wrote:
>>>> Hello,
>>>>
>>>> A Customer asked me to use a font called "TradeGothic-BoldCondTwenty". I
only found otf file downloads at the net for this font.
>>>>
>>>> In fop 0.95 I get the exception "OpenType fonts with CFF data are not supported,
yet". So are ther any other possibilities to embed this font. excpet installing a pfb and
a afm and a pfm file.
>>>>
>>> Use FontForge to convert it to a PFB and AFM pair (a Type 1 font). It >usually
works extremely well.
>>> --
>>> Craig Ringer
>> --
>> Robert Eberhardt
>> e Business Solutions
>> Werum Software & Systems AG
>> Wulf-Werum-Straße 3 | 21337 Lüneburg
>> Tel. +49(0)4131/8900-194 | Fax +49(0)4131/8900-20
>> mailto:robert.eberhardt@werum.de | http://www.werum.de
>>  
>> USt-ID-Nr. DE 116 083 850 | RG Lüneburg HRB 2262
>> Vorsitzender des Aufsichtsrats: Johannes Zimmermann
>> Vorstand: Hartmut Krome, Rüdiger Schlierenkämper, Hans-Peter Subel 
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>

Mime
View raw message