-
Notifications
You must be signed in to change notification settings - Fork 161
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
underscore (U+005F) not visible in .pdf when using TTF #44
Comments
That’s odd. Which version of the font are you using? OTF or TTF? Would like to get to the bottom of this, but I don’t know if there’s anything one can do in the font files. Please try the TTF if you are using OTF, and vice versa. |
How is the PDF generated? You may want to try using the Adobe PDF “printer”: |
I made the .pdf by Save as… in Word 2007. So it is a Word document saved by the pdf-save function in Word 2007.
Striking is that the omission of the display of the underscore (ascii 5F) only happens with the Source Serif Pro font as demonstrated by the example that I attached. I am disappointed because I like the font very much.
As I explained, the character is actually present in the .pdf. This is demonstrated by selecting a piece of text in the .pdf , then copy and paste into Notepad where the underscore shows up.
Opening the .pdf with Firefox, Chrome, MS Edge makes no difference. None of these shows the underscore, not with Source Serif Pro or Source Serif Pro Semibold.
There must be something in the code of the font.
I do hope , this bug can be removed.
Success, hope to hear from you,
Theo van Herwijnen
|
Frank,
Quick answer: I use the TTF. Tomorrow I will test the OTF.
Regards,
Theo
|
@theovanh Would you mind trying to write the PDF in another way – not through “save as…” but using the Adobe PDF printer. I’d be curious to know the result here. |
I do not have the Acrobat virtual printer available. I printed with 'cutePDFWriter' which gave me a .pdf where the underscores are visible in Reader DC. When 'printed' from Word with 'Microsoft Print to PDF' the result did NOT show the underscore of Source Serif Pro but copy/paste into Notepad demonstrated that they are present (as in the test above). Probably the 'MS Print to PDF' uses the same function as its 'Save as ..' |
Frank,
Good morning.
I posted on github my latest findings. Attached the 2 pdf’s. I noticed that there are significant differences in the Properties/Fonts of the 2 pdf’s.
Succes,
Theo
|
Dear Theo, happy new year! |
Also reproduced, analog to adobe-fonts/source-sans#154 (comment): Step-by-step:
option 1File → Save as… → PDF option 2File → Print → Microsoft Print to PDF option 3File → Save as Adobe PDF … workaroundAll above options work properly when using the equivalent OTF font. |
Found the problem by using MS Font Validator. The This was caused by an oversight in the |
Underscore (ascii 5F) is not visible when a document in Word 2007 is saved as .pdf Other fonts do not have this problem. The character '5F' is present in the .pdf but not visible. Windows 10.
The text was updated successfully, but these errors were encountered: