Name

set_title_font( ) — set font for graph title

Synopsis

GIFgraph::set_title_font(fontname)

This method sets which of the five GD fonts used to title the graph. The fontname parameter should be one of: gdSmallFont, gdLargeFont, gdMediumBoldFont, gdTinyFont, or gdGiantFont. The default font is gdLargeFont. Note that in order to use these fonts you must import the GD module first with the command use GD.

Get Programming Web Graphics with Perl and GNU Softwar now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.