Howto: Use OS-X-fonts in Mint

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

Howto: Use OS-X-fonts in Mint

Postby Ede on Tue Jun 26, 2007 8:46 pm

I find the fonts in Os-X to be very pretty. =) And all props to Apple, since they give out their fonts for free!!

Step 1: Get the fonts.

Apple is so nice when it comes to fonts.
http://www.osx-e.com/downloads/misc/macfonts.html

Freeware Mac-fonts!

Step 2: Extract and add to /fonts/.

Extract the file onto your desktop or some other place.
Navigate into the fonts-folder you extracted with terminal.
Code: Select all
cd Desktop/Fonts

Make 2 dir's in the /usr/share/fonts-folders
Code: Select all
sudo mkdir /usr/share/fonts/truetype/ttf-os-x
sudo mkdir /usr/share/fonts/type1/os-x

I make 2 dir's, because the fonts comes in two filetypes. .ttf and .pfb. I just like to sort them, I don't think it really matters. :3

Copy!
Code: Select all
sudo cp *.ttf /usr/share/fonts/truetype/ttf-os-x
sudo cp *.TTF /usr/share/fonts/truetype/ttf-os-x
sudo cp *.PFB /usr/share/fonts/type1/os-x

Now, log out and log inn or restart X for the changes to take effect.

Find the font-configuration-menu. You can use terminal;
Code: Select all
gnome-font-properties

If you use terminal, do not use sudo.

Os-x uses Lucida MAC size 9/10 by default. Set this onto Application font, Document font, Desktop font, Window title font, but not Fixed width font, unless you want your terminal to look messed up.

Press the 'Details'-button in the lower right corner.
Choose Grayscale-smoothing, and for hinting, I use none. You could probably find something that suits you.

Screenshot of my mint-desktop with mac-fonts:
Image

Ah, seems like I'm getting married this year! :D
User avatar
Ede
Level 4
Level 4
 
Posts: 294
Joined: Thu Jun 14, 2007 7:02 pm
Location: Norway

Linux Mint is funded by ads and donations.
 

Postby speaker219 on Tue Jun 26, 2007 10:25 pm

Great guide!
no offense, but i just don't like using these kinds of fonts, because it makes alot of sites look crappy (even in the screenshot you can see the writing is messed up) i prefer my windows fonts although i love mint/linux!
speaker219
Level 2
Level 2
 
Posts: 56
Joined: Tue Jun 19, 2007 4:54 pm

Postby Ede on Wed Jun 27, 2007 12:16 am

Thanks. =)

I hate the windows-fonts. On my windows-machine, I'we changed everything that can be changed of fonts. I prefer smoother fonts, like the ones in os-x.
The reason the sites get messed up is because of the size. Default size is 9, I use 10 on the screenshot. That's because my laptop sucks, and fonts around size 9 gets messed up in the hinting.
User avatar
Ede
Level 4
Level 4
 
Posts: 294
Joined: Thu Jun 14, 2007 7:02 pm
Location: Norway

Postby speaker219 on Wed Jun 27, 2007 1:10 am

I just did your mac fonts howto and the fonts look great =) most sites look alot better than with the regualar fonts =)
speaker219
Level 2
Level 2
 
Posts: 56
Joined: Tue Jun 19, 2007 4:54 pm

Postby carlos on Wed Jun 27, 2007 11:48 am

Also a big consideration is the use the Liberation fonts from Red hat: THEY ARE OPENSOURCE and and alternative to the windows fonts https://www.redhat.com/promo/fonts/

I'm not sure but maybe Clem can bundle them and make it the default in for mint. That can take care of any windows font needs. As for the mac fonts, they look great. Especially since I have to use a mac at work, I've gotten quite used to see them. Nice write up.
____________ ________ ______ ____ ___ __ __ _
http://www.designdrifter.com
The Purpose of Life is for DNA to reproduce.
User avatar
carlos
Level 5
Level 5
 
Posts: 526
Joined: Thu Dec 14, 2006 4:30 pm
Location: USA

Postby speaker219 on Wed Jun 27, 2007 12:03 pm

Great howto, even better than mine... :P i'm keeping them, they look much smoother.
speaker219
Level 2
Level 2
 
Posts: 56
Joined: Tue Jun 19, 2007 4:54 pm

Postby speaker219 on Wed Jun 27, 2007 8:45 pm

Here is a screenshot of my new os-x-ified desktop =) the fonts are very smooth and easy on the eyes:
(click to enlarge)
Image
speaker219
Level 2
Level 2
 
Posts: 56
Joined: Tue Jun 19, 2007 4:54 pm

Postby facade47 on Thu Jun 28, 2007 3:41 am

Awesome! I've been using those fonts for a while now :D

I think it's also possible to cut and paste the files into "fonts:///" (no quotes) in nautilus
User avatar
facade47
Level 3
Level 3
 
Posts: 152
Joined: Fri Feb 16, 2007 4:46 am

Postby Ede on Thu Jun 28, 2007 4:28 am

facade47 wrote:I think it's also possible to cut and paste the files into "fonts:///" (no quotes) in nautilus

Nope. You'd need root-powers. You 'could' open nautilus in sudo, but that's generally a bad idea. :3
User avatar
Ede
Level 4
Level 4
 
Posts: 294
Joined: Thu Jun 14, 2007 7:02 pm
Location: Norway

Postby facade47 on Thu Jun 28, 2007 4:30 am

Haha no no i definitely didn't suggest opening sudo nautilus :P
User avatar
facade47
Level 3
Level 3
 
Posts: 152
Joined: Fri Feb 16, 2007 4:46 am

Postby mayku on Wed Jul 04, 2007 12:04 pm

speaker219 wrote:Here is a screenshot of my new os-x-ified desktop =) the fonts are very smooth and easy on the eyes:
(click to enlarge)
Image


LoL it's easier to read something, looks really well.
User avatar
mayku
Level 2
Level 2
 
Posts: 50
Joined: Tue May 22, 2007 4:26 pm

error trying to select Lucida Mac

Postby hans123 on Thu Jul 05, 2007 4:17 pm

First of all, thanks for the How-to. I could follow it until the point where the Application font is to be changed. That is where the following error shows:

(gnome-font-properties:7269): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Lucida MAC Not-Rotated 9'

(gnome-font-properties:7269): Pango-WARNING **: pango_font_get_glyph_extents called with null font argument, expect ugly output

The preview of the type is a series of empty squares.

What is going on here? Thanks for your help!
hans123
Level 1
Level 1
 
Posts: 14
Joined: Mon Jun 11, 2007 11:15 am

error trying to select Lucida Mac / solved

Postby hans123 on Thu Jul 05, 2007 4:28 pm

Oops! Never Mind. I found it myself, it is caused by Permissions: the new Type files should have read permissions for Others (not just root)
hans123
Level 1
Level 1
 
Posts: 14
Joined: Mon Jun 11, 2007 11:15 am

Postby hairy_Palms on Sat Jul 07, 2007 4:25 am

you can just copy them into fonts:/// if your not root then it will copy them into your ~/.fonts directory.
User avatar
hairy_Palms
Level 4
Level 4
 
Posts: 297
Joined: Mon Nov 27, 2006 10:46 am

Postby MartinRF on Sun Jul 22, 2007 2:37 pm

Free fonts manifesto:
http://www.elupton.com/index.php?id=17

/Martin
User avatar
MartinRF
Level 1
Level 1
 
Posts: 42
Joined: Wed Jun 20, 2007 12:16 pm
Location: Sweden

Postby blu3ness on Thu Nov 15, 2007 12:53 pm

Hey, great guide :lol:

I find using the following .fonts.conf makes the Mac fonts display even better, it basically turns on slight hinting for other fonts other than Lucida Mac, I use consolas as the monospace font and Segoe UI as desktop fonts etc.

Code: Select all
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="font" >
  <edit name="hintstyle" >
   <const>hintslight</const>
  </edit>
  <edit name="autohint" >
   <bool>true</bool>
  </edit>
  <edit name="rgba" >
   <const>rgb</const>
  </edit>
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font" >
  <test name="family" qual="any" >
   <string>Lucida MAC</string>
  </test>
  <edit name="hinting" >
   <bool>false</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="rgba" >
   <const>rgb</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hintstyle" >
   <const>hintslight</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>
User avatar
blu3ness
Level 1
Level 1
 
Posts: 44
Joined: Sun Oct 28, 2007 1:07 am

Re: Howto: Use OS-X-fonts in Mint

Postby mockturtle on Fri Oct 08, 2010 10:11 pm

The original link to the fonts now takes you to some shady sharecash site that asks you to input personal information in order to get the download. I found a site that links to two less shady mirrors: http://www.webupd8.org/2010/06/how-to-i ... ts-in.html

Direct mirror links:
http://freestorage.ro/2tvmlx1ydcr0/macfonts.tar.gz.html
http://www1.usbupload.com/22995_macfontszip.usb
mockturtle
Level 1
Level 1
 
Posts: 4
Joined: Thu Dec 18, 2008 10:55 pm

Linux Mint is funded by ads and donations.
 

Return to Tutorials / Howtos

Who is online

Users browsing this forum: anonymous9001 and 12 guests