Changeset 210 for trunk/Components/CanvasFontManager.pas
- Timestamp:
- Jun 13, 2007, 8:31:36 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Components/CanvasFontManager.pas
r188 r210 5 5 Uses 6 6 OS2Def, 7 Classes, Forms, PMWIN, Graphics; 7 Classes, 8 Forms, 9 PMWIN, 10 Graphics; 8 11 9 12 Const … … 137 140 PmDev, 138 141 SysUtils, 139 ACLStringUtility;142 StringUtilsUnit; 140 143 141 144 Imports … … 246 249 Face := FontFaces[ FaceIndex ]; 247 250 248 if Str ingsSame( Face.pName^, Name ) then251 if StrEqualIgnoringCase( Face.pName^, Name ) then 249 252 begin 250 253 Result := Face; … … 480 483 function SubstituteBitmapFontToOutline( const FaceName: string ): string; 481 484 begin 482 if Str ingsSame( FaceName, 'Helv' ) then485 if StrEqualIgnoringCase( FaceName, 'Helv' ) then 483 486 result := 'Helvetica' 484 else if Str ingsSame( FaceName, 'Tms Rmn' ) then487 else if StrEqualIgnoringCase( FaceName, 'Tms Rmn' ) then 485 488 result := 'Times New Roman' 486 else if Str ingsSame( FaceName, 'System Proportional' ) then489 else if StrEqualIgnoringCase( FaceName, 'System Proportional' ) then 487 490 result := 'Helvetica' 488 else if Str ingsSame( FaceName, 'System Monospaced' ) then491 else if StrEqualIgnoringCase( FaceName, 'System Monospaced' ) then 489 492 result := 'Courier' 490 else if Str ingsSame( FaceName, 'System VIO' ) then493 else if StrEqualIgnoringCase( FaceName, 'System VIO' ) then 491 494 result := 'Courier' 492 495 else
Note:
See TracChangeset
for help on using the changeset viewer.