[prev in list] [next in list] [prev in thread] [next in thread]
List: fop-user
Subject: Using custom fonts - help with unwanted substitution
From: "Gabriel Birke" <gabriel.birke () gmail ! com>
Date: 2007-06-04 10:02:41
Message-ID: 32903d4e0706040302p5ed598b5v7edf95e831fce830 () mail ! gmail ! com
[Download RAW message or body]
Hello,
I'm trying to use a custom font. I have successfully created the font
metrics and with the Oxygen XML editor everything works perfect.
However, I want to use the command line utility (fop) and every time I
use it, I get the font substitution warning.
At the end of this mail you can see the current version of my config.xml
I have already tried the following approaches:
- Absolute and relative paths (the latter with base and font-base tags)
- File paths and file:// URLs
- The embed-file instead of embed-url attribute.
I triple-checked that the font files are really there. I verified that
the config file is really used. Is something wrong with my config
file? Or is it because I use Mac OS X?
Here is my config file
<?xml version="1.0" encoding="UTF-8"?>
<fop version="1.0">
<fonts>
<font metrics-url="file:///Volumes/Daten/Programmieren/xml-rechnung/avant.xml"
kerning="yes"
embed-url="file:///Volumes/Daten/Programmieren/xml-rechnung/AvantGarde-Book.ttf">
<font-triplet name="AvantGarde" style="normal" weight="normal"/>
</font>
<font metrics-url="file:///Volumes/Daten/Programmieren/xml-rechnung/avantdemi.xml"
kerning="yes"
embed-url="file:///Volumes/Daten/Programmieren/xml-rechnung/AvantGarde-Demi.ttf">
<font-triplet name="AvantGarde" style="normal" weight="bold"/>
</font>
</fonts>
</fop>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic