Changeset 250
- Timestamp:
- Sep 21, 2007, 5:55:56 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/Components/CustomFontDialog.PAS ¶
r214 r250 138 138 139 139 if Result = 'Roman' then 140 if StrStartsWithIgnoringCase( 'Tms Rmn', Font.FaceName) then140 if StrStartsWithIgnoringCase(Font.FaceName,'Tms Rmn') then 141 141 // one particularly stupid example 142 142 Result := 'Tms Rmn'; 143 143 144 144 if Result = 'Swiss' then 145 if StrStartsWithIgnoringCase( 'Helv', Font.FaceName) then145 if StrStartsWithIgnoringCase(Font.FaceName, 'Helv') then 146 146 // one particularly stupid example 147 147 Result := 'Helv'; … … 161 161 162 162 FamilyName := GetFontFamilyName( Font ); 163 if StrStartsWithIgnoringCase( FamilyName, Result) then163 if StrStartsWithIgnoringCase(Result, FamilyName) then 164 164 begin 165 165 Result := StrSubstringFrom( Result, length( FamilyName ) + 1 );
Note:
See TracChangeset
for help on using the changeset viewer.