On 18.12.2008 09:20:21 Dongsheng Song wrote:
> *)  Can I map font "any" to a custom font ?
> http://xmlgraphics.apache.org/fop/trunk/fonts.html#Missing+Fonts

Yes, you can define a font-triplet for "any". Example:

<font embed-url="test\resources\fonts\glb12.ttf">
  <font-triplet name="Gladiator" style="normal" weight="normal"/>
  <font-triplet name="any" style="normal" weight="normal"/>
</font>


> *) Can I substitute by char range instead of weights ?
> http://xmlgraphics.apache.org/fop/trunk/fonts.html#substitution

No.

> *) I have not found how to define font list:
> http://xmlgraphics.apache.org/fop/trunk/fonts.html#selection

See:
http://www.w3.org/TR/xsl11/#font-family

Example: font-family="Helvetica, Symbol"

> Could some one give me a sample ?
> 
> 
> Thanks,
> Dongsheng Song
> 



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to