News for hackers. Stuff that matters.
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.