|
|
PDF generation hell Thursday, December 7 2017
Today I had another day similar to yesterday, though I got bogged down in the limitations of software designed to dynamically create custom .PDF. I was using a library called FPDF, which may have been the one I'd used many years ago (2008?) to dynamically generate graduation certificates for a primitive online course system called Mcertified.com (that site was built around a pre-packaged system called Moodle). The problem with FPDF is that you are forced to explicitly do a lot of things that modern software and programming languages have allowed us to forget how to do. In this case, I especially mean horizontal and vertical centering. Figuring out by trial and error what factors work to get texts of unknown lengths where they needed to be required the generation of something like 100 PDFs. Happily, though, my work was largely finished by 7:00pm.
[REDACTED]
Meanwhile Gretchen was down in the City visiting lots of people and attending several events. It's the kind of thing I hate doing, and from the way she was talking before she left, she wasn't super stoked about the impending frenetic socializing either.
For linking purposes this article's URL is: http://asecular.com/blog.php?171207 feedback previous | next |