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:

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:
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 12:16 PM 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 05:53 PM GMT #
thanks for the information
Posted by Diş Sağlığı on June 25, 2009 at 05:58 PM GMT #
Thanks ...
Posted by Fragmanlar on June 25, 2009 at 05:59 PM 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 03:05 PM 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 04:41 PM GMT #