fonts LibreOffice (Solved - sort of)

Message
Author
old_guy
Posts: 140
Joined: Sat Oct 28, 2017 4:30 pm

fonts LibreOffice (Solved - sort of)

#1 Post by old_guy »

I'm confused with how fonts are utilized in MX or mainly LibreOffice.

Main example:
Century Schoolbook
shows up in Settings - Appearance - Fonts
but not in LibreOffice.

I ran:
fc-list | grep School
/usr/share/fonts/truetype/uralic/schoub__.ttf: Schoolbook Uralic:style=Bold
/usr/share/fonts/type1/gsfonts/c059013l.pfb: Century Schoolbook L:style=Roman
/usr/share/fonts/truetype/uralic/schou___.ttf: Schoolbook Uralic:style=Regular
/usr/share/fonts/truetype/uralic/schoui__.ttf: Schoolbook Uralic:style=Italic
/usr/share/fonts/type1/gsfonts/c059033l.pfb: Century Schoolbook L:style=Italic
/usr/share/fonts/type1/gsfonts/c059016l.pfb: Century Schoolbook L:style=Bold
/usr/share/fonts/type1/gsfonts/c059036l.pfb: Century Schoolbook L:style=Bold Italic

LibreOffice shows:
Schoolbook Uralic, but not Century Schoolbook L

How do I get Century Schoolbook L and other fonts that are in /usr/share/fonts to show up in LibreOffice?

Earl
Last edited by old_guy on Sat Apr 27, 2019 2:04 pm, edited 1 time in total.

old_guy
Posts: 140
Joined: Sat Oct 28, 2017 4:30 pm

Re: fonts LibreOffice

#2 Post by old_guy »

Bluesguy
Thanks for the reply, but didn't work.
Earl

Update
I started comparing between what shows in:
Settings - Appearance - Fonts
and
LibreOffice

Several others were missing in LibreOffice - they were all in
/usr/share/fonts/type1/gsfonts/

old_guy
Posts: 140
Joined: Sat Oct 28, 2017 4:30 pm

Re: fonts LibreOffice

#3 Post by old_guy »

Found online:
LibreOffice 5.3, which is dropping support for Type 1 fonts.

So Solved sort of.

User avatar
cpoakes
Posts: 10
Joined: Wed Dec 14, 2016 8:36 pm

Re: fonts LibreOffice (Solved - sort of)

#4 Post by cpoakes »

Convert the PFB files to OTF. Install fontforge and use the following script:

Code: Select all

#!/usr/bin/fontforge
Open($1);
Reencode("unicode");
Generate($fontname+".otf");
Quit(0);
Script credit: jeromejaglale.com (more specific directions at site)

The OTF format was designed in collaboration with Adobe to directly map type1 postscript fonts, so this is an accurate conversion without approximations.

Post Reply

Return to “General”