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

Kevin Brown kevin at renderx.com
Tue Jun 9 09:43:49 PDT 2015


Not supported. 
See http://www.renderx.com/reference.html#SVG
Neither <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 Brown
RenderX

-----Original Message-----
From: Jirka Kosek [mailto:jirka at kosek.cz] 
Sent: Tuesday, June 09, 2015 2:04 AM
To: kevin at renderx.com; RenderX Community Support List
Subject: 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 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'}
  </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
------------------------------------------------------------------




More information about the Xep-support mailing list