* Re: Texlive 2019 issues with xetex and CJK fonts
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11963@inbox.vuxu.org>
@ 2020-04-11 17:33 ` svenper
2020-04-11 17:35 ` svenper
` (4 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: svenper @ 2020-04-11 17:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1156 bytes --]
New comment by svenper on void-packages repository
https://github.com/void-linux/void-packages/issues/11963#issuecomment-612472624
Comment:
If a system update is involved, have you tried regenerating formats etc?
```
sudo mktexlsr
sudo fmtutil --sys --all
sudo updmap --sys --syncwithtrees
sudo updmap --sys
```
My impressions:
```
\setCJKmainfont{rmplus}[Script=CJK, Language=Japanese]{rounded-mplus-1p-regular}
```
looks wrong, there should be only one font name, i.e. one of
```
\setCJKmainfont[Script=CJK, Language=Japanese]{‹name›}
\setCJKmainfont{‹name›}[Script=CJK, Language=Japanese]
```
and there is no need for
```
\CJKfamily{rmplus}
```
since script should be detected automatically by unicode range.
This works for me:™
```
\documentclass{article}
\usepackage{fontspec,xeCJK}
\setmainfont{SourceSerifPro-Regular.otf}[Path=/tmp/]
\setCJKmainfont{SourceHanSerif-Regular.otf}[Path=/tmp/,Script=CJK,Language=Japanese]
\begin{document}
test テスト
\end{document}
```
I would recommend asking on [tex.stackexchange.com](https://tex.stackexchange.com), that's where the TeX devs hang out.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Texlive 2019 issues with xetex and CJK fonts
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11963@inbox.vuxu.org>
2020-04-11 17:33 ` Texlive 2019 issues with xetex and CJK fonts svenper
@ 2020-04-11 17:35 ` svenper
2020-04-11 17:36 ` svenper
` (3 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: svenper @ 2020-04-11 17:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1263 bytes --]
New comment by svenper on void-packages repository
https://github.com/void-linux/void-packages/issues/11963#issuecomment-612472624
Comment:
Whenever the log mentions METAFONT, it's not using OpenType or TrueType fonts normally used with XeTeX.
If a system update is involved, have you tried regenerating formats etc?
```
sudo mktexlsr
sudo fmtutil --sys --all
sudo updmap --sys --syncwithtrees
sudo updmap --sys
```
My impressions:
```
\setCJKmainfont{rmplus}[Script=CJK, Language=Japanese]{rounded-mplus-1p-regular}
```
looks wrong, there should be only one font name, i.e. one of
```
\setCJKmainfont[Script=CJK, Language=Japanese]{‹name›}
\setCJKmainfont{‹name›}[Script=CJK, Language=Japanese]
```
and there is no need for
```
\CJKfamily{rmplus}
```
since script should be detected automatically by unicode range.
This works for me:™
```
\documentclass{article}
\usepackage{fontspec,xeCJK}
\setmainfont{SourceSerifPro-Regular.otf}[Path=/tmp/]
\setCJKmainfont{SourceHanSerif-Regular.otf}[Path=/tmp/,Script=CJK,Language=Japanese]
\begin{document}
test テスト
\end{document}
```
I would recommend asking on [tex.stackexchange.com](https://tex.stackexchange.com), that's where the TeX devs hang out.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Texlive 2019 issues with xetex and CJK fonts
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11963@inbox.vuxu.org>
2020-04-11 17:33 ` Texlive 2019 issues with xetex and CJK fonts svenper
2020-04-11 17:35 ` svenper
@ 2020-04-11 17:36 ` svenper
2021-02-15 5:51 ` ericonr
` (2 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: svenper @ 2020-04-11 17:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1349 bytes --]
New comment by svenper on void-packages repository
https://github.com/void-linux/void-packages/issues/11963#issuecomment-612472624
Comment:
Whenever the log mentions METAFONT, it's not using OpenType or TrueType fonts normally used with XeTeX. Usually it can't find the font, but the Path option to fontspec can work around this.
If a system update is involved, have you tried regenerating formats etc?
```
sudo mktexlsr
sudo fmtutil --sys --all
sudo updmap --sys --syncwithtrees
sudo updmap --sys
```
My impressions:
```
\setCJKmainfont{rmplus}[Script=CJK, Language=Japanese]{rounded-mplus-1p-regular}
```
looks wrong, there should be only one font name, i.e. one of
```
\setCJKmainfont[Script=CJK, Language=Japanese]{‹name›}
\setCJKmainfont{‹name›}[Script=CJK, Language=Japanese]
```
and there is no need for
```
\CJKfamily{rmplus}
```
since script should be detected automatically by unicode range.
This works for me:™
```
\documentclass{article}
\usepackage{fontspec,xeCJK}
\setmainfont{SourceSerifPro-Regular.otf}[Path=/tmp/]
\setCJKmainfont{SourceHanSerif-Regular.otf}[Path=/tmp/,Script=CJK,Language=Japanese]
\begin{document}
test テスト
\end{document}
```
I would recommend asking on [tex.stackexchange.com](https://tex.stackexchange.com), that's where the TeX devs hang out.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Texlive 2019 issues with xetex and CJK fonts
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11963@inbox.vuxu.org>
` (2 preceding siblings ...)
2020-04-11 17:36 ` svenper
@ 2021-02-15 5:51 ` ericonr
2021-02-15 5:52 ` ericonr
2021-02-15 5:52 ` ericonr
5 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2021-02-15 5:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 217 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/issues/11963#issuecomment-778963012
Comment:
We have newer texlive packages and the reporter hasn't responded, closing.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Texlive 2019 issues with xetex and CJK fonts
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11963@inbox.vuxu.org>
` (3 preceding siblings ...)
2021-02-15 5:51 ` ericonr
@ 2021-02-15 5:52 ` ericonr
2021-02-15 5:52 ` ericonr
5 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2021-02-15 5:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 257 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/issues/11963#issuecomment-778963012
Comment:
We have newer texlive packages and the reporter hasn't responded, closing.
Thanks for looking into it, svenper.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Texlive 2019 issues with xetex and CJK fonts
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11963@inbox.vuxu.org>
` (4 preceding siblings ...)
2021-02-15 5:52 ` ericonr
@ 2021-02-15 5:52 ` ericonr
5 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2021-02-15 5:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 258 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/issues/11963#issuecomment-778963012
Comment:
We have newer texlive packages and the reporter hasn't responded, closing.
Thanks for looking into it, @svenper.
^ permalink raw reply [flat|nested] 6+ messages in thread