« Return to Thread: Cross-platform fonts

Re: Cross-platform fonts

by Andreas Delmelle-2 :: Rate this Message:

Reply to Author | View in Thread

On 16 Jun 2009, at 17:09, Sam Fuqua wrote:

Hi Sam

> Just to make sure that I'm understanding what you you're saying:
> • the <auto-detect> tag will cause FOP to detect my fonts
> • in order to print non-Latin text in non-Latin fonts, I need to  
> specify which font family to use
> What is the purpose of the font-selection-strategy property?  If I  
> don't need character by character font specification, is this a way  
> to automatically have non-Latin text rendered using a non-Latin fonts?

More or less, yes. Note that you still need to specify the font-
family, but you could do something like:

<block font-family="Helvetica,Uming">
  ...
</block>

In FOP Trunk, if there are any words in the block that cannot be fully  
mapped to glyphs in the 'Helvetica' family, then FOP will try 'SimSun'  
too. FOP 0.95 only looks at the first family specified in the list.


HTH!

Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...

 « Return to Thread: Cross-platform fonts