commit 92f46d7aaac9bcb52cce78e688436a56effcfba8
Author: Kornel Benko <[email protected]>
Date:   Sat Jan 9 19:49:23 2016 +0100

    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 f67451c..7707cec 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);

Reply via email to