{{newin (日本語)|[[0.10.0 (日本語)|0.10.0]]|100|type=関数}}
Replaces the [[Font]] used with the text.

{{notice|This function can be slow if it is called repeatedly, such as from [[love.update]] or [[love.draw]]. Create multiple Text objects with different Fonts if you need to rapidly switch fonts.}}

== 関数 ==
=== 概要 ===
<source lang="lua">
Text:setFont( font )
</source>
=== 引数 ===
{{param (日本語)|Font|font|The new font to use with this Text object.}}
=== 返値 ===
ありません。

== 関連 ==
* [[parent::Text (日本語)]]
* [[Text:getFont (日本語)]]
[[Category:Functions (日本語)]]
{{#set:Description=Replaces the [[Font]] used with the text.}}
== そのほかの言語 ==
{{i18n (日本語)|Text:setFont}}