this post was submitted on 08 Nov 2024
43 points (100.0% liked)

Linux

5234 readers
99 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] mvirts@lemmy.world 13 points 1 week ago (3 children)

Sheesh can we get on with replacing pdf?

[–] FizzyOrange@programming.dev 12 points 1 week ago (2 children)

Eh, it practice it works extremely well. I can't remember a single instance where a PDF document rendered incorrectly.

The format is very old so it's not surprising it has picked up a few WTFs. I'm happy to keep those hidden below the abstraction.

[–] TheV2@programming.dev 5 points 1 week ago (1 children)

It works well for the actual purpose. But I'd be happy about a more accessible format for development. Currently whenever I need accurate reading/writing capabilities for PDF in a Rust project, at some point I fear that I might have to dedicate my life to PDF. And then I just give up.

[–] FizzyOrange@programming.dev 7 points 1 week ago

PDF writing isn't too bad IMO, since you don't need to understand the whole spec. I've written a PDF writer for maps from scratch and it was fairly easy and not too much code.

PDF reading though... Yeah I'm happy to leave that to people with more time and use their libraries.

A modern format would be nice, but I don't think it would be anywhere near nice enough to give up how universal PDF is.