[xep-support] Re: Problems with rendering some characters inside SVG
Jirka Kosek
jirka at kosek.cz
Tue Jun 9 02:04:21 PDT 2015
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
------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: OpenPGP digital signature
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20150609/29c78fde/attachment.bin>
More information about the Xep-support
mailing list