ctests: add dviluatex as a format that needs fonts

Documents in certain languages will only work with dviluatex
if fonts that support those languages are used.

This commit continues e690cfc4.
This commit is contained in:
Scott Kostyshak 2013-11-27 07:57:10 -05:00
parent 63deac73b3
commit 0a4bb51a26
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ macro(getoutputformats filepath varname)
file(STRINGS "${filepath}" lines) file(STRINGS "${filepath}" lines)
set(out_formats "xhtml" "dvi" "dvi3" "pdf" "pdf2" "pdf3" "pdf4" "pdf5") set(out_formats "xhtml" "dvi" "dvi3" "pdf" "pdf2" "pdf3" "pdf4" "pdf5")
if(NOT PERL_FOUND) if(NOT PERL_FOUND)
list(REMOVE_ITEM out_formats "pdf4" "pdf5") list(REMOVE_ITEM out_formats "dvi3" "pdf4" "pdf5")
endif() endif()
set(${varname} ${out_formats}) set(${varname} ${out_formats})
foreach(_l ${lines}) foreach(_l ${lines})

View File

@ -27,7 +27,7 @@
# #
set(Perl_Script "${TOP_SRC_DIR}/development/autotests/useSystemFonts.pl") set(Perl_Script "${TOP_SRC_DIR}/development/autotests/useSystemFonts.pl")
if(format MATCHES "pdf4|pdf5") if(format MATCHES "dvi3|pdf4|pdf5")
message(STATUS "LYX_TESTS_USERDIR = ${LYX_TESTS_USERDIR}") message(STATUS "LYX_TESTS_USERDIR = ${LYX_TESTS_USERDIR}")
message(STATUS "Converting with perl ${Perl_Script}") message(STATUS "Converting with perl ${Perl_Script}")
set(LYX_SOURCE "${WORKDIR}/${file}_${format}.lyx") set(LYX_SOURCE "${WORKDIR}/${file}_${format}.lyx")