TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

142 点作者 noxin大约 8 年前

10 条评论

danso大约 8 年前
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 未加载
nom大约 8 年前
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 未加载
faragon大约 8 年前
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 未加载
dualogy大约 8 年前
Well.. 1+2+3+4+5+6 == 1+1+4+4+4+7 --- a bug with a sense for &#x27;numerology&#x27;!
EliRivers大约 8 年前
This reminds me of that photocopier that changed the numbers it was copying sometimes, through a dodgy image compression algorithm.
评论 #14268920 未加载
评论 #14268776 未加载
评论 #14268805 未加载
cmurf大约 8 年前
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 未加载
askvictor大约 8 年前
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.
wdr1大约 8 年前
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>?
hoodoof大约 8 年前
x
评论 #14270987 未加载
评论 #14270975 未加载
steipete大约 8 年前
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 未加载