home *** CD-ROM | disk | FTP | other *** search
- There is a mistake in FD_32 (in the library). The structure for
- TextMetric was changed (the variables were shuffled somewhat) from
- 16 bit windows API to 32 bit windows API and I didn't catch it.
- The changes are below the values most people use so I didn't notice it
- until I was chasing a bug and checking things like this out. The
- corrected structure follows:
- ********************************************************************
- c*tagtextmetric
- structure /tagTextMetric/
- integer*4 tmHeight
- integer*4 tmAscent
- integer*4 tmDescent
- integer*4 tmInternalLeading
- integer*4 tmExternalLeading
- integer*4 tmAveCharWidth
- integer*4 tmMaxCharWidth
- integer*4 tmWeight
- integer*4 tmOverhang
- integer*4 tmDigitizedAspectX
- integer*4 tmDigitizedAspectY
- INTEGER*1 tmFirstChar
- INTEGER*1 tmLastChar
- INTEGER*1 tmDefaultChar
- INTEGER*1 tmBreakChar
- INTEGER*1 tmItalic
- INTEGER*1 tmUnderlined
- INTEGER*1 tmStruckOut
- INTEGER*1 tmPitchAndFamily
- INTEGER*1 tmCharSet
- end structure
-