Labtam
Labtam-inc.com
sitemaphomecontact us
Home -> FAQs -> XSecurePro

Frequently Asked Questions

FAQs : XSecurePro
Problem
Is it possible to convert fonts used in Motif to be used with X-SecurePro (the fonts with the .pcf suffix)?
Answer

Solution: Yes, it is. You should create a directory for .pcf files, create the fonts.dir and fonts.ali files in it, and add the corresponding item to FontPath (the Priority ordered path box) by using the Xsettings utility. XServer makes use of .pcf fonts the same way as .snf fonts.

You can enable Trace Fonts Requests in XSettings to find out fonts that are absent (from the xserver.out file).

There are several ways to add fonts to X-SecurePro (see Chapter Font Control):

1) connect to a remote FontServer which provides fonts you need.

You can launch the XSettings utility, press the FontPath button, enter your FontServer specification in the Font directory field, select a font server specification in the Priority ordered path box, and Insert the Font directory into the path list before/after the selected item.

A font server specification for TCP/IP has the following format:

tcp/name:port

where 'name' is the network name or IP address of the machine running the font server; 'port' is the remote port which the font server is listening to. This is usually 7100, but check up it with your System Administrator. For example, the following specifies a font server named 'fsHost' on port 7100:

tcp/fsHost:7100

You can include more than one font server specification into the FontPath list.

For MS Windows NT, you should add a line with the FontServer name and IP address into the WinNT's hosts file c:\WINNT\System32\Drivers\ETC\hosts.

Also, you should add the path to DIRECTORY_WITH_NECESSARY_FONTS into the config-file, /usr/openwin/lib/X11/fontserver.cfg, of the font server (to the line "catalogue =").

2) copy fonts you need (.snf or .pcf files only) into a directory on your PC and include its name into the FontPath list.

You can launch the XSettings utility, press the FontPath button, enter the directory name in the Font directory field or select it by using Browse, select a font server specification in the Priority ordered path box, and Insert the Font directory into the path list before/after the selected item.

Note that XServer can only use uncompressed .pcf and .snf files.

3) use XSettings' PSEUDO fonts feature to emulate X-fonts with MS Windows fonts which actually exist on your PC.

4) create aliases for fonts you need in a directory to substitute them with MS Windows fonts which actually exist on your PC and include the directory name into the FontPath list.

For example, the 'sun-fontspecific' fonts may be substituted with the 'adobe-fontspecific' fonts.

5) edit the fonts.ali file in any existing font directory and create aliases for absent fonts to substitute them with existing fonts.

Of course, the first and second ways are preferable.

You can try to run the command line

fsinfo -server fontserverhost:portnumber

If you get the following message:

'/usr/openwin/bin/fsinfo: unable to open server "fontserverhost:portnumber'

then check:

1) that the following font server line is present in the /etc/services file:

fs 7100/tcp # Font server

2) that this port (7100 in our case) is being listened on;

run the following command on your host:

netstat -an|grep 7100

If you do not get any answer then check configuration of the X font server on your host.

.
Back to list


Home | Products | Download | Order Now | Upgrade | Support | Pricing | Company Information | Contact Us


Labtam Copyright 1999 - 2017 LabtamTM Inc.