Bug 62406

Summary: FORMATTING: Font names changed between 3.6.4 and 4.0.1
Product: LibreOffice Reporter: burkhard
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: jorendc
Priority: medium    
Version: 4.0.1.2 release   
Hardware: x86-64 (AMD64)   
OS: macOS (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: TeX Gyre fonts as shown in LO 3.6.5.2
TeX Gyre Fonts as shown in LO 4.0.1
TeX Gyre font names as shown in OS X 10.8.3 Font Book
Garamond font as shown in LO 3.6.5.2
Garamond font as shown in LO 4.0.1
Garamond font as shown in OS X 10.8.3 FontBook

Description burkhard 2013-03-16 12:26:15 UTC
I created a document with LibreOffice 3.6.4 using Garamond Premier Pro as the default font. When opening the document using LibreOffice 4.0.1, the font name is still shown in the font selection combo box, but if I choose Format -> Character … , the font is listed as uninstalled. As far as I can see, the font is now called "Garamond Premr Pro", i.e. the font name is somehow shortened. LibreOffice 3.6.5 lists both fonts, but with different weights (the Premier variant has a semibold variant while the Premr variant only offers a simulated bold weight). To use semibold with LibreOffice 4.0.1, I have to explicitly choose "Garamond Premr Pro Smbd". 

Since this is my default font, I'll stick with LibreOffice 3.6.5 until this gets fixed.

Thanks,

Burkhard.
Comment 1 Jorendc 2013-04-17 10:48:11 UTC
Version 3.6.5.2 (Build ID: 5b93205)(In reply to comment #0)
> I created a document with LibreOffice 3.6.4 using Garamond Premier Pro as
> the default font. 

Where did you get that font (Garamond Premier Pro)? As far I can see this isn't a default font included in LibreOffice. (Garamond is, not the premier pro version).
Because of that, it is maybe not a problem of LibreOffice.

Kind regards,
Joren
Comment 2 burkhard 2013-04-17 14:32:20 UTC
(In reply to comment #1)
> Version 3.6.5.2 (Build ID: 5b93205)(In reply to comment #0)
> > I created a document with LibreOffice 3.6.4 using Garamond Premier Pro as
> > the default font. 
> 
> Where did you get that font (Garamond Premier Pro)? As far I can see this
> isn't a default font included in LibreOffice. (Garamond is, not the premier
> pro version).

Sorry, I don't recall where I got the font from. It probably was included with some Adobe software. But as far as I see, the problem (at least the font naming problem) also exists with the free TeX Gyre Fonts, available from http://tug.org/mactex/. For instance, "TeX Gyre Pagella" is only accessible as "TeXGyrePagella" from LibreOffice 4.0.1.

Actually, now LibreOffice 3.6.5.2 lists both naming variants (maybe because LO 4.0.1 changed the font cache?). LO 4.0.1 still only lists the shortened name.

> Because of that, it is maybe not a problem of LibreOffice.

I am sure the problem is within LibreOffice 4.0.1. The font name (as displayed by LibreOffice) is different, depending whether I use LibreOffice 3.6.4 or 4.0.1. The font file itself contains both string variants, but "Garamond Premier Pro" is the font name as displayed by the OS X font book and font panel. In any case, the affected fonts are all OTF fonts. 

Cheers

Burkhard.
Comment 3 Jorendc 2013-04-17 15:13:47 UTC
Sorry, I had to do a bit of "magic" to go back to the UNCONFIRMED state for this bug. I really can't reproduce this behavior with the default installed LO fonts... so therefore I can't set this to new.

I hope someone else, with more knowledge of fonts can have a look.

Kind regards,
Joren
Comment 4 Emir Sarı 2013-04-17 20:44:28 UTC
Could you attach some screenshots of both LibreOffice versions and a screenshot from the system font manager to compare?
Comment 5 burkhard 2013-04-17 22:25:08 UTC
Created attachment 78152 [details]
TeX Gyre fonts as shown in LO 3.6.5.2
Comment 6 burkhard 2013-04-17 22:25:55 UTC
Created attachment 78153 [details]
TeX Gyre Fonts as shown in LO 4.0.1
Comment 7 burkhard 2013-04-17 22:26:42 UTC
Created attachment 78154 [details]
TeX Gyre font names as shown in OS X 10.8.3 Font Book
Comment 8 burkhard 2013-04-17 22:27:17 UTC
Created attachment 78155 [details]
Garamond font as shown in LO 3.6.5.2
Comment 9 burkhard 2013-04-17 22:27:36 UTC
Created attachment 78156 [details]
Garamond font as shown in LO 4.0.1
Comment 10 burkhard 2013-04-17 22:28:11 UTC
Created attachment 78157 [details]
Garamond font as shown in OS X 10.8.3 FontBook
Comment 11 burkhard 2013-04-17 22:30:19 UTC
Unlike the Garamond font, the TeX Gyre font names in LO 3.6.5.2 that contain spaces continue to work in LO 4.0.1. Maybe it is the abbreviated font name which causes the problems.
Comment 12 burkhard 2013-04-18 08:57:22 UTC
Seems that the bug has been fixed in LO 4.0.2.2.

Cheers

Burkhard.