X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=development%2Fautotests%2FuseSystemFonts.pl;h=f0183fa776fd5ac6d6daa62802b80bdcf58e4556;hb=d1a41a9bdc8da0ee402ecffc89079bcc92e6cf36;hp=843a3d4f0912dc2d4d4a0f3b2e9b78d0994d804a;hpb=6366b4a21bc9b7d1ab5235ba7781479f5b5b0ff3;p=lyx.git diff --git a/development/autotests/useSystemFonts.pl b/development/autotests/useSystemFonts.pl index 843a3d4f09..f0183fa776 100644 --- a/development/autotests/useSystemFonts.pl +++ b/development/autotests/useSystemFonts.pl @@ -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 = ) { - chomp($l); + $l =~ s/[\n\r]+$//; + #chomp($l); my $rStatus = checkLyxLine($l); if ($rStatus->{found}) { my $rF = $rStatus->{result};