You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by ax...@accenture.com on 2001/09/17 16:18:13 UTC

Re: AW: [Q] root directory for embedded font metric and ttf files ? and new: DumpConfiguration

Christian,

unfortunately this hasen't allowed me to import fonts just yet. I have
tried both relative and absolute paths since - to no avail.

I have tried absolute with forward slashes (java path syntax) and
backslashes (windows path syntax - since this is a w2k platform)
and have tried relative and URL style file naming.

Which brings me to the next question: The config.xml has an entry
dumpConfiguration which defaults to false.
Can I override that to true in my userconfig.xml and where would that dump
to ? Console doesn`t show anything. Is there anything else I need to
specify ?
TIA
               Axel
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           





                                                                                                                   
            "Beer, Christian"                                                                                      
            <BE...@DIRON.de>               To:     "'fop-dev@xml.apache.org'" <fo...@xml.apache.org>               
                                         cc:                                                                       
            17/09/2001 14:06             Subject:     AW: [Q] root directory for embedded font metric and ttf      
            Please respond to            files ?                                                                   
            fop-dev                                                                                                
                                                                                                                   
                                                                                                                   




If you use a relative path, the path where you start the programm from
is the base-path. So in the case of your servlet it is the path from where
you start the servlet-engine.

-----Ursprüngliche Nachricht-----
Von: axel.spohr@accenture.com [mailto:axel.spohr@accenture.com]
Gesendet: Montag, 17. September 2001 13:48
An: fop-dev@xml.apache.org
Betreff: [Q] root directory for embedded font metric and ttf files ?


I am embedding FOP 0.20.1 into a servlet using the procedure described on
the embedding page, including loading a user configuration file which I
require to use non-standard fonts in my generated documents.

The documentation for embedding extra fonts is missing information as to
where FOP is looking for these fonts - the sample has an absolute path for
the embed file and a relative path for the metrics file.
For my command line tests as part of the stylesheet development, just
having everything in the local directory worked out.

Relative to what would I need to specify the path for the servlet ? Can I
use some kind of java system resource setup to search the class path ?
TIA

                    Axel



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org