← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1769654] Re: Ubuntu 18.04 embedded fonts Liberation have corrupted metrics

 

Hello Victor, or anyone else affected,

Accepted fonts-liberation into bionic-proposed. The package will build
now and be available at https://launchpad.net/ubuntu/+source/fonts-
liberation/1:1.07.4-7ubuntu0.18.04.1 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: fonts-liberation (Ubuntu Bionic)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to fonts-liberation in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1769654

Title:
  Ubuntu 18.04 embedded fonts Liberation have corrupted metrics

Status in fonts-liberation package in Ubuntu:
  Fix Released
Status in fonts-liberation2 package in Ubuntu:
  Fix Released
Status in libreoffice package in Ubuntu:
  Confirmed
Status in fonts-liberation source package in Bionic:
  Fix Committed
Status in fonts-liberation2 source package in Bionic:
  In Progress
Status in libreoffice source package in Bionic:
  Confirmed
Status in fonts-liberation package in Debian:
  Fix Released
Status in fonts-liberation2 package in Debian:
  Fix Released

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://salsa.debian.org/fonts-team/fonts-liberation/blob/master/debian/patches/unset_OS2_UseTypoMetrics.patch).

  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://bugs.documentfoundation.org/show_bug.cgi?id=117411, but I
  think that this bug concerns a Ubuntu/Xubuntu 18.04 package.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fonts-liberation/+bug/1769654/+subscriptions