Page 1 of 1

Custom font and font size

Posted: Mon Jun 30, 2008 10:06 am
by ntherning

I have patched Eastwood to be able to specify my own font. I've done this using servlet init-params. The user can either specify a TTF file containing the font or give the name of a font to be used instead of the default Dialog font. The default font size is also configurable using an init-param.

I'd like to add this to Eastwood. What do you think?

Posted: Tue Jul 01, 2008 8:00 am
by david.gilbert
Yes, this sounds good to me.



Posted: Wed Jul 02, 2008 9:02 am
by ntherning
The patch has been committed. Here's an example of how to use it:

Code: Select all

See the Javadoc for ChartServlet for more info on the available init-params.

Changes: ... evision=25