Apache OpenOffice (AOO) Bugzilla – Issue 63401
SVG-export: Wrong syntax concerning "font family"
Last modified: 2017-05-20 11:31:09 UTC
This is a "spin off" from Issue 63389 In <http://www.openoffice.org/nonav/issues/showattachment.cgi/35060/demonstrationkit.zip> from that issue you will find some correct syntax concerning font size, what will be rendered in a wrong way by Mozilla seamonkey, that's not our problem. But in <https://bugzilla.mozilla.org/show_bug.cgi?id=331078>, 'Comment #4 From Robert Longson 2006-03-20 05:56 PST' it seems that there is a syntax error in OOo's SVG-export: > Additionally try removing the word "embedded" from the font-family as > I don't think this is valid c.f. > http://www.w3schools.com/css/pr_font_font-family.asp > Then you get... > <g font-size="1764" style="font-family:Arial;font-weight:400"> > ... That worked, Mozilla showed the drawing element "Text size 96 TNR" in 'Times New Roman' as expected. Mozilla-problem or really syntax error? Pls. check! If helpful, I can contribute the .svg files with chanegd "font family" syntax and eleminated "embedded".
Is this a syntax error? Reassigned.
SBA: This issue has a target set but is still in state of "Unconfirmed". Please re-check with OOo 3.0 or younger if it is (still) valid. Then confirm it or set an appropriate resolution. Thank you.
Need to take a deeper look into the spec to evaluate the correct handling, but AFAIK, an embedded font can have an arbitrary name, so this should be valid at all. I will evaluate Mozilla's current implementation, but setting additional fallback names for the family (e.g. 'arial, sans-serif') would definitely make sense for renderers that don't support embedded fonts at all.
Reset assigne to the default "issues@openoffice.apache.org".