Function
love.graphics.setFont( size )
Load the default Font, and set it as current.

The default typeface is Bitstream Vera Sans.[p] [p] This function allocates a new font every time it is called. It should not be used in love.draw (memory will be depleted). Its only use is when you want to use a single font in all your program, and you invoke it during the load phase. If you are using more than one font, allocate them with love.graphics.newFont and set them individually with |love.graphics.setFont(font)|.

Synopsis
love.graphics.setFont( size )
Parameters
size = 12 number The size of the font.
Examples
Draw some text with default font, 18px
  1. love.graphics.setFont(18)
  2.  
  3. function love.draw()
  4.     love.graphics.print("Hello", 300, 300)
  5. end
Copyright © 2006-2010 LÖVE Development Team.