Thanks !
I could finally get it working with:
<!ENTITY dejavu-prime '<symbol role="dejavufont">′</symbol>'>
<!ENTITY dejavu-Prime '<symbol role="dejavufont">″</symbol>'>
<!ENTITY dejavu-tprime '<symbol role="dejavufont">‴</symbol>'>
Do not forget :
1. To add <auto-detect/> to fop.xconf
2. To add the following in your customization layer:
<xsl:template match="symb...@role = 'dejavufont']">
<fo:inline font-family="DejaVu Sans">
<xsl:call-template name="inline.charseq"/>
</fo:inline>
</xsl:template>
Cheers.
Ps: fop from trunk is actually *much* more verbose about those kind of
warnings than fop 0.95.
On Fri, Apr 9, 2010 at 3:35 PM, Jeremias Maerki <[email protected]> wrote:
> You should get log output by FOP telling you about the missing glyphs. I
> suggest you look at fonts like Arial Unicode MS or DejaVu Sans which
> have a larger pool of glyphs.
>
> Whether you use the character entities or direct UTF-8 characters will
> be no difference to FOP as it will always receive the right Unicode
> character. But the active font has to have the requested glyph.
>
> On 09.04.2010 10:43:56 Mathieu Malaterre wrote:
>> Hi there,
>>
>> I am trying to insert the iso-tech symbol ‴ in a PDF
>> document. I was able to insert ′ and ″ using Bob Stayton
>> suggestion:
>>
>> http://www.sagehill.net/docbookxsl/SpecialChars.html#SwitchSymbol
>>
>> However I cannot get ‴ to render properly using either Symbol
>> or ZapfDingbats. I even tried, using the UTF-8 character directly in
>> the XML document:
>>
>> ‴
>>
>> but with no luck...
>>
>> Is there a way with fop to either fail with unsupported symbol, or
>> -even better- suggest a fonts where a particular can be found.
>>
>> Thanks for suggestion,
>> --
>> Mathieu
>> ref:
>> http://oreilly.com/catalog/docbook/book2/iso-tech.html
>>
>
>
>
> Jeremias Maerki
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Mathieu
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]