xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Raible <matt_rai...@yahoo.com>
Subject Re: True Type Fonts in Fop
Date Fri, 14 Dec 2001 12:16:24 GMT
I believe FOP only supports Times and Courier.  I discovered last week that if
you don't specify any font, you'll get Arial.

You might try www.renderx.com for a parser that supports more of the standard.

Matt

--- Sam Prokop <sprokop@4tek.de> wrote:
> Hi,
> ive got the following problem,
> i did everthing like it is said in http://xml.apache.org/fop/fonts.html,
> created metrics etc..
> 
> fop says: "Writing 12180 bytes of font data"
> 
> But there is still the standard font in my pdf.
> 
> im using fop 0.20.2.  
> 
> the entry in the conf/userconfig.xml:
> 
> 		<font metrics-file="FONTS\ANTQUAB.XML" kerning="yes"
> embed-file="C:\WINNT\FONTS\ANTQUAB.TTF">
>     			<font-triplet name="BookAntiqua,Bold"
> style="normal" weight="bold"/>
>     			<font-triplet name="Book Antiqua Bold"
> style="normal" weight="bold"/>
> 	 	</font>
> 
> this is the beginning of the metrics-file:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <font-metrics type="TYPE0">
> 	<font-name>BookAntiqua,Bold</font-name>
> 	<embed></embed>
> 	<cap-height>685</cap-height>
> 	<x-height>0</x-height>
> 
> --
> Sam 
> 


__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

Mime
View raw message