Help installing true type fonts in LM18 (SOLVED)

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
magicchance
Level 3
Level 3
Posts: 126
Joined: Sat Jul 18, 2015 4:58 am
Location: Las Vegas, NV, USA

Help installing true type fonts in LM18 (SOLVED)

Post by magicchance »

I'm having difficulty installing custom .ttf fonts from the web into LM18. What am I missing with the LM18 please?

SOLVED: The answer is to use the 'font-manager' found in the Software Manager. 'Font viewer' does not work with LM18, and the auto-install feature from LM17 has not been incorporated into 18. Once the custom fonts have been recognized by the font-manager, they will be visible and accessible within Libre Office.
Last edited by magicchance on Wed Jul 13, 2016 2:06 pm, edited 4 times in total.
Cosmo.
Level 23
Level 23
Posts: 17817
Joined: Sat Dec 06, 2014 7:34 am

Re: Help installing true type fonts in LM18

Post by Cosmo. »

magicchance wrote:The debian says ...
What is this?
User avatar
richyrich
Level 19
Level 19
Posts: 9054
Joined: Mon May 04, 2009 8:31 pm

Re: Help installing true type fonts in LM18

Post by richyrich »

In Synaptic Package Manager, install ttf-mscorefonts-installer to get your Microsoft true type fonts.

PS: Just do a search for font in the above program.
User avatar
jimallyn
Level 19
Level 19
Posts: 9002
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: Help installing true type fonts in LM18

Post by jimallyn »

Not sure where you got your fonts from. Was it a .deb file? Something you downloaded from the web? I don't have Mint 18 on this particular computer yet, but in the past TrueType fonts were always in /usr/share/fonts/truetype. If you're just wanting the standard Microsoft fonts, then install ttf-mscorefonts-installer as richyrich suggested. In the past, and on a different distribution (Xandros), I put a bunch of fonts on the computer by simply downloading them from the web, then opening a root file manager and copy/paste the fonts in to the usr/share/fonts/truetype folder. I don't know whether that is a valid method on Mint 18, but I would guess that it would still work.
Image

“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan
User avatar
Moem
Level 20
Level 20
Posts: 12307
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Help installing true type fonts in LM18

Post by Moem »

I don't have Mint 18 yet, but when I want to install a font from the web, I download the .ttf file and open it in Font Viewer; I will then see a button marked Install. Not sure that still works, either, but maybe?
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
Cosmo.
Level 23
Level 23
Posts: 17817
Joined: Sat Dec 06, 2014 7:34 am

Re: Help installing true type fonts in LM18

Post by Cosmo. »

No, it does not work in LM 18, because of a open bug. See here and here
magicchance
Level 3
Level 3
Posts: 126
Joined: Sat Jul 18, 2015 4:58 am
Location: Las Vegas, NV, USA

Re: Help installing true type fonts in LM18

Post by magicchance »

Cosmo. wrote:No, it does not work in LM 18, because of a open bug. See here and here
Any news on when this bug will be fixed? LM17 worked great with .ttf files.
font.jpg
Cosmo.
Level 23
Level 23
Posts: 17817
Joined: Sat Dec 06, 2014 7:34 am

Re: Help installing true type fonts in LM18 (Solved, sort of)

Post by Cosmo. »

You get the quickest information with the update manager, as soon as an update is available. It helps, to take a look at the change-log.
User avatar
Flemur
Level 19
Level 19
Posts: 9049
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Help installing true type fonts in LM18 (Solved, sort of)

Post by Flemur »

magicchance
Any news on when this bug will be fixed? LM17 worked great with .ttf files.
That's a strange error (picture) - are you opening the zip file with gdebi or dpkg-whatever?

It's real easy to install .ttf files: basically copy the files to /usr/share/fonts/truetype/optional-directory, then run fc-cache.

Code: Select all

cd /usr/share/fonts/truetype
sudo mkdir font-name 
sudo cp /path/to/files/*.ttf font-name/.
sudo fc-cache -fv
Or use your file browser as root (e.g. "gksudo nemo")
You don't really need to make a new directory, but it's cleaner.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
magicchance
Level 3
Level 3
Posts: 126
Joined: Sat Jul 18, 2015 4:58 am
Location: Las Vegas, NV, USA

Re: Help installing true type fonts in LM18 (Solved, sort of)

Post by magicchance »

Flemur wrote:magicchance
Any news on when this bug will be fixed? LM17 worked great with .ttf files.
That's a strange error (picture) - are you opening the zip file with gdebi or dpkg-whatever?

It's real easy to install .ttf files: basically copy the files to /usr/share/fonts/truetype/optional-directory, then run fc-cache.

Code: Select all

cd /usr/share/fonts/truetype
sudo mkdir font-name 
sudo cp /path/to/files/*.ttf font-name/.
sudo fc-cache -fv
Or use your file browser as root (e.g. "gksudo nemo")
You don't really need to make a new directory, but it's cleaner.
Can you direct me to a step by step tutorial for what you're describing? I'm such a newbie, and I have no idea what you want me to do without more specific instructions.
User avatar
WharfRat
Level 21
Level 21
Posts: 13909
Joined: Thu Apr 07, 2011 8:15 pm

Re: Help installing true type fonts in LM18 (Solved, sort of)

Post by WharfRat »

magicchance,

You can create the folder ~/.fonts and move the .ttf files there. Then log off and back in again at which time they will be available.
ImageImage
magicchance
Level 3
Level 3
Posts: 126
Joined: Sat Jul 18, 2015 4:58 am
Location: Las Vegas, NV, USA

Re: Help installing true type fonts in LM18 (Solved, sort of)

Post by magicchance »

WharfRat wrote:magicchance,

You can create the folder ~/.fonts and move the .ttf files there. Then log off and back in again at which time they will be available.
Thanks, but what exactly is this process? Right now all the files are still zipped up. Normally, with LM17, the unzipping step also sent the files to the correct master font folder. But now, with LM18, these same files can't be unzipped without the warning shown earlier. The process just stops dead at that point. So exactly how do I work with these zipped files?
User avatar
WharfRat
Level 21
Level 21
Posts: 13909
Joined: Thu Apr 07, 2011 8:15 pm

Re: Help installing true type fonts in LM18 (Solved, sort of)

Post by WharfRat »

What's the name of the file :?:
ImageImage
magicchance
Level 3
Level 3
Posts: 126
Joined: Sat Jul 18, 2015 4:58 am
Location: Las Vegas, NV, USA

Re: Help installing true type fonts in LM18 (Solved, sort of)

Post by magicchance »

WharfRat wrote:What's the name of the file :?:
There are dozens of them. But the first one is this: 1873_winchester.zip
font.jpg
The pic shows the contents.
User avatar
WharfRat
Level 21
Level 21
Posts: 13909
Joined: Thu Apr 07, 2011 8:15 pm

Re: Help installing true type fonts in LM18 (Solved, sort of)

Post by WharfRat »

I don't use zip for archives, but I'm pretty sure you unpack it with

Code: Select all

unzip 1873_winchester.zip
Make sure you have the zip package installed

Code: Select all

test $(which zip) || sudo apt-get install zip
If the above line doesn't install anything - don't worry as it's already installed.
ImageImage
magicchance
Level 3
Level 3
Posts: 126
Joined: Sat Jul 18, 2015 4:58 am
Location: Las Vegas, NV, USA

Re: Help installing true type fonts in LM18 (Solved, sort of)

Post by magicchance »

WharfRat wrote:I don't use zip for archives....
These are my results. Not looking good. Nothing installed, which means it should already be there, and yet it still doesn't find the zip file.

test $(which zip) || sudo apt-get install zip
XXXXX@pc1 ~ $ unzip 1873_winchester.zip
unzip: cannot find or open 1873_winchester.zip, 1873_winchester.zip.zip or 1873_winchester.zip.ZIP.


As to using zip files, it's just how the fonts come off the Web. Normally, with LM17, this wasn't an issue. Just right-clicking the file would have the debian take over and complete the process for you automatically. It was a really quick and simple process. Nothing like it is now. I sure hope the guys can fix this bug asap.
User avatar
WharfRat
Level 21
Level 21
Posts: 13909
Joined: Thu Apr 07, 2011 8:15 pm

Re: Help installing true type fonts in LM18 (Solved, sort of)

Post by WharfRat »

Are you in the correct folder when you attempt to unzip the file :?:
ImageImage
User avatar
Flemur
Level 19
Level 19
Posts: 9049
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Help installing true type fonts in LM18 (Solved, sort of)

Post by Flemur »

As to using zip files, it's just how the fonts come off the Web. Normally, with LM17, this wasn't an issue. Just right-clicking the file would have the debian take over and complete the process for you automatically.
"Just right-clicking" the zip file extracted the contents and installed the font?
I doubt that was the process for several reasons, one of which is: what is "the debian"?

Note that the zip file - at least the one I got from googling because you didn't supply a URL - has a stupid format, with another zip file, containing the font, inside the first one:

Code: Select all

$ unzip 1873_winchester.zip
Archive:  1873_winchester.zip
  inflating: Maxfonts_Instructions.txt  
  inflating: maxfonts_font_17266.zip  
$ unzip maxfonts_font_17266.zip  
Archive:  maxfonts_font_17266.zip
  inflating: 1873_Winchester.ttf     
  inflating: Gunsmith.png            
  inflating: License_Info.txt        
$ sudo cp 1873_Winchester.ttf /usr/share/fonts/true*/.
$ sudo fc-cache -fv
...buncha output...
Font "1873 Winchester" shows up in libreoffice and works.

Edit:
...
sudo fc-cache -fv ...
Can you direct me to a step by step tutorial for what you're describing?
That was a step by step tutorial.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
magicchance
Level 3
Level 3
Posts: 126
Joined: Sat Jul 18, 2015 4:58 am
Location: Las Vegas, NV, USA

Re: Help installing true type fonts in LM18 (Solved, sort of)

Post by magicchance »

Flemur wrote:...."Just right-clicking" the zip file extracted the contents and installed the font? I doubt that was the process for several reasons, one of which is: what is "the debian"?....
Why do you doubt this statement? My first attached pic above shows exactly what I am referring to. I will re-attach it below. I am attempting the exact same process now with LM18, and it goes halfway, but then it stops and gives the warning. With LM17, the process would continue without the warning, and the font would be installed, and the next time I opened Libre Office Writer the new fonts would be ready to go. I'm doing nothing differnt. With LM17 I installed about 400 custom fonts without a hitch. I am simply trying to repeat the process with LM18. But so far, no luck.
font.jpg
The fonts come from http://www.1001fonts.com/ and http://www.dafont.com/
User avatar
WharfRat
Level 21
Level 21
Posts: 13909
Joined: Thu Apr 07, 2011 8:15 pm

Re: Help installing true type fonts in LM18 (Solved, sort of)

Post by WharfRat »

magicchance,

The reason you're getting that error is because the .zip file is being opened with the gui interface of the package manager. It's informing you that file is not a Debian package i.e., a .deb file.

You should have an application called engrampa which is an archive manager. The Mate desktop has it in the Accessories category of the menu called Archive Manger. Try launching it to open the .zip file.

I don't know what you're selecting in the files manager to have the file opened with the incorrect application, but that's what's happening.
ImageImage
Post Reply

Return to “Newbie Questions”