Re: Is there a decent way of using different PDF fonts for different parts of a Forrest site?

2012-02-01 Thread Karl Wright
FWIW, the $path has just what I hoped in it and works well. Thanks! Karl On Tue, Jan 31, 2012 at 9:23 PM, Karl Wright daddy...@gmail.com wrote: Then, inside your own document-to-fo.xsl you should have access to a path parameter.  You may add an additional condition to the font of interest

Re: Is there a decent way of using different PDF fonts for different parts of a Forrest site?

2012-01-31 Thread Karl Wright
this than editing the xsl file. H.Ozawa (2012/01/27 11:38), Karl Wright wrote: Hello, I have a site which has different languages in the same site.  This works OK except when it comes to PDF generation.  There seems to be no font choice that covers all languages; I need Dejavu for latin

Re: Is there a decent way of using different PDF fonts for different parts of a Forrest site?

2012-01-31 Thread Karl Wright
On Tue, Jan 31, 2012 at 8:04 AM, Tim Williams william...@gmail.com wrote: On Tue, Jan 31, 2012 at 3:16 AM, Karl Wright daddy...@gmail.com wrote: Hi Hitoshi, plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl does seem like the right place to conditionalize

Re: Is there a decent way of using different PDF fonts for different parts of a Forrest site?

2012-01-31 Thread Karl Wright
Then, inside your own document-to-fo.xsl you should have access to a path parameter.  You may add an additional condition to the font of interest (e.g. rootFontFamily) that uses XSL string functions against your $path parameter. I've set things up so that my document path includes the

Re: Is there a decent way of using different PDF fonts for different parts of a Forrest site?

2012-01-29 Thread Karl Wright
this than editing the xsl file. H.Ozawa (2012/01/27 11:38), Karl Wright wrote: Hello, I have a site which has different languages in the same site.  This works OK except when it comes to PDF generation.  There seems to be no font choice that covers all languages; I need Dejavu for latin

Is there a decent way of using different PDF fonts for different parts of a Forrest site?

2012-01-26 Thread Karl Wright
Hello, I have a site which has different languages in the same site. This works OK except when it comes to PDF generation. There seems to be no font choice that covers all languages; I need Dejavu for latin languages, and IPA for Japanese. The problem is that I can't figure out how to