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-31 Thread Karl Wright
On Tue, Jan 31, 2012 at 8:35 PM, Karl Wright wrote: > On Tue, Jan 31, 2012 at 8:04 AM, Tim Williams wrote: >> On Tue, Jan 31, 2012 at 3:16 AM, Karl Wright wrote: >>> Hi Hitoshi, >>> >>> plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl >>> does seem like the r

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 wrote: > On Tue, Jan 31, 2012 at 3:16 AM, Karl Wright wrote: >> Hi Hitoshi, >> >> plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl >> does seem like the right place to conditionalize things, but I'm >> unclear in y

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

2012-01-31 Thread Tim Williams
On Tue, Jan 31, 2012 at 3:16 AM, Karl Wright wrote: > Hi Hitoshi, > > plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl > does seem like the right place to conditionalize things, but I'm > unclear in your example where the language specifier comes from?  In > ot

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

2012-01-31 Thread Karl Wright
Hi Hitoshi, plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl does seem like the right place to conditionalize things, but I'm unclear in your example where the language specifier comes from? In other words, I'd like the path to the current file to determine th