[xep-support] Re: Problems with rendering some characters inside SVG

From: Jirka Kosek <jirka_at_ADDRESS_REMOVED>
Date: Tue Jun 09 2015 - 02:04:21 PDT

On 9.6.2015 10:09, Jirka Kosek wrote:
> This could be font issue, but as font seems to be embedded as well, I
> though that problem is in XEP.

It's definitively font issue.

File is referencing Arial font. If I add it into xep.xml and point to
local copy of Arial then characters are shown. However when Arial is not
known to XEP then it should pick up embedded glyph definitions from the
file and it's apparently not doing it:

  <font id="FontID0" font-variant="normal" style="fill-rule:nonzero"
font-style="normal" font-weight="400">
   <missing-glyph><path d="M0 0z"/></missing-glyph>
   <glyph unicode="ů" horiz-adv-x="556"><path d="M405.818 0l0
76.1817c-40.5003,-58.6776 -95.


  <style type="text/css">
    @font-face { font-family:"Arial";src:url("#FontID0") format(svg)}
    .fnt0 {font-weight:normal;font-size:2.8222;font-family:'Arial'}


  <text x="120.647" y="122.6" class="fnt0">vůči</text>

Are SVG fonts supported in SVG images by XEP?

  Jirka Kosek      e-mail: jirka_AT_kosek.cz      http://xmlguru.cz
     Professional XML and Web consulting and training services
DocBook/DITA customization, custom XSLT/XSL-FO document processing
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
    Bringing you XML Prague conference    http://xmlprague.cz

(*) 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

Received on Tue Jun 9 02:00:05 2015

This archive was generated by hypermail 2.1.8 : Tue Jun 09 2015 - 02:00:11 PDT