public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* xdvipdfmx:fatal: This font using the "seac" command for accented characters...
@ 2016-06-13  0:08 Mark McGregor
  0 siblings, 0 replies; 10+ messages in thread
From: Mark McGregor @ 2016-06-13  0:08 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 4623 bytes --]

Consider the following LaTeX file q.tex:

[
\documentclass{article}
\usepackage{fontspec}
\setmainfont{CMU Serif}
\usepackage[russian,american]{babel}

\begin{document}
\foreignlanguage{russian}{А}.
\end{document}
]

The letter А is a cyrillic one, U+0410. Running xelatex on it results in the message
[
This is XeTeX, Version 3.14159265-2.6-0.99996 (TeX Live 2016/Cygwin) (preloaded format=xelatex)
 restricted \write18 enabled.
entering extended mode
(./q.tex
LaTeX2e <2016/03/31>
Babel <3.9r> and hyphenation patterns for 20 language(s) loaded.
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/share/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/share/texmf-dist/tex/latex/l3kernel/expl3-code.tex)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def))
(/usr/share/texmf-dist/tex/latex/l3packages/xparse/xparse.sty)
(/usr/share/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
(/usr/share/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texmf-dist/tex/latex/euenc/eu1enc.def)
(/usr/share/texmf-dist/tex/latex/euenc/eu1lmr.fd))
(/usr/share/texmf-dist/tex/xelatex/xunicode/xunicode.sty
(/usr/share/texmf-dist/tex/latex/tipa/t3enc.def
(/usr/share/texmf-dist/tex/latex/euenc/eu1lmss.fd))
(/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/share/texmf-dist/tex/xelatex/xetex-def/xetex.def
(/usr/share/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/share/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)))))
(/usr/share/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(/usr/share/texmf-dist/tex/generic/babel/babel.sty
(/usr/share/texmf-dist/tex/generic/babel-russian/russianb.ldf
(/usr/share/texmf-dist/tex/generic/babel/babel.def
(/usr/share/texmf-dist/tex/generic/babel/xebabel.def)))
(/usr/share/texmf-dist/tex/generic/babel-english/english.ldf)) (./q.aux)
(/usr/share/texmf-dist/tex/latex/tipa/t3cmr.fd) [1] (./q.aux)
xdvipdfmx:fatal: This font using the "seac" command for accented characters...

Output file removed.
 )
Error 256 (driver return code) generating output;
file q.pdf may not be valid.
Transcript written on q.log.
]
printed to console. The log is attached. I don't get a PDF, but I darn wish I would.

The same file does complie in an earlier TexLive version on another machine:
[
This is XeTeX, Version 3.14159265-2.6-0.99992 (TeX Live 2015/TeX Live for SUSE Linux) (preloaded format=xelatex)
 restricted \write18 enabled.
entering extended mode
(./q.tex
LaTeX2e <2015/01/01> patch level 2
Babel <3.9m> and hyphenation patterns for 79 languages loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/fontspec/fontspec.sty
(/usr/share/texmf/tex/latex/l3kernel/expl3.sty
(/usr/share/texmf/tex/latex/l3kernel/expl3-code.tex)
(/usr/share/texmf/tex/latex/l3kernel/l3unicode-data.def)
(/usr/share/texmf/tex/latex/l3kernel/l3xdvipdfmx.def))
(/usr/share/texmf/tex/latex/l3packages/xparse/xparse.sty)
(/usr/share/texmf/tex/latex/fontspec/fontspec-patches.sty)
(/usr/share/texmf/tex/latex/fontspec/fontspec-xetex.sty
(/usr/share/texmf/tex/latex/base/fontenc.sty
(/usr/share/texmf/tex/latex/euenc/eu1enc.def)
(/usr/share/texmf/tex/latex/euenc/eu1lmr.fd))
(/usr/share/texmf/tex/xelatex/xunicode/xunicode.sty
(/usr/share/texmf/tex/latex/tipa/t3enc.def
(/usr/share/texmf/tex/latex/euenc/eu1lmss.fd))
(/usr/share/texmf/tex/latex/graphics/graphicx.sty
(/usr/share/texmf/tex/latex/graphics/keyval.sty)
(/usr/share/texmf/tex/latex/graphics/graphics.sty
(/usr/share/texmf/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/latexconfig/graphics.cfg)
(/usr/share/texmf/tex/xelatex/xetex-def/xetex.def))))
(/usr/share/texmf/tex/latex/fontspec/fontspec.cfg)))
(/usr/share/texmf/tex/generic/babel/babel.sty
(/usr/share/texmf/tex/generic/babel-russian/russianb.ldf
(/usr/share/texmf/tex/generic/babel/babel.def
(/usr/share/texmf/tex/generic/babel/xebabel.def)))
(/usr/share/texmf/tex/generic/babel-english/english.ldf)) (./q.aux)
(/usr/share/texmf/tex/latex/tipa/t3cmr.fd) [1] (./q.aux) )
Output written on q.pdf (1 page).
Transcript written on q.log.
]

[-- Attachment #2: q.aux --]
[-- Type: text/plain, Size: 191 bytes --]

\relax 
\catcode `"\active 
\select@language{american}
\@writefile{toc}{\select@language{american}}
\@writefile{lof}{\select@language{american}}
\@writefile{lot}{\select@language{american}}


[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread
* xdvipdfmx:fatal: This font using the "seac" command for accented characters...
@ 2016-06-13  0:30 Mark McGregor
  2016-06-13  7:53 ` Ken Brown
  0 siblings, 1 reply; 10+ messages in thread
From: Mark McGregor @ 2016-06-13  0:30 UTC (permalink / raw)
  To: cygwin

A more minimal non-working example:

[
\documentclass{article}
\usepackage{fontspec}

\setmainfont{CMU Serif}
%\setmainfont{cmunrm.otf}

\begin{document}
А
\end{document}
]

If you comment the first \setmainfont line and uncomment the second one, the file compiles. Rerunning /usr/bin/texlive-enable-fontconfig doesn't help.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: xdvipdfmx:fatal: This font using the "seac" command for accented characters...
@ 2016-06-13  9:43 Mark McGregor
  2016-06-13 14:31 ` Ken Brown
  0 siblings, 1 reply; 10+ messages in thread
From: Mark McGregor @ 2016-06-13  9:43 UTC (permalink / raw)
  To: cygwin

References: <trinity-65448339-5e78-4d88-bd88-c56cded8d4d5-1465776480726 at 3capp-gmx-bs72>

----Ken Brown wrote:
Based on that, you can work around the problem by commenting out the type1 fonts in /usr/share/fontconfig/conf.avail/09-texlive.conf, like this: 
$ cat /usr/share/fontconfig/conf.avail/09-texlive.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <dir>/usr/share/texmf-dist/fonts/opentype</dir>
  <dir>/usr/share/texmf-dist/fonts/truetype</dir>
  <!-- <dir>/usr/share/texmf-dist/fonts/type1</dir> -->
</fontconfig>


Then rerun the command '/usr/libexec/fc-cache-1 -sv' from /etc/postinstall/zp_fontconfig_cache_1.sh. 
----

Thank you! The workaround seems to work.

Would this solution affect the compilation processes of lualatex (which does compile the file in question) or pdflatex?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <1465820332.127780.ezmlm@cygwin.com>]
[parent not found: <1465890352.69476.ezmlm@cygwin.com>]
[parent not found: <1466280246.97757.ezmlm@cygwin.com>]

end of thread, other threads:[~2016-06-18 21:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-13  0:08 xdvipdfmx:fatal: This font using the "seac" command for accented characters Mark McGregor
2016-06-13  0:30 Mark McGregor
2016-06-13  7:53 ` Ken Brown
2016-06-13  9:43 Mark McGregor
2016-06-13 14:31 ` Ken Brown
     [not found] <1465820332.127780.ezmlm@cygwin.com>
2016-06-13 17:10 ` Mark McGregor
2016-06-13 18:20   ` Ken Brown
     [not found] <1465890352.69476.ezmlm@cygwin.com>
2016-06-18 11:41 ` Mark McGregor
2016-06-18 20:04   ` Ken Brown
     [not found] <1466280246.97757.ezmlm@cygwin.com>
2016-06-19 18:14 ` xdvipdfmx:fatal: This font using the "seac" command for accented, characters Mark

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).