home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / fortran / mslang / prefor / read_me.txt < prev    next >
Encoding:
Text File  |  1994-01-24  |  1.2 KB  |  31 lines

  1. There is a mistake in FD_32 (in the library).  The structure for
  2. TextMetric was changed (the variables were shuffled somewhat) from
  3. 16 bit windows API to 32 bit windows API and I didn't catch it.
  4. The changes are below the values most people use so I didn't notice it
  5. until I was chasing a bug and checking things like this out.  The
  6. corrected structure follows:
  7. ********************************************************************
  8. c*tagtextmetric
  9.        structure /tagTextMetric/
  10.           integer*4 tmHeight
  11.           integer*4 tmAscent
  12.           integer*4 tmDescent
  13.           integer*4 tmInternalLeading
  14.           integer*4 tmExternalLeading
  15.           integer*4 tmAveCharWidth
  16.           integer*4 tmMaxCharWidth
  17.           integer*4 tmWeight
  18.           integer*4 tmOverhang
  19.           integer*4 tmDigitizedAspectX
  20.           integer*4 tmDigitizedAspectY
  21.           INTEGER*1 tmFirstChar
  22.           INTEGER*1 tmLastChar
  23.           INTEGER*1 tmDefaultChar
  24.           INTEGER*1 tmBreakChar
  25.           INTEGER*1 tmItalic
  26.           INTEGER*1 tmUnderlined
  27.           INTEGER*1 tmStruckOut
  28.           INTEGER*1 tmPitchAndFamily
  29.           INTEGER*1 tmCharSet
  30.        end structure
  31.