Next / Previous / Contents / NM Tech homepage

14.2. xep.xml: TCC modifications

Here we begin the additional font declarations local to the TCC Linux configuration. All the fonts are public domain TTF and OTF fonts from the excellent FontSquirrel web site.

xep.xml
    <!--==============================================================
     !  TCC local font customizations.  Do not edit this file: it is
     !  extracted automatically from the documentation:
     !    http://www.nmt.edu/~shipman/doc/doc5style/
     !-->

All the TCC local fonts are part of a font-group element.

xep.xml
    <font-group label='TCC local' embed='true' subset='true'
        xml:base='/u/www/docs/tcc/help/fonts/'>

14.2.1. Gandhi Sans

The main display face is Gandhi Sans. This is not as stodgy or as heavy as Free Sans (which is close to Helvetica), but it is still relatively formal.

xep.xml
    <!--================================================================
     !  DISPLAY FACES: Sans
     !-->
      <font-family name="GandhiSans"
          ligatures="&#xFB00; &#xFB01; &#xFB02; &#xFB03; &#xFB04;"
          xml:base='/u/www/docs/tcc/help/fonts/ttf/GandhiSans/'>
        <font><font-data ttf='GandhiSans-Regular.otf'/></font>
        <font weight='bold'>
          <font-data ttf='GandhiSans-Bold.otf'/></font>
        <font style='italic'>
          <font-data ttf='GandhiSans-Italic.otf'/></font>
        <font weight='bold' style='italic'>
          <font-data ttf='GandhiSans-BoldItalic.otf'/></font>
      </font-family>