Discussion:
[Libreoffice-bugs] [Bug 42901] New: URW Chanvery L font is no more available
b***@freedesktop.org
2011-11-14 09:14:09 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

Bug #: 42901
Summary: URW Chanvery L font is no more available
Classification: Unclassified
Product: LibreOffice
Version: LibO 3.4.3 release
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Presentation
AssignedTo: libreoffice-***@lists.freedesktop.org
ReportedBy: ***@hotmail.com


Since the upgrade to LibreOffice 3.4.3, it is no more possible to select the
URW Chancery L font!
I have several hundred of pages of documents using this font which are now
uncorrectly formated.
For me this is a serious regression issue.
Note that other applications on my PC, like AbiWord, are still able to use the
URW Chancery L font.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2011-11-14 09:19:25 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

--- Comment #1 from ***@hotmail.com 2011-11-14 01:19:25 PST ---
Same problem with Impress, Writer, Drawer and Calc.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2012-01-23 09:21:20 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

Florian Reisinger <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEEDINFO
Ever Confirmed|0 |1

--- Comment #2 from Florian Reisinger <***@gmail.com> 2012-01-23 01:21:20 PST ---
Please try with 3,5
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2012-01-29 14:25:17 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

--- Comment #3 from ***@edpnet.be 2012-01-29 06:25:17 PST ---
Today, updated to 3.5 rc2
URW Chancery L font is always unavailable

Debian 6 32-bits
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2012-01-29 14:04:57 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

Jean-Baptiste Faure <***@orange.fr> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@orange.fr

--- Comment #4 from Jean-Baptiste Faure <***@orange.fr> 2012-01-29 14:04:57 UTC ---
I do not reproduce with 3.5.0 rc2+ (LibreOffice 3.5.0rc2+ Version ID :
20ec7c1-ed94322-5cd2479-2386a41-138191a) under Ubuntu 11.10 with gnome-shell.
Same thing with LO 3.4.5 vanilla and LO 3.4.5 from Ubuntu repository
(Oneiric_proposed).
This font is usable for me in Writer and Impress.

What is the particularity of this font ?

Best regards. JBF
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2012-01-30 09:59:33 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

***@hotmail.com changed:

What |Removed |Added
----------------------------------------------------------------------------
Summary|URW Chanvery L font is no |URW Chancery L font is no
|more available |more available

--- Comment #5 from ***@hotmail.com 2012-01-30 01:59:33 PST ---
I had still the same problem with 3.4.4, but I found a workaround by copying
the old Openoffice font file which was still on the system but which is
apparently no more used by LibreOffice :

cd $HOME
ls -lda .fonts
if .fonts does not exist : mkdir .fonts
cd .fonts
cp /usr/share/fonts/truetype/openoffice/opens___.ttf .
check/change the file permissions :
chown <your_user_name> opens___.ttf
chmod 644 opens___.ttf

Restart LibreOffice, the font should be available...

I also installed LibreOffice 3.4.4 on another PC, but no problem on this one!
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2012-01-30 12:44:40 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

--- Comment #6 from Jean-Baptiste Faure <***@orange.fr> 2012-01-30 04:44:40 PST ---
opens___.ttf is OpenSymbol font. What is the link with "URW Chancery L" ?
On my Ubuntu 11.10 I found the font "URW Chancery L" in the package gsfonts ;
gs means Ghostscript here ...

Best regards. JBF
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2012-02-10 12:05:40 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

--- Comment #7 from ***@gmail.com 2012-02-10 04:05:40 PST ---
@ Caolan
Please, take look on this bug when will have time
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2012-02-10 12:24:48 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

--- Comment #8 from Caolán McNamara <***@redhat.com> 2012-02-10 04:24:48 PST ---
Created attachment 56861
--> https://bugs.freedesktop.org/attachment.cgi?id=56861
screenshot
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2012-02-10 12:27:42 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

--- Comment #9 from Caolán McNamara <***@redhat.com> 2012-02-10 04:27:42 PST ---
Well, it works fine for me. I don't quite understand what connection between OpenSymbol and a missing "URW Chancery L" there could be

I presume that if you do from a terminal...

$ fc-list "URW Chancery L"

that you get...

URW Chancery L:style=Medium Italic

Is this with libreoffice that came from the distro, or libreoffice downloaded from our site.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2012-02-14 11:43:08 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

--- Comment #10 from ***@hotmail.com 2012-02-14 03:43:08 PST ---
1) About the opens___.ttf file : obviously, this file contains the URW Chancery L font.
As for an obscure reason, the URW Chancery L font was no more available in Libreoffice, a workaround to make the font available is to put the opens___.ttf file
in the .fonts directory.
On my desktop, if I rename the .fonts directory and I restart a Libreoffice application, the URW Chancery L font disappears from the list (see screenshot).
If the .fonts directory containing the opens___.ttf file is restored, the URW Chancery L font appears in the list.

2) Yes with
$ fc-list "URW Chancery L"

I get ...

URW Chancery L:style=Medium Italic

3) The bug is with LibreOffice installed from the Ubuntu Software Center. I did not tried to download the software from the site.
After having installed Ubuntu 11.10 and LibreOffice it was working fine, but the problem appeared later after an update of Ubuntu.
I already tried to remove and reinstall LibreOffice with the Ubuntu Software Center, but without success.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2012-02-14 12:06:59 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

--- Comment #11 from Caolán McNamara <***@redhat.com> 2012-02-14 04:06:59 PST ---
"the opens___.ttf file : obviously, this file contains the URW Chancery L font"
it doesn't you see, that's why we're baffled :-), that's the OpenSymbol font.

fc-list -v "URW Chancery L" should list the location where that's installed, e.g. /usr/share/fonts/default/Type1/z003034l.pfb for me
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2012-02-14 12:20:40 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

--- Comment #12 from ***@hotmail.com 2012-02-14 04:20:40 PST ---
Created attachment 57031
--> https://bugs.freedesktop.org/attachment.cgi?id=57031
output of fc-list -v
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2012-02-14 12:22:23 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

--- Comment #13 from ***@hotmail.com 2012-02-14 04:22:23 PST ---
Created attachment 57032
--> https://bugs.freedesktop.org/attachment.cgi?id=57032
Screenshot without the .fonts/opens___.ttf file
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2012-02-14 12:23:11 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

--- Comment #14 from ***@hotmail.com 2012-02-14 04:23:11 PST ---
Created attachment 57033
--> https://bugs.freedesktop.org/attachment.cgi?id=57033
Screenshot with the .fonts/opens___.ttf file
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2012-02-15 08:18:53 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

--- Comment #15 from ***@hotmail.com 2012-02-15 00:18:53 PST ---
The full output of the fc-list -v command is in attachment.
Result of
fc-list -v "URW Chancery L" | grep "file:"
file: "/usr/share/fonts/type1/gsfonts/z003034l.pfb"(s)
file: "/usr/share/fonts/X11/Type1/z003034l.pfb"(s)

Note that I installed Ubuntu 11.10 and LibreOffice 3.4.4 on my laptop and it works fine on this one...
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2012-02-17 08:01:37 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

--- Comment #16 from ***@hotmail.com 2012-02-17 00:01:37 PST ---
I did some more tests :
Adding a copy of any font file from the /usr/share/fonts into $HOME/.fonts make the URW Chancery L font available!
The content of this file does no matter as long as it is a valid font file...
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2012-02-17 12:50:01 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

--- Comment #17 from Caolán McNamara <***@redhat.com> 2012-02-17 04:50:01 PST ---
hmm, that's interesting, so...

file: "/usr/share/fonts/type1/gsfonts/z003034l.pfb"(s)
file: "/usr/share/fonts/X11/Type1/z003034l.pfb"(s)

suggests there are two files that provide that font, can you attach those two files here and perhaps if I put them into equivalent positions here and remove my
local ~/.fonts dir I'd be able to reproduce this as well
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2012-02-17 13:09:29 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

Caolán McNamara <***@redhat.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED
Summary|URW Chancery L font is no |duplicated system fonts are
|more available |not available (e.g. URW
| |Chancery L in two
| |system-wide locations)
Component|Presentation |Libreoffice

--- Comment #18 from Caolán McNamara <***@redhat.com> 2012-02-17 13:09:29 UTC ---
indeed, if I ditch my .fonts dir and then duplicate z003034l.pfb into two system-wide locations I can reproduce this with 3.4.5

Almost certainly my bug, and a bad sort ordering
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2012-02-17 13:12:19 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

--- Comment #19 from Caolán McNamara <***@redhat.com> 2012-02-17 13:12:19 UTC ---
either isPreviouslyDuplicateOrObsoleted or SortFont would be my guess
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2012-02-19 09:30:17 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

--- Comment #20 from ***@hotmail.com 2012-02-19 01:30:17 PST ---
Indeed, on my system, the second file in the X11 directory is a symbolic link to the first file and if I remove this link, the problem is solved...
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2012-02-20 04:23:22 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

Caolán McNamara <***@redhat.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Status Whiteboard|target:3.6.0 |
Resolution| |FIXED

--- Comment #22 from Caolán McNamara <***@redhat.com> 2012-02-20 04:23:22 UTC ---
fixed with http://cgit.freedesktop.org/libreoffice/core/commit/?id=65a3ec97b5032d1748c8f84eeb0b8656e1c25918

turns out that the problem isn't simply the duplication of the font, its that the duplicate .pfb doesn't come with a duplicate .afm so the duplicate is
"invalid" so we dismiss the link because it doesn't have a .afm and then we dismiss the "valid" one because its a duplicate font that we already processed.

So now throwing out invalid fonts from the fontset when discovered, so valid ones aren't considered duplicates of invalid ones and so get picked up correctly
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
b***@freedesktop.org
2012-02-20 12:24:25 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=42901

Caolán McNamara <***@redhat.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|libreoffice-***@lists.free |***@redhat.com
|desktop.org |
Summary|duplicated system fonts are |duplicated .pfb fonts with
|not available (e.g. URW |non-duplicate .afm results
|Chancery L in two |in neither being available
|system-wide locations) |
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Loading...