Login | Register For Free | Help
Search for: (Advanced)

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

Index | Next | Previous | View Flat


daddywri at gmail

Jan 31, 2012, 5:35 PM


Views: 3560
Permalink
Re: Is there a decent way of using different PDF fonts for different parts of a Forrest site? [In reply to]

On Tue, Jan 31, 2012 at 8:04 AM, Tim Williams <williamstw [at] gmail> wrote:
> On Tue, Jan 31, 2012 at 3:16 AM, Karl Wright <daddywri [at] gmail> 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
>> other words, I'd like the path to the current file to determine the
>> language, not the system settings.  Do you (or does anyone else) know
>> how to construct a conditional within the document-to-fo.xsl file that
>> would (say) base a decision for a font choice on whether a file had a
>> name that matched a particular regular expression?  That's the kind of
>> logic I'm looking for here.
>
> Hi Karl,
> Know?  Unfortunately not - this is a guess.  Create a copy of
> document-to-fo.xsl - using the project-specific locationmap to find
> it.  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. Unfortunately, I can't verify any of
> this until tonight.
>
> Thanks,
> --tim

Thanks, Tim, for the reply. I'll experiment to see if I can use $path
in the manner I need.

Could you elaborate on where the "project-specific locationmap" should
be found? Our site was created initially by someone else and doesn't
appear to have such a thing.

Karl

Subject User Time
Is there a decent way of using different PDF fonts for different parts of a Forrest site? daddywri at gmail Jan 26, 2012, 6:38 PM
    Re: Is there a decent way of using different PDF fonts for different parts of a Forrest site? Ozawa_Hitoshi at ogis-ri Jan 26, 2012, 8:01 PM
        Re: Is there a decent way of using different PDF fonts for different parts of a Forrest site? daddywri at gmail Jan 29, 2012, 8:38 AM
        Re: Is there a decent way of using different PDF fonts for different parts of a Forrest site? daddywri at gmail Jan 31, 2012, 12:16 AM
    Re: Is there a decent way of using different PDF fonts for different parts of a Forrest site? williamstw at gmail Jan 31, 2012, 5:04 AM
    Re: Is there a decent way of using different PDF fonts for different parts of a Forrest site? daddywri at gmail Jan 31, 2012, 5:35 PM
    Re: Is there a decent way of using different PDF fonts for different parts of a Forrest site? daddywri at gmail Jan 31, 2012, 5:48 PM
    Re: Is there a decent way of using different PDF fonts for different parts of a Forrest site? daddywri at gmail Jan 31, 2012, 6:23 PM
    Re: Is there a decent way of using different PDF fonts for different parts of a Forrest site? daddywri at gmail Feb 1, 2012, 5:02 AM
    Re: Is there a decent way of using different PDF fonts for different parts of a Forrest site? williamstw at gmail Feb 1, 2012, 5:05 AM
    Re: Is there a decent way of using different PDF fonts for different parts of a Forrest site? williamstw at gmail Feb 1, 2012, 4:44 PM
    Re: Is there a decent way of using different PDF fonts for different parts of a Forrest site? crossley at apache Feb 1, 2012, 4:56 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.