The next version of LibreOffice will use the strikeout size and position provided by the fonts in the OS/2 table when drawing strikeout line. The offset values provided by liberation fonts seem to be too low, and at low resolution the strikeout position is essentially on the baseline. I think the position in the font is calculated from the bottom of the strikeout stroke, but the spec states that it should be from the top.
Describe the bug
The next version of LibreOffice will use the strikeout size and position provided by the fonts in the
OS/2
table when drawing strikeout line. The offset values provided by liberation fonts seem to be too low, and at low resolution the strikeout position is essentially on the baseline. I think the position in the font is calculated from the bottom of the strikeout stroke, but the spec states that it should be from the top.To Reproduce See the test document and screenshots in https://bugs.documentfoundation.org/show_bug.cgi?id=152267
Expected behavior The strikeout stroke should be at the same position as the em-dash or somwhat close to oy
Screenshots Strikeout compared to em-dash:
Desktop (please complete the following information):