Live data from Hacker News

Edge displays “123456” in PDF but prints “114447”

developer.microsoft.com

51–60 of 71 posts

Re: Edge displays “123456” in PDF but prints “114447”

#51
post #46
post #44

Earlier quoted context omitted.

To be fair, on a Microsoft Surface you would just use your pen to sign directly on the screen which is much more natural. It doesn't make any sense to me that Steve Jobs was so anti-pen, while also pushing for intuitive interaction.

Perhaps if someone added electromagnetic traction so that the screen provided some push-back to the pen tip, it would seem "natural," but as things are now, my on-screen signature is as good as a chicken scratch.

you could get a very thin sheet of translucent paper, and put it on top of the screen. the pen should still work, and you'll get a more natural feel

Re: Edge displays “123456” in PDF but prints “114447”

#52

Earlier quoted context omitted.

The built-in MacOS support for PDF is great. Any app that can print to a printer can print to a PDF file. And the Preview app, despite its name, can edit PDFs to add annotations (text, graphics), add or remove pages, etc. There's also a feature by which you sign your name on a piece of paper, hold it up to the camera, and it will capture it and insert it into a the document. It's convenient that these are built in an…

I worked on Preview at Apple from 2008-2011 and created the signature capture feature. It's always cool to hear people talk about it!

Thanks! It's one of my favorite features in Preview.

I used to hate PDFs before getting a Mac, but the first-class support in Preview, with features like that (along with the ability to tear out, reorder and attach pages) made me change my mind.

Re: Edge displays “123456” in PDF but prints “114447”

#53
post #6

Just in case you don't click through, the bug submitter refers to a color PDF (not a scan, so image compression artifacts are not an issue) that is similar in appearance to a periodic table. That is, it is not the sequence of `123456` that is mistranslated into `114447`, but a sequence of 6 table cells, each containing a single digit. It's not just the numbers that are misprinted, but the text inside those cells too,…

> But maybe this is an edge case?

It is, Edge caused case

Re: Edge displays “123456” in PDF but prints “114447”

#54
post #28

The PDF goes through different rendering paths for display vs print. It's GDI+ for display, and WPF with an XPS spool file for print. So my guess is whatever does PDF to XPS filtering/conversion is getting something wrong; but then it could be complicated by an addtitional bug in the print driver which is why the report says the bug depends on what printer is used for printing.

printing to pdf should be independent of printer.

Re: Edge displays “123456” in PDF but prints “114447”

#55
post #50

Maybe we really should bring https://pdfviewer.io to Windows. Looks like the default app is somewhat crap :P

Why doesn't everyone use FoxitPDF in $current_year ?

Last time I tried it it had ads and was barely lighter than Adobe Reader

Re: Edge displays “123456” in PDF but prints “114447”

#57
post #44

Earlier quoted context omitted.

It's such an awesome feature. I don't use macOS as much as I used to but I will always switch to my Mac when I get a doc to sign, which is a lot. It must have saved many many millions of sheets of paper.

To be fair, on a Microsoft Surface you would just use your pen to sign directly on the screen which is much more natural. It doesn't make any sense to me that Steve Jobs was so anti-pen, while also pushing for intuitive interaction.

Providing a pen is an excuse to leave controls that are too small to use with your fingers. So while Windows now has a Touch mode where many controls are larger, many others which are also essential to using the system are tiny and hard or impossible to use by touch. That is what Steve Jobs was trying (successfully) to avoid.

Re: Edge displays “123456” in PDF but prints “114447”

#58

Earlier quoted context omitted.

The built-in MacOS support for PDF is great. Any app that can print to a printer can print to a PDF file. And the Preview app, despite its name, can edit PDFs to add annotations (text, graphics), add or remove pages, etc. There's also a feature by which you sign your name on a piece of paper, hold it up to the camera, and it will capture it and insert it into a the document. It's convenient that these are built in an…

I worked on Preview at Apple from 2008-2011 and created the signature capture feature. It's always cool to hear people talk about it!

Man, this signature thing, PLUS ability to delete selected pages from big PDF is a killer on Preview.

I cry every day I'm on windows and need to do those simple things which Preview made so easy while being light.

Thank you for this!

Re: Edge displays “123456” in PDF but prints “114447”

#59
post #8

Earlier quoted context omitted.

As someone who works in PDFs constantly (due to work in local government), I would say the point of a PDF is to be able to reproduce the result given a file, not to assume the file cannot be changed... you can easily edit and save PDF files using Acrobat, for example. It is common that when you "print to PDF" you take the output of the printer and serialize that to PDF. I use this feature often on my Mac (which I thi…

Absolutely right. PDF fixes the problem Word documents have where different versions of Word tends to render the document ever so differently. Usually in a way that seems to mess up all those beautiful page breaks you meticulously planned. It does this by every element having absolute positioning.

Most people don't know you can open a PDF in Word 2016 and edit it, just like a .doc/.docx file...

Of course, reflowing the document is really painful with that source.

Re: Edge displays “123456” in PDF but prints “114447”

#60
post #44

Earlier quoted context omitted.

It's such an awesome feature. I don't use macOS as much as I used to but I will always switch to my Mac when I get a doc to sign, which is a lot. It must have saved many many millions of sheets of paper.

To be fair, on a Microsoft Surface you would just use your pen to sign directly on the screen which is much more natural. It doesn't make any sense to me that Steve Jobs was so anti-pen, while also pushing for intuitive interaction.

That's how it works on an iPad. Touch/pen interfaces are terrible on the PC/Laptop form factor though. At best you gimp your desktop metaphor so it's functional with touch, at worst you have an unusable touch interface.
Post reply on HN