]> git.lyx.org Git - features.git/blobdiff - development/autotests/useSystemFonts.pl
Cmake tests: Handle windows line endings
[features.git] / development / autotests / useSystemFonts.pl
index 843a3d4f0912dc2d4d4a0f3b2e9b78d0994d804a..e1b17648a795d5922c4604f7ae6c366546362c9b 100644 (file)
@@ -206,7 +206,8 @@ sub interpretedCopy($$$$)
   initLyxStack(\%font, $fontT, $inputEncoding);
 
   while (my $l = <FI>) {
-    chomp($l);
+    $l =~ s/[\n\r]+$//;
+    #chomp($l);
     my $rStatus = checkLyxLine($l);
     if ($rStatus->{found}) {
       my $rF = $rStatus->{result};