Bug 148122 - Celtic MD font appears wrong
Summary: Celtic MD font appears wrong
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.0.3 release
Hardware: x86-64 (AMD64) All
: low minor
Assignee: Caolán McNamara
URL:
Whiteboard: target:7.4.0 target:7.3.3
Keywords:
Depends on:
Blocks: Fonts
  Show dependency treegraph
 
Reported: 2022-03-21 21:26 UTC by skar.martin
Modified: 2022-05-13 13:13 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Font incorrectly showing (92.70 KB, image/png)
2022-03-21 21:33 UTC, skar.martin
Details
Working, but in different software (107.14 KB, image/png)
2022-03-21 21:34 UTC, skar.martin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description skar.martin 2022-03-21 21:26:16 UTC
Description:
Hi I have installed a new font , from several sources and the font appears clipped or not fully loaded.

I have also installed the Apache Office and it works perfectly with their software. I would obviously like to stay with Libre Office

Steps to Reproduce:
1. Install Celtic MD font
2. Uses it as apart of your document.
3.

Actual Results:
1. Install Celtic MD font
2. Uses it as apart of your document.

Expected Results:
Font appears clipped/cut off/ doesn't display the entire font.


Reproducible: Always


User Profile Reset: No



Additional Info:
Software should clearly display the font.
Comment 1 skar.martin 2022-03-21 21:33:01 UTC
Created attachment 179018 [details]
Font incorrectly showing
Comment 2 skar.martin 2022-03-21 21:34:35 UTC
Created attachment 179019 [details]
Working, but in different software

This is a screenshot of the font working as intended, in Apache Open Office not Libre Open Office
Comment 3 skar.martin 2022-03-21 21:38:43 UTC
Comment on attachment 179018 [details]
Font incorrectly showing

This is a screenshot of the error in question
Comment 4 Dieter 2022-04-04 18:21:36 UTC
I confirm it with

Version: 7.3.2.2 (x64) / LibreOffice Community
Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: zh-CN (de_DE); UI: en-GB
Calc: CL

But I can only confirm it for the first line of a page. Following lines don't show that problem, although characters of different lines are very close to each other.

Workaround:
Add spacing before first paragraph
Comment 5 Julien Nabet 2022-04-08 19:39:28 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.
(downloaded font from https://www.dafont.com/fr/celtic-md.font)

I also notice that you scroll down, then up several times (but sometimes once is enough), it's ok.

Caolán: any thoughts here?
Comment 6 Caolán McNamara 2022-04-13 16:14:29 UTC
I think its the font ascent/descent and a similar problem to that of bug 116498 where there are multiple ways to declare the ascent/descent and LibreOffice these days prefers the hhea table and that doesn't suit this font. If I add it to the same "special case" list as the font from bug 116498 it seems to look ok.

https://gerrit.libreoffice.org/c/core/+/132978
Comment 7 Commit Notification 2022-04-13 20:12:56 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/056b81ff51f57da83c4d4b5de479bac1aa366694

Resolves: tdf#148122 Celtic MD font appears wrong

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 8 Caolán McNamara 2022-04-13 20:13:23 UTC
done in trunk, backport to 7-3 in gerrit
Comment 9 Commit Notification 2022-04-14 14:37:35 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "libreoffice-7-3":

https://git.libreoffice.org/core/commit/75893fb99173f615d9fa40b50dfba147d22967b4

Resolves: tdf#148122 Celtic MD font appears wrong

It will be available in 7.3.4.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 10 Commit Notification 2022-04-17 18:19:52 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "libreoffice-7-3-3":

https://git.libreoffice.org/core/commit/45ca2ec0d7a3205f773aa814a00ea7414fa95f6d

Resolves: tdf#148122 Celtic MD font appears wrong

It will be available in 7.3.3.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 11 Dieter 2022-05-13 13:13:40 UTC
VERIFIED with

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 83d0f2eebae41d431d9a5bfd1a918523977752d0
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Caolán, thanks for fixing it!