Adding special characters using different fonts To add a special character using a specific font, you have to do the followings. For example, if you want to add a check symbol, you have to add the following in your docbook file.
<!-- Insert the check symbol --> <symbol role="ZapfDingbats">✓</symbol><!-- in named entity --> <symbol role="ZapfDingbats">✓</symbol><!-- in hexadecimal --> <symbol role="ZapfDingbats">⇒</symbol><!-- in decimal -->
In your customization layer, you tell docbook to use ZapfDingbats font-family for symbol element with ZapfDingbats role as follows:
<xsl:template match="symbol[@role = 'ZapfDingbats']"> <fo:inline font-family="ZapfDingbats"> <xsl:apply-templates/> </fo:inline> </xsl:template>
With this process, you can add as many fonts as you want by simply using different role attributes.