TrueType Fonts

As a user of OpenSolaris you may be wondering why it's missing all the popular fonts such as Arial, Times New Roman and the ever popular Wingdings. The license for these fonts prohibit their distribution with the operating system, however, they are freely available to you in the extra repository.

If you haven't yet set up the extra repository, take a moment and do so because it has other goodies like Flash, VirtualBox and the JavaFX SDK.

Once you have the extra repository added, the additional fonts are in the ttf-fonts-core package:

bleonard@opensolaris:~$ pkg info -r ttf-fonts-core
          Name: system/font/truetype/ttf-fonts-core
       Summary: Core desktop and document TrueType fonts
      Category: System/Fonts
         State: Not installed
     Publisher: extra
       Version: 1.0
 Build Release: 5.11
        Branch: 0.111
Packaging Date: Fri Apr  3 19:46:26 2009
          Size: 16.10 MB
          FMRI: pkg://extra/system/font/truetype/ttf-fonts-core@1.0,5.11-0.111:20090403T194626Z

The list of fonts includes:

To install them:
bleonard@opensolaris:~$ pfexec pkg install ttf-fonts-core
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                    1/1       84/84     9.49/9.49 

PHASE                                        ACTIONS
Install Phase                                  98/98 
PHASE                                          ITEMS
Reading Existing Index                           8/8 
Indexing Packages                                1/1

Then use them:


Comments:

hello,
after doing it on my machine and rebooting, all applications's fonts have changed! gnome-terminal, thunderbird, etc...
Is it normal?

Posted by gerard on June 18, 2009 at 05:16 AM GMT #

Yes, that is expected. These are the default fonts in SXCE and when installing to OpenSolaris, they become the default too.

You can modify their priority by altering the number in the following symlink name: /etc/X11/fontpath.d/core:pri=35

Posted by Jan Hnatek on June 18, 2009 at 10:53 AM GMT #

thanks for the information

Posted by Diş Sağlığı on June 25, 2009 at 10:58 AM GMT #

Thanks ...

Posted by Fragmanlar on June 25, 2009 at 10:59 AM GMT #

On 2008.11, I get a conflict error. Any ideas if I can work around this?
=====
$ pfexec pkg install ttf-fonts-core
Creating Plan -
pkg: the following package(s) violated constraints:
Package pkg:/SUNWxwplr@0.5.11,5.11-0.111 conflicts with constraint in installed pkg:/entire:
Pkg SUNWxwplr: Optional min_version: 0.5.11,5.11-0.101 max version: 0.5.11,5.11-0.101 defined by: pkg:/entire
===
Thanks
Mike

Posted by mike004 on July 30, 2009 at 08:05 AM GMT #

Hi Mike,

You'll have this issue with any package you try to install until you upgraded to 2009.06. The solution is to specify the version you which to install, which you can find by running "pkg list -fav <package name>". For ttf-core-fonts, this returns:

bleonard@opensolaris:~$ pkg list -fav --no-refresh ttf-fonts-core
FMRI STATE UFIX
pkg://extra/system/font/truetype/ttf-fonts-core@1.0,5.11-0.111:20090403T194626Z installed ----
pkg://extra/system/font/truetype/ttf-fonts-core@1.0,5.11-0.101:20090402T232736Z known u---

So the following should work for you:

pfexec pkg install ttf-fonts-core@1.0,5.11-0.101

Posted by Brian Leonard on July 30, 2009 at 09:41 AM GMT #

Hello,

I cannot install the ttf-fonts-core packages on my build 129 OpenSolaris 2009.06.
Error message below.
Any idea ???

# pkg install ttf-fonts-core
DOWNLOAD PKGS FILES XFER (MB)
Completed 754/754 22932/22932 342.6/342.6

pkg: Requested "install" operation would affect files that cannot be modified in live image.
Please retry this operation on an alternate boot environment.

Posted by Christophe Pauliat on January 20, 2010 at 08:23 AM GMT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

The Observatory is a blog for users of Oracle Solaris. Tune in here for tips, tricks and more as we explore the Solaris operating system from Oracle.

Connect with Oracle Solaris:


Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
20
21
22
23
24
25
26
27
28
29
30
   
       
Today