in reply to Font size in GD::Graph module
From the GD pod:
Depending on your version of GD, this accepts both GD builtin fonts or + the name of a TrueType font file. In the case of a TrueType font, you must spec +ify the font size. See the GD::Text manpage for more details and other things, + since all font handling in GD::Graph is delegated to there. Examples: $my_graph->set_title_font('/fonts/arial.ttf', 18); $my_graph->set_legend_font(gdTinyFont); $my_graph->set_legend_font( ['verdana', 'arial', gdMediumBoldFont], 12) (The above discussion is based on GD::Text 0.65. Older versions have more restrictive behaviour).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Font size in GD::Graph module
by Nalina (Monk) on Jul 08, 2004 at 12:14 UTC | |
by BrowserUk (Patriarch) on Jul 08, 2004 at 13:24 UTC | |
by Nalina (Monk) on Jul 09, 2004 at 06:14 UTC |