Bug 66356 - FORMATTING: "Hoefler Text" font-rendering problem on Mac
Summary: FORMATTING: "Hoefler Text" font-rendering problem on Mac
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: Other macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-29 09:22 UTC by elraeburn
Modified: 2016-11-06 19:16 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of LibreOffice bug side-by-side with NeoOffice's correct rendering of font (224.79 KB, image/png)
2013-06-29 09:22 UTC, elraeburn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description elraeburn 2013-06-29 09:22:19 UTC
Created attachment 81672 [details]
Screenshot of LibreOffice bug side-by-side with NeoOffice's correct rendering of font

Problem description: 

There is a font on the Mac called "Hoefler Text", an elegant serif font, Apple's version of Garamond. In the latest LibreOffice (4.0.4), and earlier, text formatted as Hoefler Text is rendered--incorrectly--as an ordinary-looking sans-serif font. If the same text is changed to bold or italic, the text is shown in the correct, elegant, bold or italic serif font, but if it is not formatted as bold or italic, the problem persists--the wrong font is rendered. I have not noticed any similar problem with any other Apple font.

This problem also occurs in OpenOffice, but not in NeoOffice, and not in any other application on the Mac that I have tried. The font is rendered properly in such diverse apps as Thunderbird mail composer, Finale and MuseScore music-writing apps, and the native Mac apps TextEdit and FontBook.

I have attached a screenshot of a LibreOffice window and a NeoOffice window, side-by-side, both with four lower-case and upper-case alphabets formatted as Hoefler Text, in regular, italic, bold, and bold italic. It is quite obvious from the screenshot that the upright (regular) text is rendered as the wrong font in LibreOffice.

Also note in the example that in NeoOffice, when a word ends in "t" and is formatted as Hoefler Text italic (both bold and not bold), the final "t" has a fancy little trailing curlicue (sorry, I don't know the proper typographical name for it). LibreOffice does not do that, which I believe to be another bug in the rendering of this font.

Steps to reproduce:
1. Format text as "Hoefler Text" regular, upright text, not italic or bold.

Current behavior:
Some unrelated sans-serif font is rendered.

Expected behavior:
The correct elegant serif font should be rendered.
              
Operating System: Mac OS X
Version: 4.0.0.3 release
Comment 1 Julien Nabet 2013-06-29 13:08:27 UTC
On Macos 10.7.5 with LO 4.0.4.2, I reproduced the problem, put it at New
Comment 2 ⁨خالد حسني⁩ 2013-06-29 21:18:52 UTC
The swash t in NeoOffice is a bug there, this feature is not enabled in the font by default (we have no UI to activate optional font features, but that is another issue). The wrong font is a bug indeed, looks like when asked for plain “Hoefler Text” we load the Ornaments variant not the Regular one.
Comment 3 Emir Sarı 2013-07-10 19:48:56 UTC
Also reproducible with the master build.
Comment 4 ⁨خالد حسني⁩ 2013-07-10 22:02:07 UTC
I tried to debug this a bit last week. The problem is that there is a “Hoefler Text Ornaments” fonts that has the family name “Hoefler Text” and of regular weight so we end up choosing it over the real “Hoefler Text” regular. I couldn’t find the exact place in the code where this happens, though.
Comment 5 Julien Nabet 2013-07-20 23:01:54 UTC
Khaled: thank you for the explanation, I think Caolán may help here by providing a code pointer.
Caolán: any idea?
Comment 6 elraeburn 2013-07-31 09:31:03 UTC
It's been fixed in OO 4.0, which was just released. Maybe you can find the fix in their latest source.
Comment 7 ⁨خالد حسني⁩ 2013-07-31 10:39:41 UTC
A quick look does not show any commits that might have been fixed this issue. While debugging this issue, it would often just fix itself randomly in certain builds and reappear again after few rebuilds, so it might just be the case here.
Comment 8 Thierry Salem 2014-01-29 22:39:03 UTC
Comment on attachment 81672 [details]
Screenshot of LibreOffice bug side-by-side with NeoOffice's correct rendering of font

Hello, same bug for me without explanation, as I have got the latest version and as the proper font is present indeed in the "Book of fonts" of Mac OS X.
Jan. 29th, 2014
Comment 9 Joel Madero 2015-05-02 15:41:45 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2016-09-20 09:37:33 UTC Comment hidden (obsolete)
Comment 11 eisa01 2016-11-06 19:16:17 UTC
This works for me, normal hoefler texts renders fine with serifs

Version: 5.2.3.3
Build ID: d54a8868f08a7b39642414cf2c8ef2f228f780cf
CPU Threads: 2; OS Version: Mac OS X 10.12; UI Render: default; 
Locale: en-US (en_NO.UTF-8); Calc: group