Ubuntu 18.04 embedded fonts Liberation have corrupted metrics
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fonts-liberation (Debian) |
Fix Released
|
Unknown
|
|||
fonts-liberation (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Olivier Tilloy | ||
fonts-liberation2 (Debian) |
Fix Released
|
Unknown
|
|||
fonts-liberation2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Olivier Tilloy | ||
libreoffice (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Olivier Tilloy |
Bug Description
[Impact]
fonts-liberation and fonts-liberation2 in bionic have skewed font metrics. This is causing visible formatting issues in any program rendering text using those fonts, most notably libreoffice (recent versions fail to build because some unit tests that check the rendered layout fail).
This was fixed in debian and synced in cosmic (https:/
Backporting to bionic is a prerequisite to backporting a recent version of libreoffice (6.0.6, bug #1785679).
[Test Case]
See original description (at the bottom of the description) for example text documents and their expected layout when opened in libreoffice.
A good test case is whether libreoffice 6.0.6 builds successfully (all unit tests pass - some unit tests exercise text layout and they fail with the broken version of fonts-liberation2).
[Regression Potential]
Rendering of text across a variety of programs (especially word processors and web browsers) should be checked to ensure that this doesn't introduce regressions.
[Other Info]
This is backported straight from Debian, no Ubuntu-specific modifications.
[Original description]
Ubuntu/Xubuntu 18.04 package includes fonts "Liberation Sans" (etc "Liberation") with sligtly shrinked font metrics. This issue leads to all office documents typed in Liberation Sans fonts have corrupted formatting in Ubuntu 18.04 (but these documents correctly opened in other OS's, for example Ubuntu 17.10). Documents with corrupted formatting can not print properly: all paragraphs are shifted up, embedded tables in text - splitted on page breaks. Document circulation in system based on Ubuntu 18.04 operating systems temporarily paralized, because Liberation fonts are basic fonts for open-source document circulation.
In attachment I have type a example office document with 2 pages and enumerated strings. On normal ordinary conditions this document have 54 strings on first page and 54 string on second page. But if this document open in Ubuntu 18.04, it's found than 5 strings from second page moves to first page. Compare font versions embedded with Ubuntu packages we can see that versions are different (sudo apr search fonts-liberation* command):
Ubuntu 17.10 - 1:1.07.4-2, 2.00.1-3
Ubuntu 18.04 - 1:1.07.4-5, 2.00.1-5
I have create a bug 117411 "Font metrics slightly changed after update OS to Ubuntu 18.04", see https:/
Changed in fonts-liberation2 (Debian): | |
status: | Unknown → New |
Changed in fonts-liberation (Debian): | |
status: | Unknown → New |
Changed in fonts-liberation2 (Debian): | |
status: | New → Fix Released |
Changed in fonts-liberation (Debian): | |
status: | New → Fix Released |
tags: | added: bionic liberation |
description: | updated |
Changed in fonts-liberation (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in fonts-liberation2 (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in libreoffice (Ubuntu Bionic): | |
assignee: | nobody → Olivier Tilloy (osomon) |
Screenshot in Xubuntu 17.10 operatind system, all ok