Bug 2272153 - xelatex doesn't support font face from named instance of variable fonts
Summary: xelatex doesn't support font face from named instance of variable fonts
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: texlive-base
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-03-29 03:31 UTC by Peng Wu
Modified: 2024-03-29 03:40 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2271559 0 unspecified NEW XeTeX is not compatible with google-noto-sans-cjk-vf-fonts 2024-05-10 13:50:20 UTC

Internal Links: 2271559

Description Peng Wu 2024-03-29 03:31:39 UTC
We received one bug report about XeTex, the variable fonts is not usable with xelatex.

The original bug report and example file is in the following line.
URL: https://bugzilla.redhat.com/show_bug.cgi?id=2271559

From the report, xelatex got the following error with variable fonts:
xdvipdfmx:fatal: Invalid TTC index number

No output PDF file written.

Reproducible: Always

Steps to Reproduce:
1. Install google-noto-sans-cjk-vf-fonts, and google-noto-sans-mono-cjk-vf-fonts, as well as texlive packages necessary for xelatex including texlive-xetex and texlive-ctex
2. Run "xelatex test.tex", with test.tex shown below

test.tex
-------------------------------------------
\documentclass{article}
\usepackage{xeCJK}
\setCJKmainfont{Noto Sans CJK SC}
\setCJKmonofont{Noto Sans Mono CJK SC}
\begin{document}
中文 \LaTeX 示例。

{\ttfamily
中文 \LaTeX 示例。
}  
\end{document}
-------------------------------------------
Actual Results:  
xelatex+xdvipdfmx ends up in an error:
-------------------------------------------
xdvipdfmx:fatal: Invalid TTC index number

No output PDF file written.
 )
Error 256 (driver return code) generating output;
file test.pdf may not be valid.
Transcript written on test.log.
-------------------------------------------

Expected Results:  
The PDF file is written correctly.


Note You need to log in before you can comment on or make changes to this bug.