Bug 147765 - Calc/Impress/Draw fail to render protected hyphen for new Liberation Sans versions shipped with Ubuntu (package "fonts-liberation2")
Summary: Calc/Impress/Draw fail to render protected hyphen for new Liberation Sans ver...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: framework (show other bugs)
Version:
(earliest affected)
7.3.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-04 16:00 UTC by OfficeUser
Modified: 2024-03-28 03:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Testkit (54.83 KB, application/vnd.oasis.opendocument.presentation)
2022-03-04 16:00 UTC, OfficeUser
Details
Installed Liberation font packages. (31.10 KB, image/png)
2022-03-04 17:28 UTC, OfficeUser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description OfficeUser 2022-03-04 16:00:13 UTC
Created attachment 178656 [details]
Testkit

hi there!

I found that Calc, Impress and Craw display protected hyphens as small boxes for the default font "Liberation Sans".
If the font is changed to any other font, the protected hyphens are displayed as expected.

only writer is not affected by this bug.


I have attached a presentation as testkit.


------------------------------------------------------------

Version: 7.3.0.3 / LibreOffice Community
Build ID: 30(Build:3)
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Ubuntu package version: 1:7.3.0~rc3-0ubuntu0.18.04.1~lo1
Calc: threaded
Comment 1 Buovjaga 2022-03-04 16:29:51 UTC
No problem here with that file. Maybe you could also try on another machine, if you can.

Arch Linux 64-bit
Version: 7.3.1.3 / LibreOffice Community
Build ID: 30(Build:3)
CPU threads: 8; OS: Linux 5.16; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
7.3.1-1
Calc: threaded
Comment 2 Eike Rathke 2022-03-04 17:07:24 UTC
Fwiw, the "protected hyphen" is U+2011 "‑" NON-BREAKING HYPHEN and that character is not present in the Liberation Sans font (check in Special Character dialog), so a fallback replacement is used. However, I can't reproduce the problem either and it renders just fine (whatever font might be used there).
Comment 3 OfficeUser 2022-03-04 17:26:59 UTC
All other Applications (including Writer, but also OnlyOffice and Abiword) are not affected by this bug.

Additional info: I have installed two packets of the Liberation fonts. I will attache screenshot. The older package is a dependence that OnlyOffice requires.
Comment 4 OfficeUser 2022-03-04 17:28:07 UTC
Created attachment 178658 [details]
Installed Liberation font packages.
Comment 5 OfficeUser 2022-03-04 17:30:18 UTC
In case Eike is right, Calc/Impress/Draw should adopt Writer's replacement scheme.
Comment 6 m_a_riosv 2022-03-04 22:19:21 UTC
Please test with a clean profile, Menu/Help/Restart in Safe Mode
Comment 7 OfficeUser 2022-03-09 07:53:46 UTC
(In reply to m.a.riosv from comment #6)
> Please test with a clean profile, Menu/Help/Restart in Safe Mode

Hi  m.a.riosv,

thanks for commenting. I get the same bad result in safe mode. :-(
Comment 8 OfficeUser 2022-03-11 15:30:06 UTC
Since I have installed two different versions of Liberation fonts maybe Impress/Draw/Calc select the wrong version.

I have installed

- Version 1.07.4, Copyright (c) 2007 Red Hat, Inc. All rights reserved. LIBERATION is a trademark of Red Hat, Inc.

and
- Version 2.00.2, Digitized data copyright (c) 2010 Google Corporation. 
Copyright (c) 2012 Red Hat, Inc.
Comment 9 OfficeUser 2022-03-11 15:41:20 UTC
I found a workaround. After uninstalling the package "fonts-liberation2" the protected hyphen is also correctly rendered in Calc/Impress/Draw.

https://packages.ubuntu.com/de/bionic-updates/fonts/fonts-liberation2
Comment 10 OfficeUser 2022-03-11 15:43:43 UTC
Adjusted summary. Calc/Impress/Draw need a patch to deal with new versions of Liberation Sans font.
Comment 11 OfficeUser 2022-03-28 13:14:21 UTC
Easy steps to reproduce:

- Install package "fonts-liberation2"
- Open the attached Testkit

Note that the protected hypen is not rendered for Liberation Sans font. Instead a small box is displayed.
Comment 12 QA Administrators 2024-03-28 03:13:02 UTC
Dear OfficeUser,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug