]> git.lyx.org Git - lyx.git/blobdiff - development/autotests/useSystemFonts.pl
ctests: More inversions
[lyx.git] / development / autotests / useSystemFonts.pl
index 843a3d4f0912dc2d4d4a0f3b2e9b78d0994d804a..f0183fa776fd5ac6d6daa62802b80bdcf58e4556 100644 (file)
@@ -90,7 +90,7 @@ if ($fontT eq "systemF") {
     $font{sans} = "DejaVu Sans";
     $font{typewriter} = "DejaVu Sans Mono";
   }
-  elsif ($lang =~ /^(he|el|main)$/) {
+  elsif ($lang =~ /^(he)$/) {
     $font{roman} = "FreeSans";
     $font{sans} = "FreeSans";
     $font{typewriter} = "FreeSans";
@@ -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};