incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian <>
Subject Fwd: [Dev] Redundant information in ODF document
Date Sun, 27 May 2012 10:06:54 GMT
Ah I think I see why the font declarations are there now.
They are required to meet some of the style definitions.

But I'm not sure why all those styles attriburtes are there?

<style:text-properties style:use-window-font-color="true"
style:font-name="Liberation Serif" fo:font-size="12pt"
fo:language="en" fo:country="US" style:letter-kerning="true"
style:font-name-asian="文泉驛正黑" style:font-size-asian="12pt"
style:language-asian="zh" style:country-asian="CN"
style:font-name-complex="Lohit Devanagari"
style:font-size-complex="12pt" style:language-complex="hi"
style:country-complex="IN" fo:hyphenate="false"

Are they required?



---------- Forwarded message ----------
From: Ian <>
Date: Sun, May 27, 2012 at 5:35 PM
Subject: [Dev] Redundant information in ODF document


I am interested in looking into the ODF documents produced by AOO with
a respect to the document schema etc.

One thing I noticed when creating a simple almost "Hello World"
document is that there are some unused and probably not required font
infomation in the content.xml.

  <style:font-face style:name="Lohit Devanagari1"
svg:font-family="'Lohit Devanagari'"/>
   <style:font-face style:name="URW Bookman L" svg:font-family="'URW
Bookman L'" style:font-adornments="Light"
   <style:font-face style:name="Liberation Serif"
svg:font-family="'Liberation Serif'" style:font-family-generic="roman"
   <style:font-face style:name="Liberation Sans"
svg:font-family="'Liberation Sans'" style:font-family-generic="swiss"
   <style:font-face style:name="Lohit Devanagari"
svg:font-family="'Lohit Devanagari'"
style:font-family-generic="system" style:font-pitch="variable"/>
   <style:font-face style:name="文泉驛正黑" svg:font-family="文泉驛正黑"
style:font-family-generic="system" style:font-pitch="variable"/>

Is this by design? Why? Or some sort of bug?

Only the URW Bookman font is used by the few lines of text in the document.

And looking into the Styles xml document I see tons of possibly
redundant entries. There for possible future edits of the document? Eg
Footer styles.



View raw message