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

From: Jeffrey Walton <noloader@gmail.com>
Date: Fri Nov 08 2013 - 07:05:43 PST

On Fri, Nov 8, 2013 at 6:50 AM, jens quade <jq@qdevelop.de> wrote:
> Hi Jeffrey,
>
>> 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"
>> [error] Cannot read font metric from file:/usr/share/fonts/truetype/Arial.ttf
>
> I think this implementation is correct (and probably some xml library stuff) -- see
>
> RFC 3986 Uniform Resource Identifiers (URI): Generic Syntax
> 5.2.3. Merge Paths
>
> """ return a string consisting of the reference's path component
> appended to all but the last segment of the base URI's path (i.e.,
> excluding any characters after the right-most "/" in the base URI
> path, or excluding the entire base URI path if it does not contain
> any "/" characters).
> """
Well, it seems to be a problem in real life, despite what the RFC says.

http://www.google.com/search?q=BadFontDataException+site:services.renderx.com

!DSPAM:87,527cfdcd9852028810573!

_______________________________________________
(*) 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 Fri Nov 8 07:05:52 2013

This archive was generated by hypermail 2.1.8 : Fri Nov 08 2013 - 07:05:57 PST