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?
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
thanks for the information
Thanks ...
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
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.
This article is awesome. Sadly your link to Oracle blog is gone. Would update to the link be too much to ask for future googlers?