https://bugs.documentfoundation.org/show_bug.cgi?id=96874
Bug ID: 96874
Summary: Fonts with wrong metadata cause font replacements in
LibreOffice
Product: LibreOffice
Version: 5.0.4.2 rc
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Created attachment 121695
--> https://bugs.documentfoundation.org/attachment.cgi?id=121695&action=edit
this zip file contains a screenshot and the two font files
OS version: ubuntu 14.04 LTS
LibreOffice version: 5.0.4.2 rc
Here's the situation:
(I'll explain it for LibreOffice writer, but it also affects impress, calc and
draw)
When I try to use arial font, a different font is displayed instead. This
happens only with "normal" arial, not arial italic, not arial bold, ...
The image in the zip attached shows this situation.
Here's what i did then:
I exported as pdf a file containing wrong arial; looking the embedded fonts in
the pdf I found out there was year2000 (y2k.ttf in the attached zip) instead of
arial;
So I removed y2k.ttf from /usr/share/fonts/truetype; this modified the problem:
arial was displayed as another font (alienleague, ALIEN5.TTF in the attached
zip).
I removed this font from /usr/share/fonts/truetype, too.
Now arial is displayed correctly.
I opened both fonts with FontForge and this program showed me some warnings:
"[...]
Warning: Mac and Windows entries in the 'name' table differ for the Copyright
string in the language Inglese americano en_US
Mac String: Typeface © The Monotype Corporation plc. Data © The Monotype
Corporation plc/Type Solutions Inc. 1990-1992. All Rights Reserved
Windows String: 1999 Iconian Fonts - http://members.xoom.com/iconianfonts/
Warning: Mac and Windows entries in the 'name' table differ for the Family
string in the language Inglese americano en_US
Mac String: Arial
Windows String: Alien League
Warning: Mac and Windows entries in the 'name' table differ for the UniqueID
string in the language Inglese americano en_US
Mac String: Monotype:Arial Regular:Version 2.45 (Microsoft)
Windows String: Alien League
Warning: Mac and Windows entries in the 'name' table differ for the Nome
completo string in the language Inglese americano en_US
Mac String: Arial
Windows String: Alien League
Warning: Mac and Windows entries in the 'name' table differ for the Version
string in the language Inglese americano en_US
Mac String: Version 2.45
Windows String: 1
Warning: Mac and Windows entries in the 'name' table differ for the
PostScript string in the language Inglese americano en_US
Mac String: ArialMT
Windows String: AlienLeague
[...]"
Similar warnings appear when I open y2k.ttf.
So I think the problem is about how LibreOffice behaves when a font has
different metadata for mac and windows.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs