Apache OpenOffice (AOO) Bugzilla – Issue 12631
svg font should be opensymbol instead of starsymbol?
Last modified: 2017-05-20 11:13:34 UTC
I did the following: 1. Created a new drawing in OpenOffice 1.0.2 2. Inserted a formula object in the drawing, with formula text "p~=~ r {{i (1 + r )^m - s } over {(1 + r )^m - 1} }" 3. Exported the drawing as an SVG file. 4. Viewed the SVG in Internet Explorer The SVG had lots of squares instead of some of the symbols. The SVG file itself had lots of references to font-family:StarSymbol, a font that I don't have. I do have OpenSymbol, apparently instealled with OpenOffice. Replacing the StarSymbols with OpenOffices in the SVG works: the SVG displays correctly. I suspect that the SVG exporter for the equation is using the wrong font. But this behavior is still not very good. What happens if I refer to this SVG in a web page, and a user without OpenSymbol --- an obscure font to be sure --- views it. She will be unhappy with the result. There is an SVG solution to this problem, called WebFonts described in http://www.w3.org/TR/SVG11/fonts.html Dave
TL->CL: Please comment about this. (I'm not familiar with SVG fonts.) Then you will probably pass this on to BH since it is a wish for an enhancement/feature.
André, please have a look and discuss this with Kai. I rather think its a bug
Hello, first I have to say that I´m a newbie :))) I have same problems with SVG export Dave mentioned. Solution-strategy: 1. StarSymbol should be renamed to OpenSymbol in SVG Files! 2. Dave said, that it wouldn´t be fine to "force" the user to have OpenSymbol Fonts installed on clientside. That´s true. So we need a possibility to provide that font! WebFonts (mechanism of CSS 2) could be a solution (@font-face stuff), thus we define a section in our SVG, which tells where to get (external, via internet) that font. Different font formats on Win/Linux/etc. could be a problem! 3. SVG has the possibility to use so called SVGFonts. If I understand the documentation correctly, the definition for rendering (outline) of a char is done within SVG-Files in "glyphs"-sections. Thus we would have a platform-independent clean solution for our prob. (I´m not sure, how far this glyph feature is supported :) Let me know your comments Best regards Martin
Please try using the latest OOo 1.1 Rc5, Your version already old enough, and many bug fixes since your version and 1.1 RC5. If the problem still happend in 1.1 RC5 please report back
Can confirm this happens with OpenOffice.org 1.1 - it's still making use of <g style="font-family:StarSymbol"> instead of OpenSymbol.
I will have to add a mapping from StarSymbol to OpenSymbol.
Reset assigne to the default "issues@openoffice.apache.org".