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

From: Kevin Brown <kevin_at_ADDRESS_REMOVED>
Date: Tue Jun 09 2015 - 09:43:49 PDT

Not supported. See http://www.renderx.com/reference.html#SVGNeither <font> or <glyph> are listed as a structural element so it is not supported, only from referencing and embedding the font from "xep.xml"
And that is why mine rendered as I have Arial available.
Kevin BrownRenderX
-----Original Message-----From: Jirka Kosek [mailto:jirka@kosek.cz] Sent: Tuesday, June 09, 2015 2:04 AMTo: kevin@renderx.com; RenderX Community Support ListSubject: Re: [xep-support] Re: Problems with rendering some characters inside SVG
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"> <font-face font-family="Arial"> </font-face> <missing-glyph><path d="M0 0z"/></missing-glyph> <glyph unicode="ů" horiz-adv-x="556"><path d="M405.818 0l076.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'} </style>
...
  <text x="120.647" y="122.6" class="fnt0">vůči</text>

Are SVG fonts supported in SVG images by XEP? Jirka
-------------------------------------------------------------------- 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://www.renderx.com/terms-of-service.html
Received on Tue Jun 9 09:38:47 2015

This archive was generated by hypermail 2.1.8 : Tue Jun 09 2015 - 09:39:01 PDT