News: 1666607234

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Firefox points the way to eradicating one of the rudest words online: PDF

(2022/10/24)


Comment It's not sexy but it is good. Mozilla deserves our love for implementing a better PDF reader in the new Firefox browser, 106. It takes away the pain, just a bit, by doing in-browser renderings that can be annotated, decreasing the chance you'll have to find a third-party reader that does what you need.

Because, yes, it's 2022 and we're still expected to choose between different readers and download them like peasants. Bad enough on the desktop, infuriating on mobile. Which one will work with which documents? Which one is most secure? Which is going to stop halfway down a document until you watch an advert or pay for some Pro version? All you wanted to do was read a document that someone sent you in PDF, the world's least favorite format.

The list of PDF's sins puts Las Vegas to shame, and they all stem from one of the 1990s' most grievous misconceptions, that the digital would be a more exploitable clone of the physical. That assumption is far from dead – it's why corporate VR is so awful – even though PDF has been a glaring demonstration of that folly for decades.

[1]

PDF is skeuomorphic, intended to carry the character of an old entity into a new one. It is designed to produce an exact replica of a printed document. Great if you want printed documents, terrible if you don't. But PDF works from the assumption that because human readable data has been distributed in formats that can't change from cuneiform to Caxton to Agatha Christie, that's how it's going to be in computer land.

[2]

[3]

You don't need to be told how that's has worked out. The digital realm has evolved at unseemly speed to a rich environment of screens from one inch to 70. Content can flow and shift, it's interactive, responsive, shareable, searchable, translatable – as fluid as the bits it rides on.

PDF is good at precisely none of this, and fiercely resistant to most of it. You want to cut and paste? We turned that switch off, you mad fool. Extract the text from that two-column formatted research paper? Have fun with that, and don't think too long about the idea of research papers being to share data. You'll only smudge your makeup with the tears.

[4]

It didn't have to be like this. PDF, while unwieldy and anachronistic, has all sorts of internal features that should help, such as internal tags to help hoick out document components so they can be rebuilt in better ways. As much container as content format, it can incorporate what used to be called multimedia, even 3D. But you won't get any telemetry out of it, no user behavioral data, which is arguably a blessing but blights good and bad hats equally.

[5]Starlink, shot by both sides in Ukrainian fracas, lives to fight on

[6]How do you protect your online systems? Cultivate an insider threat

[7]The open internet repels its most insidious attackers. They'll return

[8]Rust is eating into our systems, and it's a good thing

Nobody uses the good stuff, because by promising that computerized content is dead trees with digital halos, PDF has seduced organizations into taking the easy track of not bothering to update their thinking. The result is one of the classic paradoxes of IT: people continue to implement bad technology even though they know how bad it is through their own everyday lives. Thus, there continues to be a market for PDF-based document workflow systems that demand PDF inputs and produce PDF outputs, no matter how much the humans at either end grind their teeth in frustration. You work around it, because what else do you do, and we all party like it's 1993.

The results are lost productivity, lost opportunity, even lost users. Websites with important documentation only available in PDF and accessibility "help" that says: "You may need to download a special screen reader if you can't see this. Ask your IT department for advice." Not forgetting: "Please print out this form, fill it in, and send back a scan." But mostly, it's just endless clunky docs you have to fight to read, just because. Is that a desirable experience for anyone?

Mozilla's decision to help sooth the madness is a beacon of hope. The days when users have to know there's even such a thing as a file format, let alone how to handle one, should be long gone. That's the computer's job; making it so is our job. Mozilla knows this, even Google knows this – with no anti-user commercial pressure to lock down an ecosystem, GDocs is fairly good at ingesting all sorts of formats and converting them to an internal format the user never sees. It's not perfect, it's a hard job to ride that herd, and hard to make a business case for it, but it's the future. Even if, by now, it should be the present.

Here's the challenge: Build a decent online document creation, workflow and life cycle management system that only cares about formats when you tell it to. Otherwise, produce a container with all the data and all the layout, all the interactivity, all the workflow metadata, in a way that lets the renderer make all the right decisions for what the human wants. We could have had this years ago, the technology is long invented. The innovation, the magic twist that will liberate us from this particular jail, is making the people who use it realize they're not lost in the pulp fiction of ink on paper. That has no place on our desktops, in the cloud, or in our minds. ®

Get our [9]Tech Resources



[1] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_offbeat/columnists&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2Y1a2mxEKg-FVVfs7V6dNIgAAAEE&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0

[2] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_offbeat/columnists&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44Y1a2mxEKg-FVVfs7V6dNIgAAAEE&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[3] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_offbeat/columnists&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33Y1a2mxEKg-FVVfs7V6dNIgAAAEE&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[4] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_offbeat/columnists&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44Y1a2mxEKg-FVVfs7V6dNIgAAAEE&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[5] https://www.theregister.com/2022/10/17/opinion_column/

[6] https://www.theregister.com/2022/10/10/opinion_infosec/

[7] https://www.theregister.com/2022/10/03/open_internet_opinion_column/

[8] https://www.theregister.com/2022/09/26/rust_column/

[9] https://whitepapers.theregister.com/



I don't mind PDFs

Piro

They're not the best thing ever, but I get a self-contained document that I can view as I please on any device.

I certainly don't have hatred for them.

Re: I don't mind PDFs

standup

And I certainly prefer them to this horrible "modern web design" aesthetic with excessive whitespace and low contrast text. As long as they are mostly free of this disgusting style, I don't care how clunky PDFs are.

The scourge of modern design just shows how the Web as a medium has declined and what a piece of s**t it has turned into, in so many different ways.

Re: I don't mind PDFs

lglethal

" shows how the Web as a medium has declined and what a piece of s**t it has turned into,"

I don't know if I would say it's declined. It's always been bad. The flashing text and animated gifs of the GeoSpace days, flash everywhere through the 90's, now everything designed by UI "Experts" who havent got a clue what there spouting in between the Joss Sticks.

The Internet has never been a good Medium from a UI point of view. We've always just worked around it. The difference is that in the past it was bad because it was left to some programmer who went with what was most convenient or had the flashiest new effect that they wanted to try out. Now people actually pay some consultant to tell them what to do. And those consultants seem to be having a competition as to who can get their clients to install the worst possible User Interface. I believe Satan is already collecting a shortlist of contenders as we speak...

Re: I don't mind PDFs

standup

These "expert" designers are just full of hot air, they are bullshit artists, peddling their garbage wares. Very good sales techniques for an absolutely bottom of the barrel product. It's the "if Apple does it, so can we" mentality.

Re: I don't mind PDFs

Missing Semicolon

To be fair, away from Geocities, web "applications" (static pages generated from dynamic data) - i.e., web1.0 - could at least express a reasonable amount of data

A suitably-crafted

attribute makes a reasonable on-screen simulacrum of a paper table, or a spreadsheet.

Nowadays you can fit about 6 rows on a HD screen.

Re: I don't mind PDFs

bombastic bob

those consultants seem to be having a competition as to who can get their clients to install the worst possible User Interface.

/me looks at this page, right now, is reminded of recent 2D FLATTY changes to its appearance as well as the uber-tiny edit font, and agrees.

Re: I don't mind PDFs

abetancort

Try printing a web page, a mess. Saving it a bigger mess. Everything has to be viewed on a computer screen, convert it to anything and you get long, long continuous piece of garbage without a page break.

Re: I don't mind PDFs

LDS

Ditto.

The problem with re flowing text and images trying to accommodate different screen layouts brings to unreadable documents, as soon as they have some strong relationship among text, graphs, images, boxes, etc.

I gave up e-readers and tablets but for reading some "throwaway" books, mostly novels, something you read once and won't feel the need to return to it anytime soon - thereby not worth to be printed on paper and occupy shelf space. Everything else is far more accessible on paper - and PDF is what is closest to it.

Our customers do ask for PDF manuals because they can print them if needed. Give the a bunch of HTML pages you can't print in any sensible way and it would be almost useless. We do have on-help today is mostly HTML, but for extensive explanation of complex features that need references to images and graphs, PDF is still better.

Try to tell someone "look at page 57, what you're looking for is there" - with an HTML file.... and no, telling "it's at paragraph 4.35.22.2535.2222" is not that simple, hard to memorize, and less practical to find, even with a decent search function.

Re: I don't mind PDFs

nijam

> ... "look at page 57, what you're looking for is there"

er, isn't that what linskare for?

Re: I don't mind PDFs

Fred Daggy

Yes, yes ... you can read them on any device.

Whether that it something you'd want to do is another thing. Tried doing that on the phone? Not pleasant. Scroll, scroll, "crap", zoom out, zoom in, scroll scroll scroll. E-readers - with e-ink? Pretty much hopeless as the more complex the document, the harder it is to convert.

And lets not forget the Letter versus A4 wars that battle themselves wherever a "PC Load Letter" sign is blinking, and beeping. The document is NOT the same, even if automagic resizing takes place. Die PDF, Die.

Not having read the spec, i'd wager PDF has no concept of a paragraph. That would probably make the whole thing a lot easier for everyone. Or it's not implemented in any meaningful way.

Re: I don't mind PDFs

abetancort

PDF standard is so extensive that it has coverage for almost anything you could think of. Another totally different thing is that the people creating them with the proper authoring tools don't use everything. Authoring a PDF is not done by just printing from word to PDF.

Re: I don't mind PDFs

Arthur the cat

Authoring a PDF is not done by just printing from word to PDF.

s/is not done/should not be done/

Re: I don't mind PDFs

vtcodger

Y'know, I used to dislike PDFs. Slow, kluncky way to present information. And trying to extract text from them for notes, comments, reference can be painful. Or outright impossible. But a number of years ago, a lawyer pointed out to me that HE liked PDFs because documents in PDF form look more or less exactly like their paper and ink equivalent and in his profession having proper layout is important. It sometimes tells him whether material is substantive or explanatory or opinion. And he can go quickly to the section(s) of interest to him.

He's got a point. If users like/need PDFs. We should probably try to give them what they want instead of trying to force them to use some "better" alternative that they loathe.

Re: I don't mind PDFs

standup

Sounds like typical Mozilla arrogance culture there. They think they know better than their users, and it's for their own good too.

They've done this before with mandatory unblockable phoning home, etc.

In newer versions of Firefox you can't disable the update check and the notification too, for the user's (or the collective Internet's) own good. Typical leftist or collectivist attitude there, although I might be reading into it too much. But actually I've seen other examples of this attitude on their Bugzilla when users complain about some anti-customization related change, by the way. Mozilla can make a huge step back in one way or the other and they just tell people they "should embrace change".

Re: I don't mind PDFs

Chris Gray 1

Hmm. Firefox 88.0 here - new enough? I'm on an ancient version of Linux, and new versions of Firefox are offered by the Linux package tools. Firefox itself has never offered. There may be some config: thing I turned off years ago.

Re: I don't mind PDFs

Gene Cash

Yes. I can see using the internal PDF "support" in the next version being mandatory "for security" and any settings to use your preferred reader will be ignored.

That would be the Mozilla way.

Re: I don't mind PDFs

Ididntbringacoat

"Sounds like typical Mozilla arrogance culture there. They think they know better than their users, and it's for their own good too.

. . . and they just tell people they "should embrace change"."

So, you're a big Microsoft Fan then?

Re: I don't mind PDFs

LDS

Mozilla just added PDF features - the rest is just the opinion of the article's writer.

Re: I don't mind PDFs

bombastic bob

I use PDF to e-mail invoices. easily created. And I do NOT like in-browser PDF readers!!! I use atril on FreeBSD or Linux.(the 'system default')

Fortunately Firefox (last I checked) allows you to pick the system default PDF reader, or even force to "Save File" to avoid opening in the browser.

But I _NEVER_ use adobe, not since a version of it prompted me for MY E-MAIL ADDRESS... and hit the internet for a bunch of GARBAGE. It came pre-installed on that computer (a win 7 box). Uninstalled adobe, installed e-vince (which has a winders version), never looked back.

What PDF is

Charlie Clark

PDF is skeuomorphic, intended to carry the character of an old entity into a new one. It is designed to produce an exact replica of a printed document.

Well, seeing as it's based on PostScript, which was designed for printing documents, this makes sense.

My biggest problem, along with poor reflowing on e-readers, is the abuse of the format to obfuscate information. Politicians seem particularly guilty of this because it lets them follow the letter of the law about freedom information whilst making it hard for anyone to do anything with the information.

Use tools for what they are good for

alain williams

PDFs are great for making something that will look the same for everyone.

If you want something that adapts to the viewing device then do not use a PDF; this is something that HTML is good at.

If you want a form completed and submitted why use a PDF ? Some do that as a way of preserving their existing documents but just doing it over the web. If you want to do it over the web then HTML has got excellent forms ability, just please do not make it unusable with too much Javascript.

Re: Use tools for what they are good for

Hans Neeson-Bumpsadese

HTML will adapt to the viewing device (assuming that the HTML has been crafted correctly) but I'm not convinced about it providing something that will look the same for everyone. For example, it relies on the necessary fonts being installed on the client machine, or able to be downloaded dynamically...not something that can be guaranteed.

Also, an HTML 'document' is likely to have a number of sub-components, like image files, etc. required to render the final article. That makes it much less convenient as a thing that can just be shared in the way that a single PDF file can be.

Re: Use tools for what they are good for

vtcodger

HTML stands for Hypertext Markup Language, not Hypertext Layout Language. No it won't look the same on all devices. It's not supposed to. It just presents the same content in a hopefully acceptable, but device specific, way on all supported devices.

I suspect an HTLL were it attempted would produce quite awful results much of the time.

Re: Use tools for what they are good for

bombastic bob

I have actually made it possible, within some limits, to display an HTML interface on multiple differently-sized screens (for embedded) such that no matter how large or small the screen is (physical and/or resolution), the interface remains the same relative size with a similar appearance.

Careful use of 'rem' and '%' in sizing (and being explicit about it), as well as setting the size of the default font for 'html' style section to be according to that screen size, makes it possible. Then you can put anything wherever you want it to go, and as long as the aspect ratio of the display is reasonably close, it will work and have a consistent appearance. (this is using Chrome in kiosk mode of course)

So within reason, it IS possible to set up your style sheets and web paghes to display them consistently (within reason), just not necessarily easy. But, if needs demand it, it CAN be done, and is practical to do.

And In My Bombastic Opinion the web page rendering for portrait mode on a phone should always say 'please rotate your device 90 degrees'

Re: Use tools for what they are good for

nintendoeats

This is what I was going to say. I was recently submitting resumes. I obviously don't care if they can be read on a phone, but I definitely do care that everybody will see the formatting that I did when creating it. Thus, PDF.

Re: Use tools for what they are good for

Giles C

On a website I run there is an online application form and a link to the paper (pdf) version that can be downloaded and printed out.

I also hold archives of the minutes of meetings and old editions of the club magazine again in pdf format so it can be reprinted exactly as the original publication.

PDF for these is perfect as some of the original publications are in a format that you can’t read anymore as the original application isn’t supported (and I haven’t anything it can run on…)

Re: Use tools for what they are good for

nijam

> ... something that will look the same for everyone

Unless their page size is different to the authors. Or they don't have the right fonts installed. Or lots of other things, probably.

LosD

You seem to have turned stuff on its head. It's a blessing when documentation is in a proper PDF instead of god-awful HTML documents (and worse, when there is no single-page version of that HTML)

standup

Absolutely spot on. Books are tried and tested, we know what works well. While the Web is full of faddish, fashion-trend "designer" bullshit, which I think we can thank Apple for starting.

Neil Barnes

/me casts a quick glance at two 1000+ page manuals and fiercely agrees with the previous poster.

standup

And just recently, while learning a new programming language, I've been searching through PDF/epub programming books and actually it's faster than Googling it, and the results are more relevant as well.

I'm in fact planning on torrenting an entire ebook library (such as Library Genesis or Z-Library) and once that's done, I will try and get a search engine installed on my local computer, then I'm really going to pull the plug on the Internet for considerable lengths of time... Bye bye surveillance nightmare....

Yes, that requires multiple ~20TB drives, and I am prepared to pay for it, because the level of Internet surveillance today is so intolerable, knowing that Tor is no longer secure anymore and VPNs are practically useless. Finally some amazing tech to look forward to, for me, it's just like the 90s again. And too, I have finally found freedom again! I can read anything I want without intelligence agencies knowing about it.

And I can't wait for the day when the whole library's going to fit on a Micro SD card and I can have it all in my pocket, no network connection required absolutely and thus no government or moral busybody snooping, period. Incredible.

re I think we can thank Apple for starting.

Anonymous Coward

But.... millions of people thoughts for years that the big "E" sign or the AOL sign was the internet. Apple were nowhere. 'E' as in Internet Exploder.

Apple Mac's were around 10% of Personal Computer sales. Only with the iPhone did their presence on the Internet really grow.

AFAIK, they are still only around 12% of sales in that sector.

Re: re I think we can thank Apple for starting.

standup

It was the iPhone that started it, flashy animated pretty UIs over functional logically designed ones. They basically started the "User eXperience" movement that started to prioritise flashiness and aesthetics over function. And making the interface "delightful". F**k that.

Also apple came up with the idea of a mouse with one button... Dumbed down from the very beginning.

And I think the original Macintrash was the first computer that were not designed to be user serviceable in any way. Had tamper proof screws on the case, at least ones you could not open using a normal screwdriver. And the minimalist one-piece design with monitor and CPU in the same case.

Makes for good [1]target practice . Some very satisfying destruction there, how nice, I still remember that site from the early 00's.

[1] https://powlus.net/macintrashin/

fidodogbreath

It's a blessing when documentation is in a proper PDF instead of god-awful HTML documents (and worse, when there is no single-page version of that HTML)

Agreed. It also means that I can easily save my own local copy of said document so it is available when I need it, even if the company has gone under / been acquired / lost interest / purged product docs the nanosecond they became EOL.

nijam

> ... documentation is in a proper PDF ...

I think the problem is that no-one ever quite manages to get things into a "proper" PDF.

J.G.Harston

Having just submitted my tax return, I think the HMRC website gets this about right. All the data input and presentation is in web/html. You can jump back and forth, you aren't blocked from filling page 6 because you haven't done page 5 yet. When completed you can review everything in web/html, with an option to download a PDF version as an offline reference. Which I do, print off, and file away, because I'm like that.

Please, HMRC, your submission website works! Yes, there are niggly flaws, but please, don't let the consultants and politicians nag you into "making it better" and breaking it. It's fine as it is.

Hans Neeson-Bumpsadese

I agree - when self-assessment moved from paper to online I was kind of dreading it, but the HMRC website is pretty darned good. Similarly, Companies House for online submission of forms is another good example of a data entry website done right.

Neil Barnes

It's everywhere else that they have a problem...

e.g. Charging me double tax for six months, giving me a refund, then not charging me anything for ten months, taking 50% of my last two months, then charging normal paye, and last week telling me I underpaid last year so they're adjusting the tax code next year...

I don't dispute the amount, I just dispute the idiotic way they go about doing everything two years late.

Zbig

Funny and ironic how when I was part through reading about how bad old PDF doesn't move with times and modern "responsive" web, the webpage jumped and moved to accommodate for an ad changing for one with different height, making me lose track. It only took two more ad reloads and me having to hunt for where I was until I gave up on finishing reading how unwieldy and inconvenient PDF is.

standup

I thought they were trying to phase out PDFs at first, thank God that's not going to happen anytime soon. *Much* prefer PDFs and e-readers to the Web.

HTML vs PDF

alain williams

the webpage jumped and moved to accommodate for an ad changing for one with different height

It is possible to create a mess with even the best of tools. Do not blame HTML for some numpty mangling it with Javascript from some framework that s/he does not really understand.

Re: HTML vs PDF

DJV

Or use something like uBlock Origin to chop out all the shit on a web page that you're just not interested in.

Re: HTML vs PDF

standup

It's certainly not the fault of the HTML/CSS/JavaScript technology itself. But it's the fault of the community surrounding such tools.

If you want PDF you are going to get people with background in the print/book industry to design your document.

If you want HTML you are going to get web "designers" and all their stupid, flashy, excessively padded, low contrast text fads coming with it.

So go for PDF and other formats that have roots in books, etc. and you are not going to get the bullshit. PDF supports hypertext too, you can link to other files, etc. So you still get some of the HTML functionality, without the crap. And it's *proper* native vector graphics, with *loads* of features, and it's had support for that for 20+ years, you can't say that about HTML.

And PDF, once downloaded, doesn't spy on your every single turn of the page, as any Web site does routinely.

Pretty Damn Friendly

Anonymous Coward

As long as you know how to set them up properly for online accessibility, etc.

Re: Pretty Damn Friendly

Version 1.0

Are people Continuously Understanding New Technology Systems? Ops, I expect that AI will eradicate this.

Kubla Cant

"Please print out this form, fill it in, and send back a scan."

Even worse, "Please print out this 20-page contract, sign the last page, scan all 20 pages back in, and email it to us".

So I try to add a scanned signature to the original PDF. Not allowed.

Maybe I can just print the final page, scan it and replace it in the original document. Not possible.

Libre Office can edit PDFs, but the result never looks quite like the original document.

The only solution seems to be to print the thing to 20 single-page image files, edit the final one to add a signature, then assemble them all into a new PDF. But life's not long enough, so print'n'scan it is.

LogicGate

If you need to accurately edit a PDF, then inkscape is a great tool.

Yes, it currently only opens a single page at a time... maybe something to put into a feature request.

Still, this can be worked around.

dhawkshaw

As it happens, the latest version of Inkscape now supports multi-page documents in SVG, and so can import multiple pages of PDF :)

LogicGate

Oooooh!

I will have to look into that. Very useful!

Inkscape can also be very useful if you need a CAD model of a part, and the vendor only offers a 2d pdf (requirement: drawings in vector format)

Pipeline: pdf -> inkscape -> dxf -> CAD program -> 3d model.

A bit of work but muuch better than twiddling around with bitmaps as background to your parametric scetches.

A properly imported pdf can often let you mage very good guesses at the original parametric measurements of the part, even if curves have been chopped into multiple line segments and similar.

LDS

Have you have ever tried the "sign" feature of Acrobat? The reason is a signature could be added to a document, but can't allow the **original** document to be changed.

The chat program is in public domain. This is not the GNU public license. If
it breaks then you get to keep both pieces.
(Copyright notice for the chat program)