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

Inter 4.1: Saving as PDF from Word gives several issues #794

Open
mxxrten opened this issue Feb 13, 2025 · 1 comment
Open

Inter 4.1: Saving as PDF from Word gives several issues #794

mxxrten opened this issue Feb 13, 2025 · 1 comment

Comments

@mxxrten
Copy link

mxxrten commented Feb 13, 2025

Describe the bug
In Word there are three ways to save to PDF, none of them work without problems with Inter 4.1.

  1. Save as PDF. Inter.ttc works. InterVariable.ttf nothing is medium, semibold or bold:
    Image

  2. Print to PDF with Microsoft Print to PDF. Inter.ttc italic gives weird characters:
    Image

  3. Print to PDF with Adobe PDF. This doesn't output a PDF, but an error log:

%%[ ProductName: Distiller ]%%
Inter-Regular not found, using Courier.
%%[ Error: invalidfont; OffendingCommand: xshow ]%%

Stack:
-dict-
-file-


%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
%%[ Warning: PostScript error. No PDF file produced. ] %%
%[ Warning: PostScript error. No PDF file produced. ] %%

To Reproduce
Steps to reproduce the behavior:

  • I use the latest Word version (Version 2501 Build 16.0.18429.20132) 64 bits
  • I used the latest Inter 4.1 and installed Inter.ttc and InterVariable.ttf
  • I type a few words in in the font Inter and Inter Variable.
    1. File > Save as > PDF
    1. File > Print > Microsoft Print to PDF
    1. File > Print > Adobe PDF

Expected behavior
All fonts look as expected. A PDF file is made.

Screenshots
Screenshots are related to different steps. They are above in the relevant step.

Environment

  • OS: Windows 11 Pro 24H2
  • Word version (Version 2501 Build 16.0.18429.20132) 64 bits
  • Inter Variable. Version 4.001;git-9221beed3
  • Inter.ttc 4.1 (Fontdrop doesnt work with .ttc, but I downloaded it from the release page in this repo)
@kenmcd
Copy link

kenmcd commented Feb 14, 2025

First, Word Export to PDF does not work with variable fonts.

Second, there does appear to be some odd conflict between the variable font and the TTC file. But I cannot see why.
With both the TTC and VF fonts installed I did see some garbage in the TTC static styles - three were garbled - and not the same ones as yours.
So I uninstalled the VF fonts - and the Word Export to PDF was just fine with just the TTC.

Oddly, LibreOffice (LO) has problems with the TTC, alone or with the VFs installed.
The Bold style-linking is not working - there is some odd conflict.
So I un-installed the TTC and installed the separate static fonts, and then LO was working fine.
Extracted the separate TTFs from the TTC file, and installed those, and those also worked fine in LO.
So perhaps something funky in the TTC structure.

Both Word and LibreOffice also work fine with the separate static fonts (from the extras folder).

I re-installed the VF fonts, and Word is still working with the TTC installed.
So I cannot figure-out what is going on.
The TTC (or separate statics) should not conflict with the VF fonts.
But the complexity of the names in the VFs may confuse some applications.

So for now, probably best to use just the TTC or separate statics alone, without the VFs.

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

2 participants