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

Linux

5218 readers
9 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
top 5 comments
sorted by: hot top controversial new old
[–] mvirts@lemmy.world 12 points 5 days ago (1 children)

Sheesh can we get on with replacing pdf?

[–] FizzyOrange@programming.dev 12 points 5 days ago (1 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 4 days 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 4 days 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.

[–] ertai@programming.dev 5 points 5 days ago

ahahahhhAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARG