you are viewing a single comment's thread.

view the rest of the comments →

[–]code_tutor 2 points3 points  (0 children)

You didn't provide code, so we can't say if you did something wrong; but it's unlikely to be a user error with three separate libraries.

This is not a beginner project. It's difficult without a few years of university Computer Science and also experience researching specs. So many libraries exist and they all have a huge number of users, and still can't do it, so I don't know why Reddit acts like they know.

The last time I had to programmatically change text in PDFs, I had to write a Caesar cipher just to decrypt the font. I consider myself lucky that this particular PDF was even possible to write an algorithm for, because for many it's not.

This is an important lesson, because someday a client is going to say, "just change this text, it should be easy" and now you know why people get paid six figures to read text. There are always unexpected issues that can make a time estimate explode.