From: Kornel Benko Date: Sat, 9 Jan 2016 18:49:23 +0000 (+0100) Subject: Cmake export tests: Really supply own system fonts only if not specified in document. X-Git-Tag: 2.2.0beta1~235 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=92f46d7aaac9bcb52cce78e688436a56effcfba8;p=features.git Cmake export tests: Really supply own system fonts only if not specified in document. --- diff --git a/development/autotests/lyxStatus.pm b/development/autotests/lyxStatus.pm index f67451c571..7707cec402 100644 --- a/development/autotests/lyxStatus.pm +++ b/development/autotests/lyxStatus.pm @@ -207,7 +207,7 @@ sub checkForHeader($) "filetype" => "replace_only", "result" => ["\\font_$ff \"", $rFont->{$ff}, '"']); # fontentry of type '\font_roman "default" "default"' - my $elem2 = newMatch("search" => '^\\\\font_' . $ff . '\s+"(.*)"\s+"(.*)"\s*$', + my $elem2 = newMatch("search" => '^\\\\font_' . $ff . '\s+"(.*)"\s+"default"\s*$', "filetype" => "replace_only", "result" => ["\\font_$ff ", '"', "1", '" "', $rFont->{$ff}, '"']); push(@rElems, $elem, $elem1, $elem2);