← Back to team overview

ubuntustudio-bugs team mailing list archive

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

 

** Description changed:

+ [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.

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

** Changed in: fonts-liberation2 (Ubuntu Bionic)
       Status: New => In Progress

-- 
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:
  In Progress
Status in fonts-liberation2 source package in Bionic:
  In Progress
Status in libreoffice source package in Bionic:
  New
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