View Single Post
Old 02-20-2014, 07:59 AM   #71
SBT
Fanatic
SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.
 
SBT's Avatar
 
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
SVG: <symbol> and <use> tags unrecognised?

When viewing an epub with SVG illustrations in ADE Desktop v. 2 and 3 and on Sony PRS-T1, paths rendered with <symbol> and <use> tags are not shown. The SVG validates properly with the W3C validator. Anybody know of the problem, and a workaround that doesn't imply a bloated SVG file?

EDIT:
I haven't seen it documented anywhere, but it seems ADE does not support <symbol>!
The workaround is to use <g> instead of <symbol>, and in the corresponding <use> tags use transform="translate(...)" instead of x=... y=...

Last edited by SBT; 02-24-2014 at 06:38 AM.
SBT is offline   Reply With Quote