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

--- Comment #5 from Ofir <ofirr....@gmail.com> ---
In PowerPoint the theme defines a default Font for each language under
majorFont and minorFont. When a text element doesn't have a Font defined,
PowerPoint uses the default language Font.
In the new attached example we have two text boxes.
The first one use the default font.
The second, has the font set to Arial.
LO doesn't understand how to read the PowerPoint default font setting in the
first text box so it replaces the font with FreeSans.
In the second text box we don't have this issue because the font is defined. LO
replaces the font only if it doesn't have it installed.

Default Fonts in ppt/theme/theme1.xml

<a:fontScheme name="Office">
  <a:majorFont>
    <a:latin typeface="Calibri Light" panose="020F0302020204030204"/>
    ...
    <a:font script="Hebr" typeface="Times New Roman"/>
    ...
  </a:majorFont>
  <a:minorFont>
    <a:latin typeface="Calibri" panose="020F0502020204030204"/>
    ...
    <a:font script="Hebr" typeface="Arial"/>
    ...
  </a:minorFont>
</a:fontScheme>

Font not set - use default.
<a:p>
  <a:r>
    <a:rPr lang="he-IL" dirty="0" smtClean="0"/>
    <a:t>א</a:t>
  </a:r>
  <a:endParaRPr lang="en-US" dirty="0"/>
</a:p>


Font set to Arial.
<a:p>
  <a:r>
    <a:rPr lang="he-IL" dirty="0" smtClean="0">
      <a:latin typeface="Arial" panose="020B0604020202020204" pitchFamily="34"
charset="0"/>
      <a:cs typeface="Arial" panose="020B0604020202020204" pitchFamily="34"
charset="0"/>
    </a:rPr>
    <a:t>א</a:t>
  </a:r>
  <a:endParaRPr lang="en-US" dirty="0">
    <a:latin typeface="Arial" panose="020B0604020202020204" pitchFamily="34"
charset="0"/>
    <a:cs typeface="Arial" panose="020B0604020202020204" pitchFamily="34"
charset="0"/>
  </a:endParaRPr>
</a:p>

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to