For those following this, I corrected some typos (???? spelled wrong; numbers should not use the ????? form) in the Hebrew calendar. flexcal now stands at version 1.2
After playing with creating PDFs with PHP using fPDF for a while, and trying to get everything to work consistently, I discovered tcpdf, which is a fork of fpdf that includes everything that anyone has ever added to the original. And I mean everything; this thing is huge! I printed out the source to see [...]
I get lots of comment spam, either obvious ads for dubious products or boilerplate praise in almost understandable Engfish ("This is the most coherent soliloquy on this germane topic in the recent memory") with links to the ads. But I'd never seen comment spam that went out of its way to insult me: The subsequent [...]
I'm trying to test textpopup but (at least with jQuery 1.6.1 in Firefox), $.get with a local file fetches an XML document, not the text, unless I explicitly use the dataType parameter to set it to 'html'. Which I have now done. A small change, but it took me an hour to track it down. [...]
I definitely like my iPod Touch better than my old Windows Mobile 6 phone, and I had hoped that the time zone/daylight savings misery I had on Windows would be behind me. No such luck. When I went to New York for Pesach this year, I dutifully changed the time zone (Settings->General->Date & Time->Time Zone) [...]
Looking at FPDF and at my PDF tutorial, it is clear that there are a few things that PDF's can do that aren't part of the API of FPDF. However, FPDF is easily extensible to include everything I might find useful, so I put together a package of those routines. See the code. See the [...]
Now that we can draw in our PDF, we want to add images. There are two kinds of images, bitmapped and vector. In PDF, images are called XObjects (The X stands for external, meaning defined outside the page). Vector images are easier, since they are just packages of PDF drawing commands, a sort of macro. [...]
Now that we can create blank PDF's, it's time to add some stuff. Vector drawing commands (lines and shapes) are simple; you just add the commands to the page content stream. In terms of the original class that would be: $this->pages[count($this->pages)-1]->contents .= "the command\n"; // we just need some whitespace at the end, but the [...]