Hi Tobias,
another try. :)
Sunday 30 August 2009
>
> I defined the following font-family for a certain fo:block element in
> my customization layer:
> <...>Helvetica Black, 'Helvetica Black', Arial Black, 'Arial Black',
> Helvetica, Arial, sans-serif
>
> As far as I understood the mechanism, the processor will try to use
> the first value and if not available falls recursively back to the
> next one.
This is correct, when font-selection-strategy is set to "character-by-
character". This should be usually the case (attribute set "root.properties"
in fo/param.xsl.)
> The problem is, that the processor is not able to find those
> XXX Black fonts, although they are available on my system.
Have you configured your fonts for your FO formatter? Which one do you use?
FOP, XEP, ...?
Maybe the following URL could help:
http://www.sagehill.net/docbookxsl/AddFont.html> The second problem I have is related to the font-weight which could be
> either lighter, normal, bold or bolder. In my case only the normal and
> bold granularity seem to work. Is the font-weight only supported by
> some font-families and not all?
For example, in my recent DocBook XML book I've used different font weights
which I marked with the weight attribute (XEP). The value varies from 300 to
900. This has worked very well. So it should work. :)
Tom