TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

142 pointsby noxinabout 8 years ago

10 comments

dansoabout 8 years ago
Just in case you don&#x27;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.<p>It&#x27;s not just the numbers that are misprinted, but the text inside those cells too, which suggests that Edge&#x27;s PDF engine is re-rendering the original PDF, rather than printing the original PDF as is, which I thought was the entire point of using PDF in the first place.<p>But maybe this is an edge case? In the sense that Microsoft assumes that given a PDF file, if a user wants to &quot;Print to PDF&quot;, the user should just <i>save</i> the PDF file. &quot;Print to PDF&quot; is ostensibly used to convert HTML&#x2F;DOC into PDF format.
评论 #14268911 未加载
评论 #14269358 未加载
评论 #14268988 未加载
评论 #14269204 未加载
评论 #14270621 未加载
评论 #14269471 未加载
评论 #14271793 未加载
评论 #14269656 未加载
评论 #14268879 未加载
nomabout 8 years ago
The PDF &quot;format&quot; never fails to amuse me. Check out the talk &quot;OMG WTF PDF&quot; [0] from the 27. Chaos Communication Congress, it&#x27;s eye opening.<p>0: <a href="https:&#x2F;&#x2F;media.ccc.de&#x2F;v&#x2F;27c3-4221-en-omg_wtf_pdf" rel="nofollow">https:&#x2F;&#x2F;media.ccc.de&#x2F;v&#x2F;27c3-4221-en-omg_wtf_pdf</a>
评论 #14271328 未加载
评论 #14272056 未加载
评论 #14270094 未加载
faragonabout 8 years ago
This reminds me JBIG2 compression errors... [1]<p>[1] <a href="https:&#x2F;&#x2F;abbyy.technology&#x2F;en:kb:tip:jbig2_compression_and_ocr" rel="nofollow">https:&#x2F;&#x2F;abbyy.technology&#x2F;en:kb:tip:jbig2_compression_and_ocr</a>
评论 #14270004 未加载
dualogyabout 8 years ago
Well.. 1+2+3+4+5+6 == 1+1+4+4+4+7 --- a bug with a sense for &#x27;numerology&#x27;!
EliRiversabout 8 years ago
This reminds me of that photocopier that changed the numbers it was copying sometimes, through a dodgy image compression algorithm.
评论 #14268920 未加载
评论 #14268776 未加载
评论 #14268805 未加载
cmurfabout 8 years ago
The PDF goes through different rendering paths for display vs print. It&#x27;s GDI+ for display, and WPF with an XPS spool file for print. So my guess is whatever does PDF to XPS filtering&#x2F;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.
评论 #14271892 未加载
askvictorabout 8 years ago
I&#x27;ve had similar issues with chrome&#x27;s PDF viewer where it displays one number, but if I copy paste, it shows a different number.
wdr1about 8 years ago
I wonder if it&#x27;s related to when Xerox copiers changed numbers?<p><a href="http:&#x2F;&#x2F;www.dkriesel.com&#x2F;en&#x2F;blog&#x2F;2013&#x2F;0802_xerox-workcentres_are_switching_written_numbers_when_scanning" rel="nofollow">http:&#x2F;&#x2F;www.dkriesel.com&#x2F;en&#x2F;blog&#x2F;2013&#x2F;0802_xerox-workcentres_...</a>?
hoodoofabout 8 years ago
x
评论 #14270987 未加载
评论 #14270975 未加载
steipeteabout 8 years ago
Maybe we really should bring <a href="https:&#x2F;&#x2F;pdfviewer.io" rel="nofollow">https:&#x2F;&#x2F;pdfviewer.io</a> to Windows. Looks like the default app is somewhat crap :P
评论 #14271542 未加载
评论 #14271055 未加载