Skip to content

dvi output contains no info about variable fonts #301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
anntzer opened this issue Apr 8, 2025 · 0 comments
Open

dvi output contains no info about variable fonts #301

anntzer opened this issue Apr 8, 2025 · 0 comments

Comments

@anntzer
Copy link

anntzer commented Apr 8, 2025

The following two documents differ by the application of a custom weight on an OpenType variable font (which can be downloaded from https://github.com/googlefonts/roboto-flex):

\documentclass{article}
\usepackage{fontspec}
\begin{document}
\thispagestyle{empty}
\fontspec{Roboto Flex.ttf}foo
\end{document}
\documentclass{article}
\usepackage{fontspec}
\begin{document}
\thispagestyle{empty}
\fontspec{Roboto Flex.ttf}[Weight=700]foo
\end{document}

Indeed, compiling to pdf with luahbtex 1.21.0 (texlive 2025) correctly shows the weight difference. Yet, compiling with --output-format=dvi results in two identical dvi files AFAICT (except for the timestamp).
It would be appreciated (for the purpose of developing dvi viewers) if the variation axis info was kept in the dvi file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant