home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / smallinf.zip / smallinf.doc < prev    next >
Text File  |  1994-05-16  |  3KB  |  85 lines

  1. ==================================================================
  2. smallinf.doc     patching fonts in INF files           16-May-1994
  3. ==================================================================
  4.                                                  by Alexander Bell
  5.  
  6.  @@@@@                                    @@@
  7. @     @  @    @    @@    @       @         @     @    @  @@@@@@
  8. @        @@  @@   @  @   @       @         @     @@   @  @
  9.  @@@@@   @ @@ @  @    @  @       @         @     @ @  @  @@@@@
  10.       @  @    @  @@@@@@  @       @         @     @  @ @  @
  11. @     @  @    @  @    @  @       @         @     @   @@  @
  12.  @@@@@   @    @  @    @  @@@@@@  @@@@@@   @@@    @    @  @ (v.0.5)
  13.  
  14. Enclosed you'll find the following files:
  15.  
  16. - smallinf.doc        This file
  17. - smallinf.c        Source for smallinf.exe
  18. - smallinf.def          Module definition file for smallinf.exe
  19. - smallinf.exe        16-bit OS/2 program to patch INF files
  20. - makefile        Makefile (requires Nmake and MSC v.6.0a)
  21.  
  22. I always hated the large Courier Fonts in the Toolkit and C Set
  23. INF files. This small utility will patch the font used for
  24. Examples (typically Courier 18x11) to System VIO 9x6 (that's the
  25. 4pt font, presented as 10x6 by OS/2 windowed sessions). If you
  26. want other changes, change the source. Be sure to make backups
  27. of your INF files before using it. SmallInf was tested with the
  28. INF files from Toolkit 2.1 and C Set++ 2.1.
  29.  
  30. Usage:
  31. ======
  32. "SmallInf filename" - will change ever Courier font found in 
  33.                       "filename" to System VIO 9x6. 
  34.  
  35. I've found no way to change the "default" font in the INF files
  36. (System Proportional - default size) by patching the INF file. If
  37. you know a way to do this please drop me a mail. But if you are 
  38. using 1024x768 you can patch your display driver to use 96dpi 
  39. instead of 120dpi fonts (or get 8514SML2.ZIP which includes a 
  40. patched version of 8514_32.DLL). The required patches are:
  41.  
  42. - Fontresolution:
  43.  
  44. 78 00 00 00 -> 60 00 00 00 (this should be found 2 times)
  45.  
  46. - Fontnumber:
  47.  
  48. 65 00 00 00 -> 64 00 00 00 (once)
  49.  
  50. and if you like, smaller Icons (32x32 instead of 40x40):
  51.  
  52. 28 00 28 00 20 00 20 00 -> 20 00 20 00 20 00 20 00 (once)
  53.  
  54. other files of interest:
  55. ========================
  56.  
  57. INF02A.ZIP  - OS/2 2.0 Information Presentation Facility (IPF) 
  58.               Data Format - version 2
  59.  
  60. BEAV140.ZIP - the BEAV - Binary Editor And Viewer v.1.40
  61.               (without BEAV this program wouldn't exist)
  62.  
  63. FNTLST.ZIP  - PM Font List Program (c) 1989, Charles Petzold
  64.               (diplays FONTMETRICS structeres for installed fonts)
  65.  
  66. (available from my BBS and ftp.cdrom.com)
  67.  
  68.  
  69. author:
  70. =======
  71.  
  72. Alexander Bell               | "Information is not Knowledge                  
  73. internet: albe@freax.fido.de |  Knowledge is not Wisdom                       
  74. fido:     2:242/9 & 2:242/49 |  Wisdom is not Truth - Truth is not Beauty     
  75. bbs/fax:  +49-241-604825     |  Beauty is not Love -  Love is not Music       
  76. isdn-bbs: +49-241-6080060    |  Music is the BEST"                            
  77.                              |                     Frank Zappa (@Joe's Garage)
  78.  
  79.           
  80.  
  81.  
  82.  
  83.  
  84.  
  85.