Re:Edge displays “123456” in PDF but prints “114447”
by jdmichal on Thursday May 04, 2017 @06:15PM
(#14269347)
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.
[ Parent
| on HN ]
Re:Edge displays “123456” in PDF but prints “114447”
by Maarten88 on Friday May 05, 2017 @04:43AM
(#14271989)
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”
by MichaelGG on Thursday May 04, 2017 @06:27PM
(#14269439)
And is the scourge of every paper I want to read on my Kindle. Everyone publishes their PDFs and there seems to be no reliable way to reflow them.
Re:Edge displays “123456” in PDF but prints “114447”
by r00fus on Thursday May 04, 2017 @07:18PM
(#14269726)
Which is why ePub and other digital book formats exist. I'm glad there is a format that prioritizes WYSIWYG over reflow (though the part of the spec where the introduced scripting is a bit dodgy)
Re:Edge displays “123456” in PDF but prints “114447”
by CoryG89 on Thursday May 04, 2017 @06:39PM
(#14269506)
The "Reading Mode" on the Adobe's Acrobat app for Android does a pretty good job of reflowing most of the PDFs I've thrown at it.
Re:Edge displays “123456” in PDF but prints “114447”
by jdmichal on Thursday May 04, 2017 @06:49PM
(#14269563)
Should be able to easily reflow text as long as it's using newline operators (T*, ', "). Might still need some basic heuristics for paragraph breaks. But much better than the alternative of attempting to correlate individual lines of text together based on positioning.
Re:Edge displays “123456” in PDF but prints “114447”
by H4CK3RM4N on Friday May 05, 2017 @04:55AM
(#14272046)
I use calibri for my E-Books, and it seems to do a pretty good job of reflowing PDFs(and exporting to mobi). YMMV though, especially if headers/footers are badly done.
Re:Edge displays “123456” in PDF but prints “114447”
by PhasmaFelis on Friday May 05, 2017 @12:49AM
(#14271171)
Off-topic, but you seem like you might know: why does text copied from PDFs sometimes have messed-up spaces? It seems to guess where the spaces should go based on kerning, so with justified text, a widely-spaced line may come out with a space between each letter, while a narrowly-spaced one has no spaces at all.
(Also the thing where it inserts line breaks at the end of every print line is maddening)
Re:Edge displays “123456” in PDF but prints “114447”
by mnw21cam on Friday May 05, 2017 @04:57AM
(#14272051)
That's often caused by the font specified in the PDF not being available on the platform where the PDF viewer is running, so a different font has been used instead.
Re:Edge displays “123456” in PDF but prints “114447”
by PhasmaFelis on Sunday May 07, 2017 @10:02PM
(#14288780)
Hmm. I may have been unclear--the PDF reads fine, but if I copy and paste some text into a text editor, I get the messed-up spaces. It seems as if the PDF doesn't encode text as text but just as a series of characters and locations, leaving spaces unrecorded, so when copy-pasting the reader has to guess from the distance between letters.