Skip to content
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

GFtoPK crashes in supre mode for fonts in certain optical sizes #1055

Closed
Weisser-Kater opened this issue Feb 16, 2022 · 2 comments
Closed

GFtoPK crashes in supre mode for fonts in certain optical sizes #1055

Weisser-Kater opened this issue Feb 16, 2022 · 2 comments
Labels
Milestone

Comments

@Weisser-Kater
Copy link

Certain pk files are not produced by GFtoPK, but I get the problem only in supre mode. When I remove this mode, every font works, but the bitmaps are ungly then.

MWE:

\documentclass{article}

\pdfpkmode{supre}
\pdfpkresolution=2400

\usepackage{fonttable}

\begin{document}

\fonttable{ecbx2488}% crashes, works only without supre mode
\fonttable{cmbx25}% crashes, works only without supre mode
\fonttable{cmr25}% crashes, works only without supre mode
\fonttable{cmti25}% crashes, works only without supre mode

\fonttable{cmbx20}% works in standard and supre mode
\fonttable{cmbxti17}% works in standard and supre mode
\fonttable{cmr30}% works in standard and supre mode
\fonttable{cmbxti5}% works in standard and supre mode

\end{document}

So optical sizes about 25 make GFtoPK crash. What is happening here?

@edocevoli
Copy link
Member

This is a rounding issue. For example, mf creates cmti25.964gf. But gftopk expects cmti25.965gf.

@edocevoli edocevoli added the bug label Feb 16, 2022
@Weisser-Kater
Copy link
Author

Is there a workaround? Or just wait for a new version without this bug?

@edocevoli edocevoli added this to the 22.2 milestone Feb 16, 2022
edocevoli added a commit that referenced this issue Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants