News for hackers. Stuff that matters.
Re:Show HN: TinyPDF – 3KB PDF library (70x smaller than jsPDF) by IntelliAvatar on Thursday December 18, 2025 @04:19PM (#46318901)
3KB is wild. What features did you intentionally leave out to get this small?
Re:Show HN: TinyPDF – 3KB PDF library (70x smaller than jsPDF) by wonger_ on Friday December 19, 2025 @03:52PM (#46330766)
Not the author, but generating PDFs is much, much simpler than parsing PDFs
Re:Show HN: TinyPDF – 3KB PDF library (70x smaller than jsPDF) by IntelliAvatar on Sunday December 21, 2025 @02:34AM (#46342978)
That makes sense. I was mostly curious about what explicit trade-offs the author chose beyond “generation only” — e.g. fonts, Unicode, images, compression, etc.

Would be interesting to see a concrete “not supported” list from the author.

Re:Show HN: TinyPDF – 3KB PDF library (70x smaller than jsPDF) by lysace on Friday December 19, 2025 @04:35PM (#46331236)
Support for more than 7-bit ASCII characters. :)
Re:Show HN: TinyPDF – 3KB PDF library (70x smaller than jsPDF) by teaearlgraycold on Friday December 19, 2025 @05:36PM (#46331764)
It only supports Helvetica!
Re:Show HN: TinyPDF – 3KB PDF library (70x smaller than jsPDF) by hu3 on Saturday December 20, 2025 @08:38AM (#46336099)
utf-8