[Previous] [Contents] [Index] [Next]

fontadmin

Font configuration utility

Syntax:

fontadmin [-c config_directory] [-d font_directory]

Options:

-c config_directory
-d font_directory
-S i|m|n
Initial window state (iconified, maximized, or normal).

Description:

You can use the fontadmin utility to configure your fonts under Photon:

The fontadmin utility lets you specify mappings from one font name to another, which is useful if a certain font isn't installed. The Mappings panel looks like this:

Mappings panel

You can also specify some options:

Options panel

These options apply to all fonts:

Always Anti-Alias
If enabled, you should get crisp, clean output on the screen, at practically any resolution.
Strict International Support
If enabled, the font manager uses the missing glyph, and the font family, style, and size to locate a font to provide a substitute glyph. If this option is disabled, only the missing glyph is used to locate a substitute.

Enabling this option may provide more uniform text output, but it significantly decreases performance.

Options specific to rendering plugins.

Rendering plugin options are organized into schemas. A schema contains sections identified by a particular DLL identification name. Each section contains the rendering options pertaining to the particular section. By default, there is a schema by the name 'server'. The 'server' schema contains all options for the font server, and cannot be removed, though the options can be modified. You will notice an optional schema named 'dll', when expanded, only contains the 'Cache' option under each section. These options will override the default option values. Optional schemas are not applied over top of the 'server' schema, though by default, the 'server' schema contains the same option values as default for the rendering plugins. Therefore, if you make a change to an option within a section of the 'server' schema, and you want that change to apply to all the schemas, you must add/modify that option within the particular section of the other schemas. The 'dll' schema is the schema used by a font server (see phfont) when instantiated as a client side instance (see PfAttachLocalDll). Schemas are used by the following libfont API calls: PfAttachLocalDll, PfSetOptionsDll. Schemas allow a client side application to invoke a private font instance WITH options tailored for the particular application.

Adding a new schema

To add a new schema, click on the + icon, then enter the schema name into a dialog.

Removing a schema

To remove a schema, either click on the - icon, or click on the schema name to gain focus. Then right click on the schema name and select Remove Schema from the menu. To remove a schema, it must be empty of all sections and options.

Adding a section

To add a section to a schema, double click on the schema name. From the dialog that appears, select from the list of valid sections which may be added to the schema.

Removing a section

To remove a section, click on its section name to gain focus. Then right click on the section name, and select Remove Section from the menu.


Note: If you remove a section which contains options, the options are also removed.

Adding an option

To add an option to a section, double click on the section name. From the dialog that appears, select an option from the list.

Removing an option

To remove an option, click on the option name to gain focus. Then right click on the option name, and select Remove Option from the menu.

Modify an option

To modify an option, double click on the option name. A dialog appropriate to the option is displayed.


Note: When modifying an option within the server schema, the changes are in real time. If you wish to undo any changes, you should revert to the previous value before selecting Done.

Asian Font Selection

The Asian Identification panel lets you identify and select the Asian font you prefer:

Asian Identification panel

Keyword:
This box lets you add and remove keywords. Keywords are substrings used by the font subsystem to identify fonts, by foundry name (e.g. HonMincho BT), which can be used to display symbols in the following Unicode ranges:

For example, if a font with the foundry name PrimaSans BT was installed, and a keyword of Prima existed, the font PrimaSans BT would be tagged by the font subsystem for use in Asian symbol lookup. This makes identifying Asian (CJK) symbols faster because the font subsystem needs to check only specified fonts rather than all installed fonts.

Preferred Asian Font:
By default, the font subsystem organizes all extension fonts in order of largest to smallest Unicode range, to minimize font swapping. If you want to use a specific Asian font before any other one, select it from the supplied list.

See also:

phfont

Using the Photon microGUI and Configuring Your Environment in the Neutrino User's Guide


[Previous] [Contents] [Index] [Next]