liberationfonts / liberation-fonts

The Liberation(tm) Fonts is a font family which aims at metric compatibility with Arial, Times New Roman, and Courier New.
Other
424 stars 22 forks source link

Bad alignment of “◌̇” U+0307 Combining Dot Above in Liberation Serif #68

Open jdpipe opened 2 weeks ago

jdpipe commented 2 weeks ago

Describe the bug Typing Q followed by [“◌̇” U+0307 Combining Dot Above Unicode Character] in LibreOffice 7.6.7.2 on Ubuntu 20.04 with fonts-liberation 1:1.07.4-11, there is a misalignment with Liberation Serif:

image

however switching to Liberation Sans, the correct alignment is seen:

image

The issue is even worse with Liberation Serif in italics:

image

As noted, this is with Liberation 1.07.4 on Ubuntu 20.04. I have not been able to test with a newer version just yet.

Just to be clear, I am not using LibreOffice Math, here, I am directly typing the combining unicode character.

jdpipe commented 2 weeks ago

Would appear to be the same issue as #64 .

kenmcd commented 2 weeks ago

LibreOffice_7.6.7.2_Linux_x86-64_deb comes with Liberation Serif v2.1.4. And it works properly. Some earlier versions do not work properly. So check which version of Liberation Serif you have installed.

LibreOffice_24.8.0.3_Linux_x86-64_deb comes with Liberation Serif v2.1.5 - which also works properly.

You can download the v2.1.5 release from this repo. https://github.com/liberationfonts/liberation-fonts/releases/tag/2.1.5

If you update your fonts it should work fine.

jdpipe commented 2 weeks ago

Thanks for that. So I found that my Ubuntu 20.04 system also has 'fonts-liberation2' (2.00.1-3) installed, with the following note: (README.Debian). Perhaps I need to updated to liberation fonts 2.1.5... or perhaps there is some issue with Debian packaging or fontconfig. But it sounds like it's no longer an issue with the fonts themselves -- thanks for checking.

fonts-liberation2 (2.00.1-3) UNRELEASED; urgency=medium
  * This is fonts-liberation v2 packaged in a separate source package.
    The binary package is co-installable with fonts-liberation v1
    by installing the actual TTF files into a different directory
    (i.e. /usr/share/fonts/truetype/liberation2).
    Since the v1 and v2 fonts share the same family names, fontconfig
    with its default configuration will always prefer the v2 variants
    because of their higher version numbers and wider glyph coverage.
    This way, it is possible to override fonts-liberation v1 for most
    applications using fontforge (and not explicitly accessing the fonts
    by full path) while still keeping the v1 Sans Narrow variant available.

 -- Fabian Greffrath <fabian@debian.org>  Mon, 05 Sep 2016 20:48:20 +0200