[xep-support] Embedding SVG created with OpenOffice.org formula editor

Olexij Tkatchenko ot at parcs.de
Wed Mar 10 01:54:10 PST 2004


I sent an archive with formula and font to support at renderx.com. Here is
the formula:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg width="42mm" height="19mm" viewBox="0 0 4200 1900">
<g style="font-family:Times New
Roman;font-size:422;font-style:italic;font-weight:400">
  <g style="stroke:none;fill:rgb(0,0,0)">
   <text x="132" y="1429">RMSE
   </text>
  </g>
</g>
<g style="font-family:OpenSymbol;font-size:422;font-weight:400">
  <g style="stroke:none;fill:rgb(0,0,0)">
   <text x="1244" y="1429">=
   </text>
  </g>
</g>
<g style="font-family:OpenSymbol;font-size:2156;font-weight:400">
  <g style="stroke:none;fill:rgb(0,0,0)">
   <text x="1614" y="1746">
   </text>
   <rect x="1826" y="26" width="2231" height="15"/>
  </g>
</g>
<g style="font-family:OpenSymbol;font-size:616;font-weight:400">
  <g style="stroke:none;fill:rgb(0,0,0)">
   <text x="1905" y="926">∑
   </text>
  </g>
</g>
<g style="font-family:Times New
Roman;font-size:253;font-style:italic;font-weight:400">
  <g style="stroke:none;fill:rgb(0,0,0)">
   <text x="1931" y="1244">t
   </text>
  </g>
</g>
<g style="font-family:OpenSymbol;font-size:253;font-weight:400">
  <g style="stroke:none;fill:rgb(0,0,0)">
   <text x="2011" y="1244">=
   </text>
  </g>
</g>
<g style="font-family:Times New Roman;font-size:253;font-weight:400">
  <g style="stroke:none;fill:rgb(0,0,0)">
   <text x="2223" y="1244">1
   </text>
  </g>
</g>
<g style="font-family:Times New
Roman;font-size:253;font-style:italic;font-weight:400">
  <g style="stroke:none;fill:rgb(0,0,0)">
   <text x="2037" y="370">N
   </text>
  </g>
</g>
<g style="font-family:OpenSymbol;font-size:422;font-weight:400">
  <g style="stroke:none;fill:rgb(0,0,0)">
   <text x="2461" y="873">
   </text>
   <text x="2725" y="767">
   </text>
  </g>
</g>
<g style="font-family:Times New
Roman;font-size:422;font-style:italic;font-weight:400">
  <g style="stroke:none;fill:rgb(0,0,0)">
   <text x="2593" y="873">Y
   </text>
  </g>
</g>
<g style="font-family:Times New
Roman;font-size:253;font-style:italic;font-weight:400">
  <g style="stroke:none;fill:rgb(0,0,0)">
   <text x="2910" y="953">t
   </text>
  </g>
</g>
<g style="font-family:OpenSymbol;font-size:422;font-weight:400">
  <g style="stroke:none;fill:rgb(0,0,0)">
   <text x="3016" y="873">−
   </text>
  </g>
</g>
<g style="font-family:Times New
Roman;font-size:422;font-style:italic;font-weight:400">
  <g style="stroke:none;fill:rgb(0,0,0)">
   <text x="3360" y="873">Y
   </text>
  </g>
</g>
<g style="font-family:Times New
Roman;font-size:253;font-style:italic;font-weight:400">
  <g style="stroke:none;fill:rgb(0,0,0)">
   <text x="3651" y="953">t
   </text>
  </g>
</g>
<g style="font-family:OpenSymbol;font-size:422;font-weight:400">
  <g style="stroke:none;fill:rgb(0,0,0)">
   <text x="3757" y="873">
   </text>
  </g>
</g>
<g style="font-family:Times New Roman;font-size:253;font-weight:400">
  <g style="stroke:none;fill:rgb(0,0,0)">
   <text x="3889" y="661">2
   </text>
   <rect x="1879" y="1323" width="2167" height="21"/>
  </g>
</g>
<g style="font-family:Times New
Roman;font-size:422;font-style:italic;font-weight:400">
  <g style="stroke:none;fill:rgb(0,0,0)">
   <text x="2805" y="1720">N
   </text>
  </g>
</g>
</svg>

Срд, 2004-03-10 у 09:30, Alexander Peshkov написав:
> Hello Olexij,
> 
> Could you post a problematic SVG picture here? It also would be
> helpful if you provide us with the math font you are using though it's
> better be sent off-list (send it to support at renderx.com)
> 
> Best regards,
> Alexander Peshkov                             mailto:peshkov at renderx.com
> RenderX
> 
> 
> OT> I have created a simple xsl-fo document as suggested and got same result
> OT> - bad rendering of math font.
> OT> With Adobe SVG Viewer Plugin (Ver 3.01, Linux) the problem is even
> OT> worse, I do not see any character in questional math font. The font can
> OT> be found under X11 fonts, it may be a configuration issue with Viewer, I
> OT> had no time to figure it out.
> 
> 
> OT> Kind regards,
> OT> Olexij
> 
> OT> Âòð, 2004-03-09 ó 15:04, Alexander Peshkov íàïèñàâ:
> >> Hello Olexij,
> >> 
> >> Have you tried to insert problematic SVG picture into a simple
> >> XSL-FO document? Does the problem persists? Note that Docbook
> >> stylesheets machinery is rather complex so we should try to exclude
> >> possible interference at Docbook layer.
> >> Another question: does this picture looks well in Adobe SVG viewer?
> >> 
> >> Best regards,
> >> Alexander Peshkov                             mailto:peshkov at renderx.com
> >> RenderX
> >> 
> >> 
> >> OT> Hello,
> >> OT> I'm trying to include some formulas into a pdf-document. I create the
> >> OT> formulas with OO formula editor, export them as svg and use them as
> >> OT> "graphic" elements in Docbook.
> >> OT> The formula editor uses for math symbols a special font (opens___.ttf)
> >> OT> which I registered in fonts.xml. The achieved results are mixed: 
> >> OT> oneliner formulas are displayed properly, in more complex formulas (2
> >> OT> rows) the math symbols, like square root, are screwed up.
> >> OT> Maybe you have an idea on this issue.
> >> 
> >> OT> Thanks,
> >> OT> Olexij Tkatchenko
> >> 
> >> OT> -------------------
> >> OT> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
> >> OT> in the body of the message to majordomo at renderx.com from the address
> >> OT> you are subscribed from.
> >> OT> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
> >> 
> >> 
> >> -------------------
> >> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
> >> in the body of the message to majordomo at renderx.com from the address
> >> you are subscribed from.
> >> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
> 
> 
> -------------------
> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
> in the body of the message to majordomo at renderx.com from the address
> you are subscribed from.
> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
-- 
Olexij Tkatchenko <ot at parcs.de>
Parcs IT Consulting GmbH <www.parcs.de>

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list