<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 - Highlight top and bottom should ignore font dimensions when for space(-like) characters"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=142354">142354</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Highlight top and bottom should ignore font dimensions when for space(-like) characters
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.1.3.2 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>minor
          </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>eyalroz1@gmx.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="https://bugs.documentfoundation.org/attachment.cgi?id=172135" name="attach_172135" title="document exhibiting the issue">attachment 172135</a> <a href="https://bugs.documentfoundation.org/attachment.cgi?id=172135&action=edit" title="document exhibiting the issue">[details]</a></span>
document exhibiting the issue

Consider the attached document. The characters in it are set in Times New
Roman, while the spaces are set in Noto Sans. While this is an artificial
example, a similar situation often occurs with auto-generated documents,
especially in certain RTL contexts, where the spaces between words somehow have
different features than the words themselves.

Anyway, when you highlight the text, you get a "jittery" vertical highlight
bar:

   +--+       +--+
   |  |       |  |
---+  +-------+  +----


---+  +-------+  +----
   +--+       +--+

which is annoying. It would also be somewhat annoying if the extensions were on
_actual_ characters, but on spaces it really makes no sense.


Checked with:
Version: 7.1.3.2 / LibreOffice Community
Build ID: 47f78053abe362b9384784d31a6e56f8511eb1c1
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: he-IL (en_IL); UI: en-US


... but I'm pretty sure this is issue goes way back.</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>