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: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  0:30 xdvipdfmx:fatal: This font using the "seac" command for accented characters Mark McGregor
@ 2016-06-13  7:53 ` Ken Brown
  0 siblings, 0 replies; 10+ messages in thread
From: Ken Brown @ 2016-06-13  7:53 UTC (permalink / raw)
  To: cygwin

On 6/12/2016 8:08 PM, Mark McGregor wrote:
> 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.

I found an answer at the following:

 
http://tex.stackexchange.com/questions/296308/xelatex-setmainfontcmu-serif-produces-wrong-characters

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.

What puzzles me is that the link above says that the problem is caused 
by bugs in xdvipdfmx that have been fixed in TeX Live 2016.  I'll look 
into this and try to find out why it still seems to be broken.

Ken

--
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...
       [not found] <1466280246.97757.ezmlm@cygwin.com>
@ 2016-06-19 18:14 ` Mark
  0 siblings, 0 replies; 10+ messages in thread
From: Mark @ 2016-06-19 18:14 UTC (permalink / raw)
  To: cygwin

Dear Ken:

Thanks for the notice!

Btw., recently I experienced xpdf failing to start due to rebasement 
errors similar to what a few people reported here months ago, and the 
xpdf version from your repository worked for me. So I'd be happy to see 
your xpdf compilation in the standard cygwin distribution.

Best,

Mark

On 18.06.2016 22:04, cygwin-digest-help@cygwin.com wrote:
> cygwin_203614.ezm
>
> Subject:
> Re: xdvipdfmx:fatal: This font using the "seac" command for accented
> characters...
> From:
> Ken Brown <kbrown@cornell.edu>
> Date:
> 18.06.2016 13:41
>
> To:
> cygwin@cygwin.com
>
>
> On 6/17/2016 5:54 PM, Mark McGregor wrote:
>> ----Ken wrote:
>> No, I don't think XeTeX is dying. A look at its git repository shows
>> lots of commits from Jonathan Kew and Arthur Reutenauer in the last
>> few months.
>> ----
>>
>> The last commit was over 1 month ago: a 1-line change from JK. I'm not
>> overly optimistic that anything will happen to this bug report at all.
>> But, anyway, thank you for having reported!
>
> I had some private correspondence with Akira Kakuto about my bug report,
> and he said it isn't a bug.  The problem is simply that xetex has very
> limited support for type1 fonts, and the solution is to remove them from
> the fonts that fontconfig knows about, as you've done.  So I'll probably
> make this change the next time I update texlive.
>
> Ken


--
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-18 11:41 ` xdvipdfmx:fatal: This font using the "seac" command for accented characters Mark McGregor
@ 2016-06-18 20:04   ` Ken Brown
  0 siblings, 0 replies; 10+ messages in thread
From: Ken Brown @ 2016-06-18 20:04 UTC (permalink / raw)
  To: cygwin

On 6/17/2016 5:54 PM, Mark McGregor wrote:
> ----Ken wrote:
> No, I don't think XeTeX is dying. A look at its git repository shows lots of commits from Jonathan Kew and Arthur Reutenauer in the last few months.
> ----
>
> The last commit was over 1 month ago: a 1-line change from JK. I'm not overly optimistic that anything will happen to this bug report at all. But, anyway, thank you for having reported!

I had some private correspondence with Akira Kakuto about my bug report, 
and he said it isn't a bug.  The problem is simply that xetex has very 
limited support for type1 fonts, and the solution is to remove them from 
the fonts that fontconfig knows about, as you've done.  So I'll probably 
make this change the next time I update texlive.

Ken

--
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...
       [not found] <1465890352.69476.ezmlm@cygwin.com>
@ 2016-06-18 11:41 ` Mark McGregor
  2016-06-18 20:04   ` Ken Brown
  0 siblings, 1 reply; 10+ messages in thread
From: Mark McGregor @ 2016-06-18 11:41 UTC (permalink / raw)
  To: cygwin

----Ken wrote:
> Ken, thank you!
> (You might probably have more experience with XeTeX than me. Is XeTeX
> dying? The last bugfix was in March, months ago, and apart from A.R.
> nobody seems to work on it anyway...)

No, I don't think XeTeX is dying. A look at its git repository shows lots of commits from Jonathan Kew and Arthur Reutenauer in the last few months. 
----

The last commit was over 1 month ago: a 1-line change from JK. I'm not overly optimistic that anything will happen to this bug report at all. But, anyway, thank you for having reported!

Mark.

--
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 17:10 ` Mark McGregor
@ 2016-06-13 18:20   ` Ken Brown
  0 siblings, 0 replies; 10+ messages in thread
From: Ken Brown @ 2016-06-13 18:20 UTC (permalink / raw)
  To: cygwin

On 6/13/2016 9:28 AM, Mark McGregor wrote:
> ---- Ken wrote:
>> Would this solution affect the compilation processes of lualatex
>> (which does compile the file in question) or pdflatex?
>
> No.  lualatex and pdftex don't use fontconfig.
>
> By the way, I've filed a bug report about this problem:
>
>   https://sourceforge.net/p/xetex/bugs/131/
> ----
>
> Ken, thank you!
> (You might probably have more experience with XeTeX than me. Is XeTeX
> dying? The last bugfix was in March, months ago, and apart from A.R.
> nobody seems to work on it anyway...)

No, I don't think XeTeX is dying.  A look at its git repository shows 
lots of commits from Jonathan Kew and Arthur Reutenauer in the last few 
months.

Ken

--
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...
       [not found] <1465820332.127780.ezmlm@cygwin.com>
@ 2016-06-13 17:10 ` Mark McGregor
  2016-06-13 18:20   ` Ken Brown
  0 siblings, 1 reply; 10+ messages in thread
From: Mark McGregor @ 2016-06-13 17:10 UTC (permalink / raw)
  To: cygwin

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

No.  lualatex and pdftex don't use fontconfig.

By the way, I've filed a bug report about this problem:

   https://sourceforge.net/p/xetex/bugs/131/
----

Ken, thank you!
(You might probably have more experience with XeTeX than me. Is XeTeX 
dying? The last bugfix was in March, months ago, and apart from A.R. 
nobody seems to work on it anyway...)

--
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, 0 replies; 10+ messages in thread
From: Ken Brown @ 2016-06-13 14:31 UTC (permalink / raw)
  To: cygwin

On 6/13/2016 5:27 AM, Mark McGregor wrote:
> 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?

No.  lualatex and pdftex don't use fontconfig.

By the way, I've filed a bug report about this problem:

   https://sourceforge.net/p/xetex/bugs/131/

Ken

--
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

* 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

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:30 xdvipdfmx:fatal: This font using the "seac" command for accented characters Mark McGregor
2016-06-13  7:53 ` 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
     [not found] <1465890352.69476.ezmlm@cygwin.com>
2016-06-18 11:41 ` xdvipdfmx:fatal: This font using the "seac" command for accented characters Mark McGregor
2016-06-18 20:04   ` Ken Brown
     [not found] <1465820332.127780.ezmlm@cygwin.com>
2016-06-13 17:10 ` Mark McGregor
2016-06-13 18:20   ` Ken Brown
  -- strict thread matches above, loose matches on Subject: below --
2016-06-13  9:43 Mark McGregor
2016-06-13 14:31 ` Ken Brown
2016-06-13  0:08 Mark McGregor

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).