Created attachment 83615 [details] Screenshot with LibreOffice 4.1 made on Mac OS X 10.8.4 Problem description: Text written with Adobe's Courier Std font is always displayed with bold font weight in LibreOffice 4.1 on Mac OS X. In Apple's TextEdit and in LibreOffice 4.0 the font weight is correct (see attachment). Steps to reproduce: Write a text with the font Courier Std. Current behavior: Text has always a bold font weight Expected behavior: Text should have the regular (medium) font weight like in TextEdit or LibreOffice 4.0 Operating System: Mac OS X Version: 4.1.0.4 release Last worked in: 4.0.4.2 release
Created attachment 83616 [details] Screenshot with TextEdit made on Mac OS X 10.8.4
I do not have Courier Std, so I cannot reproduce this behaviour. If this is a regression, maybe it may be related to the CoreText change.
Also don't have that font. Can you attach it? If that would be a copyright infringement, where is that font coming from?
The font is distributed together with e.g. Adobe Reader or other Adobe software. Please check also this wikipedia article http://en.wikipedia.org/wiki/Courier_(typeface)#Courier_Standard
I'm on Windows and I don't have that font. anyway LibO 4.1.1 is out... try upgrading and tell us if you still have this font issue
*** Bug 68889 has been marked as a duplicate of this bug. ***
Confirmed by Bug 68889. Looks like a regression in the Mac version of 4.1 (probably because CoreText changes). Bug 69254 maybe also related, and maybe also Bug 67808 & Bug 67863.
Here is one more, very similar bug: Bug 71034.
I can confirm this bug still existing in LibreOffice 4.2.0 on MacOS X 10.9 Mavericks. I use a font called "Prelude" or "Coconut", which was designed by The Font Bureau. It was used in Palm's webOS: http://www.engadget.com/2009/06/12/font-bureau-takes-credit-for-palms-custom-prelude-fonts-our/ The smallest size is "Medium". It seems, LibreOffice >= 4.1 doesn't use "medium" fonts as the normal sized font anymore but instead uses the bold version now. Unfortunately, the font is not free, but if interested, I can provide it - PM me. I'm still stuck with LibreOffice 4.0 because of this bug, so I'd highly appreciate, if this could be resolved pretty soon. Thank you very much! B.
*** This bug has been marked as a duplicate of bug 69254 ***
Not a duplicate of 69254.
Any chance that a test document could be uploaded?
Adding keyword 'bibisectRequest'. This regression can be bibisected with http://dev-downloads.libreoffice.org/bibisect/mac/Bibisect_MacOSX10.6%2b_lo-4.1_to_lo-4.2.tar.bz2
On OSX 10.12.6, I see Courier and Courier New in the list of installed fonts, but no Courier Std, despite having the latest version of Adobe PDF Reader. Setting this to NEEDINFO, with the request that the original reporter : - re-test with latest production releases of LibreOffice and report back ; - provide a sample Writer document made with the problematic font ; - provide a sample TextEdit document made with the problematic font
Created attachment 137182 [details] Test case with Adobe Courier Std
This is still present, see attached test case. Note: The formatting is broken when you use the toolbar buttons. If you use the format dialog you're able to select the correct weights. However the format dialog formatting is not preserved when opening in LibreOffice 3.3 or TextEdit I tried bibisecting with the oldest repository that cover 4.1-4.2, but the bug was present from the start. Increasing the severity as this is a core functionality, and importance given the regression Version: 6.0.0.0.alpha1+ Build ID: 15dce20e8b97dbd0179f01910ca4d0027e80ff4e CPU threads: 2; OS: Mac OS X 10.12.6; UI render: default; TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2017-10-20_06:46:46 Locale: en-US (en_US.UTF-8); Calc: group
Created attachment 137184 [details] Screenshot of behavior in 6.0.0.0 in LibreOffice and TextEdit
Based on comment #14, it seems that I won't be able to reproduce this and work on it, unless somebody can point me to some suitably licensed and freely downloadable font that exhibits the same behaviour. (I wouldn't really have liked having to install Adobe PDF Reader, but seems that it wouldn't add that font anyway, so I won't try.)
FYI, the Courier Std fonts are included in Adobe Reader 6 that is still freely downloadable from Adone's server at ftp://ftp.adobe.com/pub/adobe/reader/mac/6.x/6.0/enu/AdbeRdr60_enu.dmg . The fonts are in Adobe Reader 6.0/Adobe Reader 6.0.app/Contents/MacOS/Resource/Font and install without problem on a current macOS. Investigating.
Created attachment 140056 [details] Patch to add debug output from the macOS font enumeration in LO Just FYI, if somebody else some day needs this. After adding this, one can see from the output that for some reason the "Courier Std: Medium" font has been interpreted by macOS as having weight 0.23, and not zero, which would mean "medium". Compare: debug:13294:5446641: ==> Courier New: Regular weight=0 -> 5 with debug:13294:5446641: ==> Courier Std: Medium weight=0.23 -> 7
The Font Book app in macOS reveals that the Courier Std fonts are of type 'OpenType PostScript'. That's interesting, PostScript fonts are rather rare nowadays, aren't they?
Suggested fix in https://gerrit.libreoffice.org/50172
Tor Lillqvist committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=1d7f96a324a4c2ab82a04513c6a38dc31fd061fa tdf#67744: Fix the weight reported by the system for the problematic font It will be available in 6.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Tor Lillqvist committed a patch related to this issue. It has been pushed to "libreoffice-6-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=e092effee32cfbade59fb68adddc9db96d3c3c88&h=libreoffice-6-0 tdf#67744, tdf#68889: Fix weight reported by the system for these fonts It will be available in 6.0.2. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Should be fixed now.
Yup, this is fixed in master. Setting as Verified. Thanks! Note: My test case that had formatted using character->style does not show correctly in master, but it also don't show up correctly in TextEdit. Formatting text using character->style in master does show up correctly in TextEdit, so this is not an issue