home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
smallinf.zip
/
smallinf.doc
< prev
next >
Wrap
Text File
|
1994-05-16
|
3KB
|
85 lines
==================================================================
smallinf.doc patching fonts in INF files 16-May-1994
==================================================================
by Alexander Bell
@@@@@ @@@
@ @ @ @ @@ @ @ @ @ @ @@@@@@
@ @@ @@ @ @ @ @ @ @@ @ @
@@@@@ @ @@ @ @ @ @ @ @ @ @ @ @@@@@
@ @ @ @@@@@@ @ @ @ @ @ @ @
@ @ @ @ @ @ @ @ @ @ @@ @
@@@@@ @ @ @ @ @@@@@@ @@@@@@ @@@ @ @ @ (v.0.5)
Enclosed you'll find the following files:
- smallinf.doc This file
- smallinf.c Source for smallinf.exe
- smallinf.def Module definition file for smallinf.exe
- smallinf.exe 16-bit OS/2 program to patch INF files
- makefile Makefile (requires Nmake and MSC v.6.0a)
I always hated the large Courier Fonts in the Toolkit and C Set
INF files. This small utility will patch the font used for
Examples (typically Courier 18x11) to System VIO 9x6 (that's the
4pt font, presented as 10x6 by OS/2 windowed sessions). If you
want other changes, change the source. Be sure to make backups
of your INF files before using it. SmallInf was tested with the
INF files from Toolkit 2.1 and C Set++ 2.1.
Usage:
======
"SmallInf filename" - will change ever Courier font found in
"filename" to System VIO 9x6.
I've found no way to change the "default" font in the INF files
(System Proportional - default size) by patching the INF file. If
you know a way to do this please drop me a mail. But if you are
using 1024x768 you can patch your display driver to use 96dpi
instead of 120dpi fonts (or get 8514SML2.ZIP which includes a
patched version of 8514_32.DLL). The required patches are:
- Fontresolution:
78 00 00 00 -> 60 00 00 00 (this should be found 2 times)
- Fontnumber:
65 00 00 00 -> 64 00 00 00 (once)
and if you like, smaller Icons (32x32 instead of 40x40):
28 00 28 00 20 00 20 00 -> 20 00 20 00 20 00 20 00 (once)
other files of interest:
========================
INF02A.ZIP - OS/2 2.0 Information Presentation Facility (IPF)
Data Format - version 2
BEAV140.ZIP - the BEAV - Binary Editor And Viewer v.1.40
(without BEAV this program wouldn't exist)
FNTLST.ZIP - PM Font List Program (c) 1989, Charles Petzold
(diplays FONTMETRICS structeres for installed fonts)
(available from my BBS and ftp.cdrom.com)
author:
=======
Alexander Bell | "Information is not Knowledge
internet: albe@freax.fido.de | Knowledge is not Wisdom
fido: 2:242/9 & 2:242/49 | Wisdom is not Truth - Truth is not Beauty
bbs/fax: +49-241-604825 | Beauty is not Love - Love is not Music
isdn-bbs: +49-241-6080060 | Music is the BEST"
| Frank Zappa (@Joe's Garage)