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

Gaetan Nadon memsize at videotron.ca
Thu Dec 16 17:33:34 PST 2010


On Thu, 2010-12-16 at 14:54 -0800, Alan Coopersmith wrote:

> 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>


Reviewed-by: Gaetan Nadon <memsize at videotron.ca>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101216/3e6f5e40/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101216/3e6f5e40/attachment.pgp>


More information about the xorg-devel mailing list