[PATCH:xorg-sgml-doctools] Add fop font settings to xorg.xsl to support a wider range of glyphs

Alan Coopersmith alan.coopersmith at oracle.com
Thu Dec 16 14:54:18 PST 2010


Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 xorg.xsl |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/xorg.xsl b/xorg.xsl
index d3b0612..2d04383 100644
--- a/xorg.xsl
+++ b/xorg.xsl
@@ -58,4 +58,21 @@ DEALINGS IN THE SOFTWARE.
     <xsl:attribute name="color">blue</xsl:attribute>
   </xsl:attribute-set>
 
+  <!--
+     Since a number of documents, especially the credits section in the
+     ReleaseNotes, use characters not found in the fop default base-14
+     PostScript fonts, set the fonts for the fop generated documents to
+     use the free DejaVu and GNU Unifont fonts which cover a much wider
+     range of characters.
+
+     DejaVu is available from http://dejavu-fonts.org/
+     GNU Unifont is available from http://unifoundry.com/unifont.html
+
+     To set fop font paths to find them after installing, see
+     http://xmlgraphics.apache.org/fop/1.0/fonts.html#basics
+    -->
+  <xsl:param name="body.font.family">DejaVu Serif</xsl:param>
+  <xsl:param name="symbol.font.family">Times,Symbol,GNU Unifont</xsl:param>
+
+
 </xsl:stylesheet>
-- 
1.7.3.2



More information about the xorg-devel mailing list