Hello mblee, > All my fonts are stored in the same directory as the config file. > I'd like to set <base> to indicate the current directory, but > haven't had luck. I've tried: > > <base>file://</base> > <base>contenxt://</base>
To indicate the current directory, <base>file://.</base> might do the trick. Strictly speaking, relative URLs after a protocol specification followed by "//" are malformed, but they've been used so heavily that many parsers let you get away with it. Be aware though that what FOP sees as the current directory may not be the one your config file is in! I've had some problems getting this to work too. For example, my config file and font files for a certain project and a certain language are together in: H:\Firebird\SourceForge\paulvink\manual\config\ru And my config file contains the line: <font-base>file://../../../config/ru</font-base> Notice: that's three flights up, two down. I suspect that the first "../" somehow gets eaten by the parser. (Did some tests back then, but it's a long time ago so I don't remember exactly how I came to that conclusion.) Also notice that I use <font-base> instead of <base>; they may or may not be parsed differently. I'm just hoping that the above gives you some ideas to try out. Happy FOPping :-) Paul Vinkenoog --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
