diff --git a/src/base/TextGL.pas b/src/base/TextGL.pas index 0a8f9b60a..3071ebc38 100644 --- a/src/base/TextGL.pas +++ b/src/base/TextGL.pas @@ -136,8 +136,8 @@ procedure LoadFontFamilyNames; SetLength(FontFamilyNames, 0); for FontNameIndex := 0 to FontSections.Count-1 do begin - //if (Sections[FontNameIndex].StartsWith('Font_')) then // .StartsWith() does not compile on Travis-CI - if (LeftStr(FontSections[FontNameIndex], 5) = 'Font_') then + if (FontSections[FontNameIndex].StartsWith('Font_')) then // .StartsWith() does not compile on Travis-CI + //if (LeftStr(FontSections[FontNameIndex], 5) = 'Font_') then begin SetLength(FontFamilyNames, Length(FontFamilyNames) + 1); //FontFamilyNames[FontNameIndex] := FontIni.ReadString(Sections[FontNameIndex], 'Name', Sections[FontNameIndex].Remove(0, 5)); // .Remove() does not compile on Travis-CI