Issue 12631 - svg font should be opensymbol instead of starsymbol?
Summary: svg font should be opensymbol instead of starsymbol?
Status: ACCEPTED
Alias: None
Product: Math
Classification: Application
Component: code (show other issues)
Version: OOo 1.1
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2003-03-24 23:44 UTC by Unknown
Modified: 2017-05-20 11:13 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2003-03-24 23:44:25 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
Comment 1 thomas.lange 2003-03-25 07:47:51 UTC
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.
Comment 2 clippka 2003-03-25 09:54:20 UTC
André, please have a look and discuss this with Kai. I rather think
its a bug
Comment 3 Unknown 2003-06-14 01:21:37 UTC
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
Comment 4 utomo99 2003-09-24 10:14:06 UTC
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
Comment 5 byte 2003-11-30 06:54:44 UTC
Can confirm this happens with OpenOffice.org 1.1 - it's still making
use of <g style="font-family:StarSymbol"> instead of OpenSymbol. 
Comment 6 groucho266 2004-02-06 12:43:01 UTC
I will have to add a mapping from StarSymbol to OpenSymbol.
Comment 7 Marcus 2017-05-20 11:13:34 UTC
Reset assigne to the default "issues@openoffice.apache.org".