xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Edge <Martin.E...@intellimail.com.au>
Subject Re: Fonts in embedded applications
Date Thu, 18 Mar 2010 22:08:37 GMT
In 0.95 / trunk the need for metrics is unnecessary, assuming you set  
the config path in your application, it will work providing you are  
supplying the right font to the right renderer.

Have you tried on the command line using fop.bat to make sure your  
config is ok?

Thanks
Martin





On 19/03/2010, at 8:10 AM, "Pete Allison" <macsmaker@aol.com> wrote:

> I’m trying to figure out how to make other fonts available to FOP.
>
>
>
> My current configuration:
>
>
>
> 1. FOP 0.94
>
> 2. I’m using the servlet example code: ..\fop-0.94\src\java\org\apac 
> he\fop\servlet
>
> 3. Building using ant.
>
> 4. Deploy the WAR file under Tomcat 6.0
>
>
>
> I know how generate the font metrics files (XML) using TTFReader.
>
>
>
> I cannot figure out how to make these available to FOP. I thought  
> (obviously incorrectly) that the adding my font information to  
> fop.xconf (path: ..\fop-0.94\conf) and then rebuilding/redeploying  
> the WAR file would do it, but all I get are the built-in fonts.
>
>
>
> Do I need to make my config file available outside the WAR file,  
> with the necessary code in my servlet? If so, I think I can figure  
> out how to do that.
>
>
>
>

---------------------------------------------------------------------
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