{{newin (日本語)|[[0.8.0 (日本語)|0.8.0]]|080|type=関数}}
Creates and sets a new [[Font]].
{{newobjectnotice (日本語)}}
== 関数 ==
=== 概要 ===
<source lang="lua">
font = love.graphics.setNewFont( size )
</source>
=== 引数 ===
{{param (日本語)|number|size (12)|The size of the font.}}
=== 返値 ===
{{param (日本語)|Font|font|The new font.}}
== 関数 ==
=== 概要 ===
<source lang="lua">
font = love.graphics.setNewFont( filename, size )
</source>
=== 引数 ===
{{param (日本語)|string|filename|The path and name of the file with the font.}}
{{param (日本語)|number|size (12)|The size of the font.}}
=== 返値 ===
{{param (日本語)|Font|font|The new font.}}
== 関数 ==
=== 概要 ===
<source lang="lua">
font = love.graphics.setNewFont( file, size )
</source>
=== 引数 ===
{{param (日本語)|File|file|A [[File]] with the font.}}
{{param (日本語)|number|size (12)|The size of the font.}}
=== 返値 ===
{{param (日本語)|Font|font|The new font.}}
== 関数 ==
=== 概要 ===
<source lang="lua">
font = love.graphics.setNewFont( data, size )
</source>
=== 引数 ===
{{param (日本語)|Data|data|A [[Data]] with the font.}}
{{param (日本語)|number|size (12)|The size of the font.}}
=== 返値 ===
{{param (日本語)|Font|font|The new font.}}
== 関数 ==
=== 概要 ===
<source lang="lua">
font = love.graphics.setNewFont( rasterizer )
</source>
=== 引数 ===
{{param (日本語)|Rasterizer|rasterizer|A rasterizer.}}
=== 返値 ===
{{param (日本語)|Font|font|The new font.}}
== 関連 ==
* [[parent::love.graphics (日本語)]]
* [[love.graphics.newFont (日本語)]]
* [[love.graphics.setFont (日本語)]]
[[Category:Functions (日本語)]]
[[Sub-Category::Object Creation (日本語)| ]]
{{#set:Description=Creates and sets a new [[Font]].}}
{{#set:Since=080}}
== そのほかの言語 ==
{{i18n (日本語)|love.graphics.setNewFont}}