[xep-support] Re: Where to put true-type fonts?

From: Jeffrey Walton <noloader@gmail.com>
Date: Thu Nov 07 2013 - 21:00:47 PST

Thanks Kevin,

Is there a way to tell xep to use the systems fonts through the XEP
command line? In my case, I want xep to use fonts from
/usr/local/share/fonts

I suspect the way is through the -param argument, but there's no man
page installed to read about it:

$ man xep
No manual entry for xep
See 'man 7 undocumented' for help when manual pages are not available.

Thanks again (and forgive my ignorance).

Jeff

$ xep -help
XEP 4.22 build 2013
java com.renderx.xep.XSLDriver
       {<option>}
       {-quiet | -version | -valid | -hosted | -help}
       ( [-xml] <infile> [-xsl <stylesheet>] {-param <name=value>}
         | -fo <infile>
         | -xep <infile> )
       [-f]
       [[-<output format>] <outfile>]
Available output formats: ppml (PPML), xps (XPS), at (XEP), pdf (PDF),
afp (AFP), html (HTML), svg (SVG), ps (Postscript), xep (XEP).

On Thu, Nov 7, 2013 at 11:51 PM, Kevin Brown <kevin@renderx.com> wrote:
> Your font specifications need to be in xep.xml, the RenderX configuration file. Not just in your DITA or Docbook xsl.
>
> Kevin Brown
>
> Jeffrey Walton <noloader@gmail.com> wrote:
>
>>Hi All,
>>
>>I found a font that has a few missing glyphs (GNU Unifont,
>>http://unifoundry.com/unifont.html).
>>
>>I placed the font in both .../RenderX/fonts and
>>.../RenderX/fonts/freefonts, but I'm getting an error while trying to
>>use it:
>>
>><!-- from custom XSL file -->
>><xsl:param name="body.font.family">unifont-6.3.20131020</xsl:param>
>><xsl:param name="title.font.family">unifont-6.3.20131020</xsl:param>
>>
>>Result:
>>
>>[warning] could not find any font family matching
>>"unifont-6.3.20131020"; replaced by Helvetica
>>[warning] could not find any font family matching
>>"unifont-6.3.20131020"; replaced by Helvetica
>>
>>I've tried specifying "unifont-6.3.20131020.ttf",
>>"unifont-6.3.20131020", and "unifont". I don't think there are any
>>combinations left, so I'm wondering if those font folders is used.
>>
>>Where precisely are fonts supposed to go? Is it possible to specify it
>>on the xep command line? (I have not found a list of name=value
>>options to use with -D, so I don't know how to specify it).
>>
>>Thanks in advance.
>>
>>
>>
>>
>>_______________________________________________
>>(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
>>(*) By using the Service, you expressly agree to these Terms of Service http://w
>>ww.renderx.com/terms-of-service.html

!DSPAM:87,527c70079859258638065!

_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Thu Nov 7 21:00:59 2013

This archive was generated by hypermail 2.1.8 : Thu Nov 07 2013 - 21:01:07 PST