diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-20 17:28:53 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-20 17:28:53 +0800 |
commit | bd51baa6d764293a83d4e955b533e55b57e8e147 (patch) | |
tree | 77192e93b1cc164f4956a17acb042dfa0629a3c5 /meta/3rd/love2d/library/love.font.lua | |
parent | 15e011e334099a9c0c6bc34399fb90769600210f (diff) | |
download | lua-language-server-bd51baa6d764293a83d4e955b533e55b57e8e147.zip |
update
Diffstat (limited to 'meta/3rd/love2d/library/love.font.lua')
-rw-r--r-- | meta/3rd/love2d/library/love.font.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/3rd/love2d/library/love.font.lua b/meta/3rd/love2d/library/love.font.lua index 043bf81c..7ec34ef3 100644 --- a/meta/3rd/love2d/library/love.font.lua +++ b/meta/3rd/love2d/library/love.font.lua @@ -158,3 +158,9 @@ function Rasterizer:getLineHeight() end ---@param glyph2 love.string or number # Glyph ---@return boolean hasGlyphs # Whatever font contains specified glyphs. function Rasterizer:hasGlyphs(glyph1, glyph2) end + +---@class love.HintingMode +---@field normal integer # Default hinting. Should be preferred for typical antialiased fonts. +---@field light integer # Results in fuzzier text but can sometimes preserve the original glyph shapes of the text better than normal hinting. +---@field mono integer # Results in aliased / unsmoothed text with either full opacity or completely transparent pixels. Should be used when antialiasing is not desired for the font. +---@field none integer # Disables hinting for the font. Results in fuzzier text. |