How to turn off typst embed font to the output pdf

Hi, I am using the font Helvetica to generate a PDF, which is not free for commercial usage. However, it is one of base 14 fonts for PDF, which the viewer defaults support.
But the issue is typst always embedsa subset of font to PDF in this case a commercial licence needed, is there any way to fully turn off embed font to output pdf?

Hello, I don’t think there is any feature that would allow you to do that. The next best thing is either not use Helvetica, or manipulate the PDF file using either ghostscript or other softwares. Either way, ghostscript converts a CID font to a Type 3 (not recommended) when converting from a pdf to postscript, so be careful.

In particular, see the section on CID Font Substitution.

Hi. I’m surprised no one has created an issue about it, but I had these thought many times myself. Ability to disable font embedding · Issue #6466 · typst/typst · GitHub

2 Likes