Hi Andreas
Indeed your reply helps.
We build in English and in Japanese. The bullet point appears correctly for
English; in Japanese it leaves a blank, not #.
We don't have Symbol font installed in layout/fonts; only Arial, IPAGothic,
etc.
So, in English, is the bullet point using the Arial font (as specified in
the gentext en.xml file as •)?
If I changed Symbol to IPAGothic - like below - is there a risk of skewing
up the English output?
<!-- Fallback font used for Unicode symbols such as right arrow -->
<xsl:param name="symbol.font.family"
select="'IPAGothic,Symbol,ZapfDingbats,LucidaUnicode'" />
<xsl:template match="[EMAIL PROTECTED] = 'symbolfont']">
> <fo:inline font-family="IPAGothic">
> <xsl:call-template name="inline.charseq" />
> </fo:inline>
> </xsl:template>
Regards
Akagi
-----Original Message-----
From: Andreas L Delmelle [mailto:[EMAIL PROTECTED]
Sent: Monday, January 14, 2008 5:03 PM
To: [email protected]
Subject: Re: Bullet points in japanese
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]