Views
Page
Discussion
View source
History
love.graphics.newFont
Contents
1
Function
1.1
Synopsis
1.2
Arguments
1.3
Returns
2
See Also
Function
Synopsis
font
=
love
.
graphics
.
newFont
(
filename
,
size
)
Arguments
string
filename
The filepath to the font file.
number
size (12)
The size of the font.
Returns
Font
font
A Font object which can be used to draw text on screen.
See Also
love.graphics
Category
:
Functions
Personal tools
Log in
Search
documentation
love
love.audio
love.data
love.event
love.filesystem
love.font
love.graphics
love.image
love.joystick
love.keyboard
love.math
love.mouse
love.physics
love.sound
love.system
love.thread
love.timer
love.touch
love.video
love.window
lua-enet
luasocket
utf8
Navigation
Home
Forums
Issue tracker
wiki navigation
Main page
Recent changes
Random page
Tools
What links here
Related changes
Special pages
Permanent link
Page information
Browse properties