This page is a part of XLitePro online Help Manual.
|17. Font Control||< previous | content | next >|
If you plan to use MS Windows Fonts in the X-session, press the Pseudo fonts button in the Font Control tab in the Settings window. Then you can choose MS Windows fonts and assign aliases to them. This means creating pseudo fonts.
You can compile a pseudo font into the X11 format and save it in any font directory for later use. You can also create a pseudo font directly in the X-session on particular X client's font requests. To enable this, switch on the Use pseudo fonts and Create pseudo on X client request check boxes in the Pseudo fonts dialog box. Pseudo fonts created in the X-session will only become accessible after restarting XServer.
If you need some X font that is inaccessible, XServer allows you to use any MS Windows font instead of it. MS Windows fonts do not support X11 font naming conventions. Therefore, pseudo names (aliases) are used to access them. To use a MS Windows font, you should create a pseudo font for it, i.e. choose one and assign a desirable alias. Pseudo fonts can be created in advance or immediately in the X-session.
You can manage pseudo fonts by using the Pseudo fonts dialog box.
The Save button writes all changes to Pseudo Fonts Directory. This cannot be undone if you press Cancel in the Pseudo fonts dialog box or in the Font Control Tab afterwards.
MS Windows font specifications and aliases for Pseudo Fonts are stored in the Pseudo Fonts Directory. The Pseudo Fonts Directory, WINFONTS subdirectory, is located under the home directory (by default) of the software package.
To create a pseudo font, press the Create pseudo button in the Pseudo fonts dialog box. The Font dialog box will appear on your display. Select a suitable font and press OK. In the Specify alias for selected font box, enter a pseudo font alias and click OK.
The created pseudo font will appear in the Select pseudo font list box lexicographically ordered.
The alias must only contain alphanumeric characters (including the 'underscore' sign). The alias must be unique among existing pseudo fonts.
To view a pseudo font, select it in the Select pseudo font list box and click the View button. The Font sample window will appear with the font sample in it.
Note that the font image is displayed by the MS Windows (not by XServer). This option is for font identification only. To see how XServer displays a font image, you can use the 'xfd -fn <alias>' command in the X-session.
To delete a pseudo font, highlight it in the Select pseudo font list box and click the Delete pseudo button. You can delete more than one font at a time.
You should confirm removing each font and the total number of the selected fonts.
Loading pseudo fonts takes some time to create their images. Reading font image from the X11 format file is faster. It becomes essential if X client uses a lot of fonts. To prevent this time loss, you can save images of frequently used pseudo fonts in the X11-like format in your Pseudo Fonts Directory. This will require some disk space. To save the image, highlight the required font in the Select pseudo font list box and click the Compile into X11 button. In the Place X11 font to box, specify a font directory to store the X11 font file.
You can enter the font directory path in the Font directory edit field or use the Browse button to select it. If the specified directory is not the font directory (e.g., it is empty), then the fonts.dir file will be created in it.
You should confirm compiling each font. To use the font directory, include it into Font Path.
Pseudo fonts can be created immediately in the X-session on particular requests of X clients. If the requested font is not found, you will be prompted to create a new pseudo font. Creating pseudo fonts in the X-session is especially useful when you run X applications for the first time.
Creating pseudo fonts in an X-session is the same as in the Pseudo fonts dialog box. You can use the requested font name as the pseudo font alias. To enable creating pseudo fonts in the X-session, check on the Create pseudo on X client request check box. For batch X clients, it is preferable to disable the option to avoid interactive requests.
Unfortunately, pseudo fonts created on X client's requests become accessible only after restarting the X-session. In the current X-session, XServer uses the default font instead of requested one.
You can define whether to use pseudo fonts in the X-session or not.
To disable pseudo fonts, check off the Use pseudo fonts check box. Pseudo Fonts Directory will be removed from Font Path. XServer will only use X fonts. You will not be able to create pseudo fonts in the X-session.
To enable pseudo fonts, check on the Use pseudo fonts check box. The Pseudo fonts priority dialog box will appear.
You should define priority of Pseudo Fonts Directory among other font sources in Font Path. To insert Pseudo Fonts Directory into Font Path, select a position and use the Before selection or After selection buttons. XServer will use pseudo fonts as well as X fonts.
|17. Font Control||< previous | content | next >|
|Copyright © 1999 - 2009 LabtamTM Inc.|