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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-05-2015, 11:42 AM
|
#1
|
Member
Registered: Jun 2008
Location: Peterborough, Ontario, Canada
Distribution: Ubuntu 16.04, Unity & Gnome-shell
Posts: 83
Rep:
|
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?
|
|
|
05-06-2015, 10:52 AM
|
#2
|
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,259
|
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.
|
05-06-2015, 07:03 PM
|
#3
|
Member
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Rep: 
|
Run this in a terminal:
Code:
sudo fc-cache -f -v
More info here
|
|
1 members found this post helpful.
|
05-06-2015, 07:30 PM
|
#4
|
Member
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Rep: 
|
Quote:
Originally Posted by trentfox
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.
|
05-06-2015, 11:37 PM
|
#5
|
Member
Registered: Jun 2008
Location: Peterborough, Ontario, Canada
Distribution: Ubuntu 16.04, Unity & Gnome-shell
Posts: 83
Original Poster
Rep:
|
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.
|
|
|
05-08-2015, 09:53 AM
|
#7
|
Member
Registered: Jun 2008
Location: Peterborough, Ontario, Canada
Distribution: Ubuntu 16.04, Unity & Gnome-shell
Posts: 83
Original Poster
Rep:
|
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
|
|
|
05-08-2015, 10:51 AM
|
#8
|
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,259
|
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.
|
All times are GMT -5. The time now is 07:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|