-
-
Notifications
You must be signed in to change notification settings - Fork 399
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
Printing issues with Microsoft Word #156
Comments
This is really strange — it seems like a bug in Word to me. Exactly which font files do you have installed? |
I printed the default sample text from rsms.me/inter/lab using Apple Pages 8.0 with Inter Regular 3.5 OTF installed to a CUPS-connected postscript laser printer. It looks correct to me. Have you tried printing with a different printer? Could it be a printer issue..? I only have one printer at home, but I can try on a few other printers at the office next week. |
Hi Rasmus, thanks for your answer, here is a new test. Hypothesis :
|
Very interesting. SF Pro Text looks different in your prints as well, though less difference. Spacing is different and stroke weight seems to vary a little. Wonder if Word does something crazy, maybe Windows GDI -> PostScript translation? The PDF is of course postscript, so if printing the PDF on the same printer yields expected results, then this means that Word produces different PostScript code depending on if you print or generate a PDF (and thus, this is a bug in Word.) |
@rsms @superpapuche
|
We're also experiencing this at our company. We printed something yesterday, and the letter-spacing/kerning was too tight. Our marketing designer is on a Mac, so maybe its Word for Mac? I'll ask her to upload a photo of the print too. |
@jaminroe What happens if you print to the same printer from TextEdit on that same Mac computer? |
Sorry I never got back to you. I'll follow up with you later this week. Will ask our marketing designer again too.😊 |
To add... We also get considerably tighter kerning printing directly from Pages v8 and TextEdit on High Sierra 10.13.6.
|
You should try the latest release. You're behind quite a few versions! 3.11 is the latest. 😄 |
...
Checked. This should be the latest version. 3.11 zip release (12 days ago) contains otf files labelled version 3.011, created 22 Oct 2019. Release 3.10 contains otf files font version 3.010. This did not seem problematic knowing font versioning numbers. |
Oh interesting, I'll need to check my files later when I'm back in the office. I have seen Font Book not update the version if you just try to install and override your current version installed. I've had to delete the Inter font in Font Book and then install fresh with the lastest version. I'm guessing you're taking about the file names though in the zip file? |
Zip file from Releases page here on GitHub is named 'Inter-3.11.zip'. Unzipped, in Finder/File info, says: Version 3.011;git-f93a4a705. Using non-variable fonts. Version number did not seem alarming. Considering font versioning goes X.000 to X.999, version 3.011 seemed equivalent to 3.11. I might be wrong, of course. ... It is not 3.0.11, or 3.110 either ;). Plus, 'created' date seemed fine.
Additionally, Affinity Designer printing directly to HP LaserJet 1320 (PostScript, I believe) exhibits the same issue. Might be wrong but, I have seen a similar glitch using multiple master fonts before. The big difference here is that with a multiple master font wrong kerning was visible on screen, too. With this issue, conventional fonts are used and on screen appearance is flawless, while printing is tight. XXL 'Thank you' for quick replies and making/opening Inter! |
Ah okay yes I see! The web font is a different version that the OTF 👌 |
@rsms our marketing designer did a print yesterday and good news, the kerning seemed to be fixed! 🙌
|
@rsms @megaroeny I just try a new print I have the same issue.
As I see it it's neither a Kerning problem nor a spacing one. But the glyphe get bigger in the same box. |
I have the same issue on Mac, but does not occur on Windows. Printing from MS Word on Windows renders the font properly, but incorrectly on Mac. Mac settings: OS 10.14.16, MS Word 16.31 Additionally, when printing from Mac MS Word, one of our office printers that runs through a Fiery server threw a font error instead of printing a document (Ricoh Pro C5200 Series E-24B)
For the time being, I'll be printing PDFs from a Mac, which obviously renders correct prints. |
You're correct. The OpenType spec has many weird things; the version metadata is one of them where the word “Version” is actually part of the value in the spec! Ha, ha. The use of exactly 3 ASCII numbers following the “.” after the major version ASCII digit number is a convention that some legacy font interpreters rely on, thus it’s a requirement by Google Fonts (my understanding.) https://docs.microsoft.com/en-us/typography/opentype/spec/name#nid5 |
By the way, thank you all so much for investigating this issue. |
I'd like to add the error occurs on apple Pages, too. |
I just learned that @arrowtype had a similar issue and decomposing nested components was an acceptable solution. I've applied the same method to Inter and attached here is a build of font files which would be great if you could try these and see if they print correctly: cc @YorelCayla @creative-pfnyc @alex-kovac |
The issue I experienced in Recursive was slightly different – for me, the biggest problem was that nested/scaled/flipped components weren’t being placed correctly. Generally, they were way to the left of where they should have been. This also impacted ligatures like This could be the same issue here, and because I had problems with nested components through multiple printers, it is definitely something I think is worth fixing. However, if I had to guess, I bet this specific issue might be caused by something else. I know the UPM of Inter is kind of unique ... have you tested whether it makes any difference to have a more-common UPM, like 1000, 2000, or 2048? |
@arrowtype re UPM, InterDisplay uses 2048 so that would be an interesting thing to test; ie use Inter and Inter Display with the same software and compare the results. I would be surprised if the UPM mattered. The whole point with a local coordinate system is so that it can vary :-) |
Just finished reading the CSS conversation. pt as in typographic points are tricky indeed in a web browser since currently web browsers don't know about the physical size of your displays pixels, which it would need to do in order to provide accurate typographic pt (I say typographic pt here to disambiguate from other pt like for example what Apple iOS and macOS uses.) CSS already has its funky "pixels" (really, dp, but named px for historical reasons) which is what web developers use as the "millimeter" of their world, for better and for worse. Mapping 1 css pixel to 1 optical size unit makes a lot of sense to me (and I totally see ppls point about wanting to map it to pt instead but maybe not in web browsers.) |
@rsms, Thank you for test files. Something changed. Comparing Inter V Extra Light and Inter Extra Light fonts, printing directly to LaserJet from Apple Pages; I can report that Inter V Extra Light seems to print correctly while Inter Extra Light is displaying the same unwanted glyph growth like before :). |
@rsms thanks for the insights! So, it seems like you have never really encountered issues with a non-standard UPM? If so, it’s nice to learn that it might be a piece of "dogma" that isn’t as important as it would seem to be. Re: CSS px and optical sizing ... that compromise would almost be okay, if it weren’t the case that it goes in the wrong direction. I.e. |
Yeah, I haven't run in to any issues that seems related to Inter's non-standard UPM over the years. I'd be surprised if there were issues though since all implementations need to multiply coordinates with a font's UPM anyway to support the two most common values 1000 and 2040. None of those values yield perfect results though and always ends up with fractions so implementations would need to handle that no matter what, which is why I'd be surprised if there was a "fast path" dedicated to—for example—2048. A UPM of 2816 is great for Inter since that means that its cap height is exactly 2048 units (64× 32-unit squares) and its x-height is 1536 (48× 32-unit squares) which both makes the design easier (can deal with only integers, never any fractions, plus use a perfect grid) and it makes the target "small size" of 11dp a pixel-perfect match — at 11px rasterization 1 pixel is exactly 256 units in the design! At 11dp with a 2x scaling factor 1 pixel is 128 units, 64 units at a 3x scaling factor and so on. This makes it feasible to really tune Inter for detailed rasterization. |
Okay, so first off, I really love ideas of using grids and multiples of 8 in design. It keeps design efficient and helps yield consistent results. I’ve tended to use similar concepts in most of my own type – Recursive is based on a 50-unit grid, for instance, and this helped set modular proportions, stroke thicknesses, and (to an extent) the position of contours. But, the point I end up questioning in your description is |
Hi,
Perhaps this issue can be renamed/escalated to reflect the situation above? Time permitting, I would like to look into this issue... but honestly, my typesmithing kung-fu is nowhere close to other people here. |
Hi @alex-kovac, Thanks I would love to find a solution for this issues ! |
There was a similar issue posted in the Affinity forums. |
@kenmcd interesting! How was it determined that the UPM played a role in the issue? |
Appears to be the case as the Display (2048) worked properly, and the TTF worked properly, and I remember this from an issue with another font (which I of course cannot find now). I cannot test this as I do not have a printer which displays this issue. So could someone who has an HP printer which displays this issue please test? |
Thank you @kenmcd I think you found the root of the issue, and @arrowtype indicated UPM as a path to investigate above... |
Nice find. Someone must have been lazy writing those drivers :-P |
I've started work on converting Inter to UPM 2048 in the Tracked in issue #458 |
@alex-kovac would you mind testing this build of Inter with a 2048 UPM? |
@rsms , with pleasure... ...I presume you have adjusted Regular only and other variants are still WIP, right? As you can see on the photo, other variants are displayed in Apple Pages considerably bigger despite being at 18pt. (see screenshot) . |
Thanks @alex-kovac Actually the entire zip package is Inter in 2048 UPM. Can you double check that you don't have a lingering version installed? Also I notice that kerning data is not used by Pages in your screen shot (very noticeable with the "Te" pair.) Interestingly, I can't reproduce what you're seeing in Pages. This is what it looks like for me in Pages 11.1 |
Hmmm... I am doing something wrong.
Still getting size difference... Even in Font Book (see screenshot, font titles). Yes, I have seen 'Te' kerning, I imagined that is part of WIP. :) |
I found some of these beta fonts are 2048 UPM (3) and some are 1000 UPM (6). But now this is more confusing. So now I am wondering if this is a CoreText issue, or what???? |
Fixed the 1000 UPM issue. New build to test: Inter-3.19-b597068546.zip |
@rsms thank you, As fas as I can tell at this moment build Inter-3.19-b597068546
Maybe other users could report their results? |
That is great news! Thank you for taking the time to do these tests. |
Thank you @rsms, @kenmcd, @arrowtype on diagnosing and ultimately sorting this one out. This was a gnarly one. @YorelCayla, @megaroeny, @creative-pfnyc it has been a while, but if you would be so kind and catch some time to see if beta rsms provided here solves the glyph swelling bug on your side? Thank you! |
I no longer work for the company that was using Inter, and I don't have access to Word. Sorry! |
Shall we close this issue? Since the updates mentioned above, there were no problems regarding this bug here. Anyone else? |
The bug
I face a stange error when it's come to print with the Inter v3.5. and my custom version too.
The printed text does not look the one in Word the leading is good but the letters are bigger and the metrics are not respected.
Same error on Pages. It seems the font is not propelly interpreted by a printer.
Here is a preview with my custom version :
To Reproduce
Steps to reproduce the behavior:
Compose my text on Word it looks ok here
Sent to print from Word on a postscript printer
No issues when I make a PDF
No issues with an other fonts
Expected behavior
The printing should look like the composition in Word
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
All best
The text was updated successfully, but these errors were encountered: