LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-05-2015, 11:42 AM   #1
trentfox
Member
 
Registered: Jun 2008
Location: Peterborough, Ontario, Canada
Distribution: Ubuntu 16.04, Unity & Gnome-shell
Posts: 83

Rep: Reputation: 15
view installed Macintosh fonts in LibreOffice


I have tried installing Macintosh fonts in Ubuntu (14.04) using the following terminal commands as suggested by several websites:
Code:
wget http://dl.dropbox.com/u/26209128/mac_fonts.tar.gz
tar zxvf mac_fonts.tar.gz
sudo mv fonts /usr/share/fonts/
sudo fc-cache -f -v
I can see the fonts in the /usr/share/fonts folder, and clicking on them brings up a window showing their form. However, when using LibreOffice Writer, the new fonts do not show up in the menu; they don't show up in WPS either. I tried copying a few of the fonts, changing ownership to me and then making them read and write for everyone, and then pasting them into an existing folder in usr/share/fonts where other truetype fonts reside that can be seen in LibreOffice. The Times font in particular is important to me because I have a lot of formatted Mac documents that use it. If I select some text and then go to the font window, type in Times and delete the "New Roman" that autocompletes, the Times stays in the window but goes to italics with a message that this font isn't installed. What am I doing wrong and what do I have to do to fix this problem?
 
Old 05-06-2015, 10:52 AM   #2
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,046

Rep: Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271
Can they be used in a text editor, like Gedit? That will tell you whether there's a general problem with the fonts or just a LibreOffice problem.

What is the extension on the fonts: is it .ttf or something else?
 
1 members found this post helpful.
Old 05-06-2015, 07:03 PM   #3
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
Run this in a terminal:

Code:
sudo fc-cache -f -v
More info here
 
1 members found this post helpful.
Old 05-06-2015, 07:30 PM   #4
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by trentfox View Post
If I select some text and then go to the font window, type in Times and delete the "New Roman" that autocompletes, the Times stays in the window but goes to italics with a message that this font isn't installed. What am I doing wrong and what do I have to do to fix this problem?
This made me smile actually. Thanks for that

The times.ttf font in the package is Times New Roman. You installed the fonts correctly. The times.ttf font is not Times, but Times New Roman.
 
1 members found this post helpful.
Old 05-06-2015, 11:37 PM   #5
trentfox
Member
 
Registered: Jun 2008
Location: Peterborough, Ontario, Canada
Distribution: Ubuntu 16.04, Unity & Gnome-shell
Posts: 83

Original Poster
Rep: Reputation: 15
I'm glad I made you smile DJ Shaji; your answer made me smile because I wondered about that all along. The reason I wanted the actual Times font is that many of the Word Mac documents I created or receive from others are done in Times. Spacing is slightly different from that of Times Roman, so when I open a Word Mac document with LibreOffice, the document doesn't always appear the same. Checking my Mac, I have a Times New Roman.ttf font, and a Times.dfont. Assuming that the Times.dfont file in System/Fonts is the actual Mac Times font, I copied it into Ubuntu and tried converting it with Fondu, but I got a Resource Fork missing error. What was I doing wrong?

Last edited by trentfox; 05-06-2015 at 11:56 PM.
 
Old 05-07-2015, 10:24 AM   #6
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,046

Rep: Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271
You aren't doing anything wrong. This is why I asked about the extension: it seems that dfont files are OS-X only
http://www.prepressure.com/fonts/basics/dfont

There is a program (Windows) to convert
http://peter.upfold.org.uk/projects/dfontsplitter
or an on-line service
http://www.freefontconverter.com/
I haven't tried either, so no guarantees.
 
Old 05-08-2015, 09:53 AM   #7
trentfox
Member
 
Registered: Jun 2008
Location: Peterborough, Ontario, Canada
Distribution: Ubuntu 16.04, Unity & Gnome-shell
Posts: 83

Original Poster
Rep: Reputation: 15
Thanks David. I tried both programs; the first one has a Mac version that I used. The on-line wouldn't work; indicated that the file was too large. Dfontsplitter worked, but doesn't give options as to conversion type. What it made were Times .bdf fonts of different sizes, plus .ttf's of Times Bold, Times Bold Italic, Times Italic, and Times Roman. Why not a plain Times ttf - I don't know. At any rate, I copied over the .bdf Times fonts and updated the cache, but Times was still not shown. Other suggestions? Incidentally, the invisible font isn't just in LibreOffice; it is also invisible in gedit.

Update: I just tried copying over the bold and italic Times ttfs. After updating the cache, Times now shows up in the LibreOffice fonts. But when I choose it, I get Times Bold and it doesn't show up as a bold font so I can't unbold it. What I next did was add the Times Roman ttf font that was produced by dontsplitter. After updating the cache, I now can choose Times and I do get an unbolded font. I magnified the image 200x to check for any differences between what was produced by Times and by Times Roman. Despite not having an actual Times non-bolded font, there were definite but subtle differences between the two. I really don't understand this; does it mean that a Times font doesn't actually exist? Can anyone explain?

Last edited by trentfox; 05-08-2015 at 10:14 AM. Reason: updated info
 
Old 05-08-2015, 10:51 AM   #8
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,046

Rep: Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271
A bdf font is a bitmap font, not a vector font, so naturally it won't show up in a word processor. Generating that shouldn't have happened.

There will be subtle differences between Times New Roman and Times: one was designed for Microsoft, the other for Apple. It's like Palatino for Monotype/Apple and Palladio for URW/Linux.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Alien's libreoffice 4.4 and the caladea and carlito fonts burdi01 Slackware 1 02-23-2015 01:55 PM
LXer: LibreOffice gets a streamlined makeover, native alternatives for major Microsoft fonts LXer Syndicated Linux News 0 01-30-2015 12:12 AM
new ttf fonts not available in LibreOffice (xubuntu 11.10) harryg123 Linux - Newbie 2 04-14-2012 10:37 AM
[SOLVED] How to get MS fonts installed on /usr/share/fonts ? marco@slack Linux - Software 3 06-27-2009 06:59 AM
How to configure newly installed Macintosh access to Linux shared drives mrmandms Linux - Networking 4 09-08-2005 05:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration