view demos/pychan_demo/fonts/freefont/INSTALL @ 697:ecaa4d98f05f tip

Abstracted the GUI code and refactored the GUIChan-specific code into its own module. * Most of the GUIChan code has been refactored into its own gui/guichan module. However, references to the GuiFont class still persist in the Engine and GuiManager code and these will need further refactoring. * GuiManager is now an abstract base class which specific implementations (e.g. GUIChan) should subclass. * The GUIChan GUI code is now a concrete implementation of GuiManager, most of which is in the new GuiChanGuiManager class. * The GUI code in the Console class has been refactored out of the Console and into the GUIChan module as its own GuiChanConsoleWidget class. The rest of the Console class related to executing commands was left largely unchanged. * Existing client code may need to downcast the GuiManager pointer received from FIFE::Engine::getGuiManager() to GuiChanGuiManager, since not all functionality is represented in the GuiManager abstract base class. Python client code can use the new GuiChanGuiManager.castTo static method for this purpose.
author M. George Hansen <technopolitica@gmail.com>
date Sat, 18 Jun 2011 00:28:40 -1000
parents 64738befdf3b
children
line wrap: on
line source

                          Installing GNU FreeFont
                          =======================

GNU FreeFont can be used in any modern operating system.

This document explains how to install FreeFont on some common systems.

UNIX/GNU/Linux/BSD Systems
--------------------------

FreeFont works with any system using the free font rasterizer FreeType
<http://www.freetype.org/>.

* Debian GNU/Linux

Users of Debian GNU/Linux system will probably want to use the Debian package,
available from the Debian site, 

	<http://packages.debian.org/unstable/x11/ttf-freefont.html>,

or any of its mirrors.

Install them by issuing the command
	apt-get install ttf-freefont


* KDE local installation

Users of KDE can install .ttf files on a per-user basis using the KDE 
Control Center module "kcmfontinst", which may appear in the menu as

	Settings -> System Administration -> Font Installer

This is especially helpful for developers and testers.


* Generic X-windows

	1) Fetch the freefont-ttf.tar.gz package with Free UCS outline fonts
	   in the TrueType format.

	2) Unpack TrueType fonts into a suitable directory,
	   e.g. /usr/local/share/fonts/default/TrueType/

	3) If you have chosen any other directory, make sure the directory you
	   used to install the fonts is listed in the path searched by the X
	   Font Server by editing the config file in /etc/X11/.

	   In some systems, you list the directory in the item "catalogue="
	   in the file /etc/X11/fs/config.

	4) Run ttmkfdir in the directory where you unpacked the fonts.


Windows 95/98/NT/2000/XP; Vista
-------------------------------

Note that in at least Vista, XP and 2000, the OpenType versions perform much
better than, and are recommended over, the TrueType ones.

* Vista:
	1) From the Start menu, open Control Panels
	2) Drag-n-drop font files onto Fonts control panel
           You may get a dialog saying
        	"Windows needs your permission to continue"
	   a) Click Continue

* 95/98/NT:
	The font installation is similar to Vista.

	In order to use OpenType, users of Windows 95, 98 and NT 4.0 can
	install Adobe's 'Type Manager Light'.  It is available for download
	without cost from Adobe's web site.

	Otherwise, use the TrueType versions.

Mac OS X
--------

Installing on Mac OS X consists of moving the .ttf files to either
	/Library/Fonts/  or  ~/Library/Fonts/
depending on whether they should be available to all users on your system
or just to yourself.

--------------------------------------------------------------------------
$Id: INSTALL,v 1.7 2008/12/26 12:33:31 Stevan_White Exp $