W3cubDocs

/LÖVE

love.font.newGlyphData

Available since LÖVE 0.7.0
This function is not supported in earlier versions.

Creates a new GlyphData.

Function

Synopsis

glyphData = love.font.newGlyphData( rasterizer, glyph )

Arguments

Rasterizer rasterizer
The Rasterizer containing the font.
number glyph
The character code of the glyph.

Returns

GlyphData glyphData
The GlyphData.

See Also

© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.font.newGlyphData