<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Wrong OpenType tag for fractions in "font properties" dialog"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126754">126754</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Wrong OpenType tag for fractions in "font properties" dialog
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.3.0.4 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rgb.mldc@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=153209" name="attach_153209" title="Font features menu">attachment 153209</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=153209&action=edit" title="Font features menu">[details]</a></span>
Font features menu

OpenType defines two kinds of fractions, the "diagonal" fraction with the +frac
tag and the "nut" fraction with the tag +afrc

Character → Font tab → Features, LibreOffice offers "frac=1" for diagonal
fractions and "frac=2" for nut fractions, which is wrong: those are Graphite
tags, not OpenType tags, and they are valid only for Linux Libertine G and
Linux Biolinum G fonts (Graphite tags are not standardized). 

Because of their similarity, LibreOffice understand both, "frac=1" and "frac=2"
as just "frac" which apply the diagonal OpenType fraction.

This wrong preset also generates problems with font preview when using some
fonts, because on 6.3 the "frac=1" is applied even if not explicitly selected
by the user, as you can see in the attached screenshot. 

For the screenshot I'm using a font called Sukhumala that offer both, diagonal
and (some) nut fractions: 

<a href="http://www.softerviews.org/Fonts.html#Sukhumala">http://www.softerviews.org/Fonts.html#Sukhumala</a>

Clearly, "frac=2" does not work to get nut fractions with Sukhumala, but "afrc"
does.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>