I can't speak to the use of auto-detect, but you either need to
generalize the font choise (sanserif?) or ensure arial is available
where ever you run your app.
On 10/11/2010 08:44 PM, pathum wrote:
Then do you want me to activate auto-detect/ feature to load the fonts?
So no need of embedding the font afterwords or do I still need to put the
xml file and the ttf file paths to the fo config file? If so, what will be
the correct path format in linux?
Really appreciate your help!
Rob Sargent-4 wrote:
The fonts on a linux box are usually found at /usr/share/fonts.
Most distros have a package for the MS fonts (ttf-mscorefonts or
somesuch) though I don't see it on my SUSE default supplier :(
You might get away with copying the files named in your config directly
into /usr/share/fonts/truetype directory.
On 10/11/2010 04:30 AM, pathum wrote:
Hello,
I am using Apache FOP for rendering PDF in a Java environment. Currently
I
am running my Enterprise Archive in a windows pc and its working fine.
What I am having as the error is, the unicode.ttf file and the
unicode.xml
file are being hard-coded in windows.
an extraction of my FO-config file is as follows.
base./base
strict-configurationtrue/strict-configuration
strict-validationtrue/strict-validation
font-base.//font-base
source-resolution72/source-resolution
target-resolution72/target-resolution
default-page-settings height=11in width=8.26in/
renderers
renderer mime=application/pdf
filterList
valueflate/value
/filterList
fonts
font-triplet name=arialunicode
style=normal weight=normal /
/fonts
What my concern is that, I need to migrate this to linux environment and
in
that how could i set up the base, metrics path and the embed url?
Any help will be really appreciated!
-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org