On Jan 14, 2008, at 16:17, Akagi Kobayashi wrote:
Hi
Could you help me set the IPAGothic font as the font for the list -
so that
the bullets show?
Bullets in IPAGothic (and in MS fonts) are ・ (•
doesn't work
for me.).
Setting the bullet in common/ja.xml <l:dingbat key="bullet"
text="●"/> as such doesn't work.
In the custom stylesheet, we have the following section:
<!-- Fallback font used for Unicode symbols such as right arrow -->
<xsl:param name="symbol.font.family"
select="'Symbol,ZapfDingbats,LucidaUnicode'" />
I'm afraid that, as long as you don't specify the correct font-family
as the first one, you won't get your bullets... :(
Reason is that font-selection-strategy is unimplemented for now. FOP
only looks at the first font-family (Symbol), and if that font does
not have a glyph for that codepoint, then you get the dreaded '#' in
your PDF...
<xsl:template match="[EMAIL PROTECTED] = 'symbolfont']">
<fo:inline font-family="Symbol">
<xsl:call-template name="inline.charseq" />
</fo:inline>
</xsl:template>
I tried adding the font name after LucindaUnicode, but that didn't
work!
As stated above: it won't work, unless the 'IPAGothic' font is the
first one in the list (only the first font-family is used).
HTH!
Cheers
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]