home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
DESQVIEW
/
DVXTEC.ZIP
/
DOS2SCO.TEC
< prev
next >
Wrap
Text File
|
1992-03-31
|
5KB
|
110 lines
ID:F4 Porting DOS fonts to the SCO Open Desktop X Window System
Quarterdeck Technical Note #414
by Kris Williams & Mark Welinder
How to port DOS fonts to the SCO Open Desktop X Window System
This document explains the procedures for porting the DESQview/X DOS
fonts over to your SCO Open Desktop workstation. If you are or will be
running DOS applications to be displayed on your SCO workstation, it
would be more aesthetically correct to use the fixed DOS fonts which
where provided with DESQview/X.
To follow the steps covered in this document you will first need to have
installed DESQview/X, and configured your TCP/IP networking software on
both SCO Unix workstation, and the DOS DESQview/X PC. It is only
necessary to copy the font files to the SCO workstation once.
THE PROCEDURE
Is ODT (Open Desktop) configured on your SCO workstation? You will need
to determine whether or not the X Window System is installed on your SCO
workstation before continuing with this document.
Have you installed DESQview/X on your DOS PC? It is necessary to have
DESQview/X installed on the DOS machine before continuing with this
document. You may determine this by looking in the \DVX subdirectory
for the file DESQVIEW.DVO. If this file exists, DESQview/X is installed,
and you may continue. If not you will need to reference you DESQview/X
installation guide for before continuing.
CONVERTING THE FONT DESCRIPTION FILES
Before moving the PC fonts over to the SCO workstation, you will need to
convert the .bdf files to .snf files. This would be done by typeing the
following series of commands:
cd \DVX\BDF <─┘
..\bdftosnf pc8x8.bdf > pc8x8.snf
..\bdftosnf pc8x14.bdf > pc8x14.snf
..\bdftosnf pc8x16.bdf > pc8x16.snf
TRANSFERING THE FONT DEFINITION FILES
If you haven't yet configured FTP's PCTCP software you'll need to
reference the green PCTCP manual before continuing with this document.
You will need to switch to the \FTP subdirectory on the DOS machine
where the PCTCP software is configured. This may be done with the
following command:
C:\> cd \ftp <─┘
Then we'll use the FTP (File Transfere Protocol) utility to move the
font description files up to the SCO workstation. This can be done with
the following commands:
C:\FTP> ftp <─┘
ftp> login: <username> <─┘
ftp> password: <password> <─┘
ftp> mput \DVX\BDF\pc*.snf <─┘
ftp> quit <─┘
In the above command <username> would be your username on the SCO
workstation, and <password> is the password required for <username> to
successfully log on to the SCO. After these commands are performed, the
font description files are ready to be aliased, and used by the X Window
System on the SCO workstation.
ALIASING THE FONTS
ODT-VIEW lets you assign aliases to fonts so that you can refer to a
font without having to type it's full name. To create a font alias,
follow the following steps:
1. Log into the system as root.
2. Create a file named fonts.alias if it doesn't already exist in the
directory that contains the full font name. Usually, this directory is
called either 75dpi, 100dpi or misc in the /usr/lib/X11/fonts
subdirectory. This directory must be in the search path.
3. Edit fonts.alias so that it contains at least one line with the
following format:
fontname aliasname
In this line, fontname is the fullname of the font, and aliasname is
the name that is used to reference this font. So, to add the pc
fonts to this alias list, you will need to append the following
lines to the fonts.alias file:
-quarterdeck-fixed-bold-r-normal--8-80-75-75-c-80-iso8859-1 pc8x8.snf
-quarterdeck-fixed-bold-r-normal--14-140-75-75-c-80-iso8859-1 pc8x14.snf
-quarterdeck-fixed-bold-r-normal--16-160-75-75-c-80-iso8859-1 pc8x16.snf
4. If you performed step 3 from an X session, you must reset the
server's font search path. You can do this either by stopping ODT-VIEW
and then restarting it, or by entering the following command from and
odtterm window:
xset fp rehash
If you performed step 3 directly from the operating system command line
(and ODT-VIEW was not running), there is no need to reset the server.
The changes that you made to the fonts.alias file are incorporated
automatically the next time you start ODT-VIEW.
Copyright (C) 1991 by Quarterdeck Office Systems
* * * E N D O F F I L E * * *