https://bugs.documentfoundation.org/show_bug.cgi?id=131828

Julien Nabet <serval2...@yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |heiko.tietze@documentfounda
                   |                            |tion.org,
                   |                            |serval2...@yahoo.fr,
                   |                            |xiscofa...@libreoffice.org

--- Comment #3 from Julien Nabet <serval2...@yahoo.fr> ---
In fact both cells are indeed Tahoma 8 pt.
But when entering cell A22, each character is Verdana 10 pt.

Extraction the ods file to retrieve content.xml, I see this:
          <table:table-cell table:style-name="ce29" office:value-type="string"
calcext:value-type="string">
            <text:p>
              <text:span text:style-name="T1">5</text:span>
              <text:span text:style-name="T2">1</text:span>
            </text:p>
          </table:table-cell>

Here is the definition of ce29:
    <style:style style:name="ce29" style:family="table-cell"
style:parent-style-name="Std">
      <style:table-cell-properties style:text-align-source="fix"
style:repeat-content="false" />
      <style:paragraph-properties fo:text-align="center" fo:margin-left="0cm"
/>
      <style:text-properties style:use-window-font-color="true"
style:text-outline="false" style:text-line-through-style="none"
style:text-line-through-type="none" style:font-name="Tahoma" fo:font-size="8pt"
fo:language="none" fo:country="none"
      fo:font-style="normal" fo:text-shadow="none"
style:text-underline-style="none" fo:font-weight="normal"
style:text-underline-mode="continuous" style:text-overline-mode="continuous"
style:text-line-through-mode="continuous"
      style:font-name-asian="Segoe UI" style:font-size-asian="8pt"
style:language-asian="none" style:country-asian="none"
style:font-style-asian="normal" style:font-weight-asian="normal"
style:font-name-complex="Verdana" style:font-size-complex="8pt"
      style:language-complex="none" style:country-complex="none"
style:font-style-complex="normal" style:font-weight-complex="normal"
style:text-emphasize="none" style:font-relief="none"
style:text-overline-style="none"
      style:text-overline-color="font-color" />
    </style:style>

=> Tahoma 8pt

Here are the definitions of T1 and T2:
    <style:style style:name="T1" style:family="text">
      <style:text-properties style:font-name="Verdana" fo:font-size="10pt"
style:font-name-complex="Verdana" />
    </style:style>
    <style:style style:name="T2" style:family="text">
      <style:text-properties style:font-name="Verdana" fo:font-size="10pt"
style:font-name-complex="Verdana" style:font-size-asian="10pt"
style:font-size-complex="10pt" />
    </style:style>

=> Verdana 10 pt

Heiko/Xisco: what should be expected here? font name and font size retrieved
from the whole cell and in this case it's correct or should it be blank when
the content doesn't correspond? (a bit like when typing a word in Writer, if
you change fontname/fontsize just one letter then select the whole word, info
are blank).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to