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

From: Jeffrey Walton <noloader@gmail.com>
Date: Thu Nov 07 2013 - 22:26:01 PST

Kevin,

This is an absolutely miserable experience.

Would it be possible to have RenderX add a test case for the circle
characters to its engineering process? For example, Circle-A is
0x24B6. The entire character set is located at
http://www.iam.uni-bonn.de/~alt/html/unicode_170.html.

Also, x4u is broken when installed /usr/local. Launching it with
`gksudo /usr/local/RenderX/XEP/x4u` results in a blank window. See
http://postimg.org/image/46jcczu1h/.

The parser for the xep.xml file is broken. Leave off the trailing
slash ("/") and notice what happens (the training path is dropped,
which results in BadFontDataException):

    <font-group xml:base="/usr/share/fonts/truetype/msttcorefonts"
             label="Windows TrueType" embed="true" subset="true">
        ...
    </font-group>

[error] Cannot read font metric from file:/usr/share/fonts/truetype/Arial.ttf
[error] java.io.FileNotFoundException:
/usr/share/fonts/truetype/Arial.ttf (No such file or directory)
error: formatting failed: com.renderx.fonts.BadFontDataException:
Could not obtain font metric for font family 'Arial'

Also, a feature to add an existing font directory would be sorely
welcomed. I amazed at the difficulty of using fonts. Its a throwback
to the 1990s.

Sorry to ask. I could not find a link to the bug reporter.

Jeff

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,527c83fd9851064918504!

_______________________________________________
(*) 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 22:26:13 2013

This archive was generated by hypermail 2.1.8 : Thu Nov 07 2013 - 22:26:30 PST