[Solved] Cannot load fonts in OOO

Issues with installing under all GNU/Linux Distributions
Post Reply
thedoctor818
Posts: 12
Joined: Mon Aug 20, 2012 12:52 am

[Solved] Cannot load fonts in OOO

Post by thedoctor818 »

In Lubuntu (12.04) I know I have installed the ghostcript.postcript, and ms fonts. However, most of these (URW Chancery, for instance) are unavailable to me in OOO 3.4. How can I fix this? Thanks.
Last edited by RoryOF on Tue Aug 21, 2012 5:05 pm, edited 1 time in total.
Reason: Marked [Solved] and added green tick. [RoryOF, Moderator]
-Michael Dykes
using Open Office 3.4 on Lubuntu 12.04
User avatar
Robert Tucker
Volunteer
Posts: 1250
Joined: Mon Oct 08, 2007 1:34 am
Location: Manchester UK

Re: Cannot load fonts in OOO

Post by Robert Tucker »

Where have you installed them? My preference is invariably (in a folder in) /usr/share/fonts.

Make sure the permissions are set to allow you to read/use them.

See:

http://user.services.openoffice.org/en/ ... =5&t=25792
http://www.oooforum.org/forum/viewtopic.phtml?t=14900
LibreOffice 7.x.x on Arch and Fedora.
thedoctor818
Posts: 12
Joined: Mon Aug 20, 2012 12:52 am

Re: Cannot load fonts in OOO

Post by thedoctor818 »

Robert,

Thanks for your reply. Even though I have been using Ubuntu for a few years now, I still have some difficulty with installing fonts (LateX, OOO, etc). I just looked in my folder (/usr/share/fonts) and found the following folders:

[Please forgive my ignorance, that is why I am listing what I see there.]

cmpp, truetype, type1, and X11

So how should I proceed from here? Again, i realize I should be better at this by now, but sadly am not. Thanks again for your help.
-Michael Dykes
using Open Office 3.4 on Lubuntu 12.04
User avatar
Robert Tucker
Volunteer
Posts: 1250
Joined: Mon Oct 08, 2007 1:34 am
Location: Manchester UK

Re: Cannot load fonts in OOO

Post by Robert Tucker »

Move or copy all your .ttf fonts (or all of those you want) to folders in /usr/share/font. I usually use Krusader for the job.

Code: Select all

$ ls -R /usr/share/fonts
/usr/share/fonts:
abattis-cantarell  lklug             lohit-tamil       sil-padauk
cjkuni-uming       lohit-assamese    lohit-telugu      smc
default            lohit-bengali     msttcorefonts     stix
dejavu             lohit-devanagari  nhn-nanum         thai-scalable
extras             lohit-gujarati    opensymbol        vlgothic
jomolhari          lohit-kannada     paktype-naqsh     wqy-zenhei
khmeros            lohit-oriya       paratype-pt-sans
liberation         lohit-punjabi     sil-abyssinica

/usr/share/fonts/abattis-cantarell:
Cantarell-Bold.otf  Cantarell-Regular.otf

/usr/share/fonts/cjkuni-uming:
uming.ttc

/usr/share/fonts/default:
ghostscript  Type1

/usr/share/fonts/default/ghostscript:
fcyr.afm   fhirw.gsf  fonts.dir    putri.pfa     u003043t.pfm
fcyr.gsf   fhirw.pfm  fonts.scale  putr.pfa      u004006t.afm
fcyri.afm  fkarw.gsf  putbi.pfa    u003043t.afm  u004006t.gsf
fcyri.gsf  fkarw.pfm  putb.pfa     u003043t.gsf  u004006t.pfm

/usr/share/fonts/default/Type1:
a010013l.afm  b018035l.pfb  n019004l.afm  n021003l.pfb  p052003l.afm
a010013l.pfb  c059013l.afm  n019004l.pfb  n021004l.afm  p052003l.pfb
a010015l.afm  c059013l.pfb  n019023l.afm  n021004l.pfb  p052004l.afm
a010015l.pfb  c059016l.afm  n019023l.pfb  n021023l.afm  p052004l.pfb
a010033l.afm  c059016l.pfb  n019024l.afm  n021023l.pfb  p052023l.afm
a010033l.pfb  c059033l.afm  n019024l.pfb  n021024l.afm  p052023l.pfb
a010035l.afm  c059033l.pfb  n019043l.afm  n021024l.pfb  p052024l.afm
a010035l.pfb  c059036l.afm  n019043l.pfb  n022003l.afm  p052024l.pfb
b018012l.afm  c059036l.pfb  n019044l.afm  n022003l.pfb  s050000l.afm
b018012l.pfb  d050000l.afm  n019044l.pfb  n022004l.afm  s050000l.pfb
b018015l.afm  d050000l.pfb  n019063l.afm  n022004l.pfb  z003034l.afm
b018015l.pfb  fonts.dir     n019063l.pfb  n022023l.afm  z003034l.pfb
b018032l.afm  fonts.scale   n019064l.afm  n022023l.pfb
b018032l.pfb  n019003l.afm  n019064l.pfb  n022024l.afm
b018035l.afm  n019003l.pfb  n021003l.afm  n022024l.pfb

/usr/share/fonts/dejavu:
DejaVuSans-BoldOblique.ttf           DejaVuSans-Oblique.ttf
DejaVuSans-Bold.ttf                  DejaVuSans.ttf
DejaVuSansCondensed-BoldOblique.ttf  DejaVuSerif-BoldItalic.ttf
DejaVuSansCondensed-Bold.ttf         DejaVuSerif-Bold.ttf
DejaVuSansCondensed-Oblique.ttf      DejaVuSerifCondensed-BoldItalic.ttf
DejaVuSansCondensed.ttf              DejaVuSerifCondensed-Bold.ttf
DejaVuSans-ExtraLight.ttf            DejaVuSerifCondensed-Italic.ttf
DejaVuSansMono-BoldOblique.ttf       DejaVuSerifCondensed.ttf
DejaVuSansMono-Bold.ttf              DejaVuSerif-Italic.ttf
DejaVuSansMono-Oblique.ttf           DejaVuSerif.ttf
DejaVuSansMono.ttf

/usr/share/fonts/extras:
allegro.ttf         DoulosSIL4.106.zip         MagyarLinLibertineG.ttf
andlso.ttf          exmouth_.ttf               MgOpenCanonica.tar.gz
antquabi.ttf        LateefRegOT.ttf            MgOpenCosmetica.tar.gz
antquab.ttf         MagyarLinBiolinumB.ttf     MgOpenModata.tar.gz
antquai.ttf         MagyarLinBiolinum.ttf      MgOpenModerna.tar.gz
bkant.ttf           MagyarLinLibertineGBI.ttf  ohio.ttf
CharisSIL4.106.zip  MagyarLinLibertineGB.ttf   QCF_P196.TTF
code2000.ttf        MagyarLinLibertineGI.ttf   ScheherazadeRegOT.ttf

/usr/share/fonts/jomolhari:
Jomolhari-alpha3c-0605331.ttf

/usr/share/fonts/khmeros:
KhmerOS_content.ttf  KhmerOS_sys.ttf  KhmerOS.ttf

/usr/share/fonts/liberation:
fonts.dir                      LiberationSans-Bold.ttf
fonts.scale                    LiberationSans-Italic.ttf
LiberationMono-BoldItalic.ttf  LiberationSans-Regular.ttf
LiberationMono-Bold.ttf        LiberationSerif-BoldItalic.ttf
LiberationMono-Italic.ttf      LiberationSerif-Bold.ttf
LiberationMono-Regular.ttf     LiberationSerif-Italic.ttf
LiberationSans-BoldItalic.ttf  LiberationSerif-Regular.ttf

/usr/share/fonts/lklug:
lklug.ttf

/usr/share/fonts/lohit-assamese:
Lohit-Assamese.ttf

/usr/share/fonts/lohit-bengali:
Lohit-Bengali.ttf

/usr/share/fonts/lohit-devanagari:
Lohit-Devanagari.ttf

/usr/share/fonts/lohit-gujarati:
Lohit-Gujarati.ttf

/usr/share/fonts/lohit-kannada:
Lohit-Kannada.ttf

/usr/share/fonts/lohit-oriya:
Lohit-Oriya.ttf

/usr/share/fonts/lohit-punjabi:
Lohit-Punjabi.ttf

/usr/share/fonts/lohit-tamil:
Lohit-Tamil.ttf

/usr/share/fonts/lohit-telugu:
Lohit-Telugu.ttf

/usr/share/fonts/msttcorefonts:
andalemo.ttf  comic.ttf     georgiai.ttf  timesi.ttf    verdanai.ttf
arialbd.ttf   courbd.ttf    georgia.ttf   times.ttf     verdana.ttf
arialbi.ttf   courbi.ttf    georgiaz.ttf  trebucbd.ttf  verdanaz.ttf
ariali.ttf    couri.ttf     impact.ttf    trebucbi.ttf  webdings.ttf
arial.ttf     cour.ttf      tahoma.ttf    trebucit.ttf
ariblk.ttf    fonts.dir     timesbd.ttf   trebuc.ttf
comicbd.ttf   georgiab.ttf  timesbi.ttf   verdanab.ttf

/usr/share/fonts/nhn-nanum:
NanumGothicBold.ttf  NanumGothicExtraBold.ttf  NanumGothic.ttf

/usr/share/fonts/opensymbol:
opens___.ttf

/usr/share/fonts/paktype-naqsh:
PakType_Naqsh.ttf

/usr/share/fonts/paratype-pt-sans:
PTN57F.ttf  PTN77F.ttf  PTS55F.ttf  PTS56F.ttf  PTS75F.ttf  PTS76F.ttf

/usr/share/fonts/sil-abyssinica:
AbyssinicaSIL-R.ttf

/usr/share/fonts/sil-padauk:
Padauk-Bold.ttf  Padauk.ttf

/usr/share/fonts/smc:
Meera.ttf

/usr/share/fonts/stix:
STIXGeneralBolIta.otf  STIXGeneralItalic.otf
STIXGeneralBol.otf     STIXGeneral.otf

/usr/share/fonts/thai-scalable:
Waree-BoldOblique.ttf  Waree-Bold.ttf  Waree-Oblique.ttf  Waree.ttf

/usr/share/fonts/vlgothic:
VL-Gothic-Regular.ttf

/usr/share/fonts/wqy-zenhei:
wqy-zenhei.ttc
LibreOffice 7.x.x on Arch and Fedora.
thedoctor818
Posts: 12
Joined: Mon Aug 20, 2012 12:52 am

Re: Cannot load fonts in OOO

Post by thedoctor818 »

So, if I understand you correctly, I can copy that code into a terminal and run it? How then (for instance) could I add URW Chancery to that?

Thanks a lot!!!
-Michael Dykes
using Open Office 3.4 on Lubuntu 12.04
User avatar
RoryOF
Moderator
Posts: 34613
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Cannot load fonts in OOO

Post by RoryOF »

Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
thedoctor818
Posts: 12
Joined: Mon Aug 20, 2012 12:52 am

Re: Cannot load fonts in OOO

Post by thedoctor818 »

RoryOF, thanks for your help - that did the trick. Thanks again.
-Michael Dykes
using Open Office 3.4 on Lubuntu 12.04
User avatar
Robert Tucker
Volunteer
Posts: 1250
Joined: Mon Oct 08, 2007 1:34 am
Location: Manchester UK

Re: Cannot load fonts in OOO

Post by Robert Tucker »

thedoctor818 wrote:So, if I understand you correctly, I can copy that code into a terminal and run it?
No that is just a listing of the directories and fonts they contain on my computer to give a basic idea of how they can be arranged. All you need to do to install a "modern" ttf (truetype) is copy it to the /usr/share/font folder or any folder within it or any folder within a folder within it and that is all. You will need to have root permissions to copy into /usr/share/fonts of course. You can use the cp command at the command line or you can install Krusader or something like it and run that as root. You need to make sure that you have permission to read the font file in /usr/share/fonts as a user.
LibreOffice 7.x.x on Arch and Fedora.
Post Reply