Gets the current Font object.

== Function ==
{{newin|[[0.9.0]]|090|type=variant}}
=== Synopsis ===
<source lang="lua">
font = love.graphics.getFont( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|Font|font|The current Font. Automatically creates and sets the default font, if none is set yet.}}

== Function ==
{{oldin|[[0.9.0]]|090|type=variant}}
=== Synopsis ===
<source lang="lua">
font = love.graphics.getFont( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|Font|font|The current Font, or nil if none is set.}}

== See Also ==
* [[parent::love.graphics]]
* [[love.graphics.setFont]]
[[Category:Functions]]
{{#set:Description=Gets the current Font object.}}
{{#set:Since=090}}
{{#set:PrettySince=0.9.0}}
{{#set:Sub-Category=State}}
== Other Languages ==
{{i18n|love.graphics.getFont}}