Cmake export tests: Really supply own system fonts only if not specified in document.

This commit is contained in:
Kornel Benko 2016-01-09 19:49:23 +01:00
parent 710f284f12
commit 92f46d7aaa

View File

@ -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);