well, in my case, I need to use the font ArialUnicode, which will be helping me in displaying few different fonts according to the user locale. Therefore I have to append the font to the pdf, in case the users won't have it installed in their systems.
Anyway, appreciate your help! Rob Sargent-4 wrote: > > 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-configuration>true</strict-configuration> >>>> >>>> <strict-validation>true</strict-validation> >>>> >>>> <font-base>./</font-base> >>>> >>>> <source-resolution>72</source-resolution> >>>> <target-resolution>72</target-resolution> >>>> >>>> >>>> <default-page-settings height="11in" width="8.26in"/> >>>> >>>> <renderers> >>>> <renderer mime="application/pdf"> >>>> <filterList> >>>> >>>> <value>flate</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: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >>> >>> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://old.nabble.com/FOP-Font-Configuration-in-Linux-tp29932761p29949592.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
