From 1abe78d0600602fcae258cb50548c4f7a61f1e97 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 12 Jun 2009 14:16:05 +0000 Subject: move the warning on missing fontconfig into xetex's postaction git-svn-id: svn://tug.org/texlive/trunk@13724 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/tlpostcode/xetex.pl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Master/tlpkg/tlpostcode') diff --git a/Master/tlpkg/tlpostcode/xetex.pl b/Master/tlpkg/tlpostcode/xetex.pl index 7e9bd27f57f..e996e39fb49 100644 --- a/Master/tlpkg/tlpostcode/xetex.pl +++ b/Master/tlpkg/tlpostcode/xetex.pl @@ -68,6 +68,15 @@ if (win32()) { info("Running fc-cache -v -r\n"); log(`fc-cache -v -r 2>&1`); #system("fc-cache","-v", "-r"); +} else { + # cygwin specific warning + # we don't have platform available ... + chomp(my $un = `uname`); + if ($un =~ m/cygwin/) { + if (! -r "/usr/bin/cygfontconfig-1.dll") { + printf STDERR "\nXeTeX on Cygwin requires fontconfig.\nPlease run cygwin's setup program and install the fontconfig package.\n"; + } + } } ### Local Variables: -- cgit v1.2.3