Any good JavaScript reference will do, you just have to ignore the stuff that’s specific to web pages. I like “JavaScript the Definitive Guide” by David Flanagan.
Unfortunately you can’t control kerning or font selection from an expression. You can control tracking, line spacing, scale, and fill & stroke color though.
Dan