--[[
Font database for font selection.
Written by Cosmin Apreutesei. Public Domain.
db = fontdb()
db:free()
db:add_font(font, name, [weight], [slant])
db:find_font(name|font, [weight, slant, size, bolder]) -> font,size | nil
]]
See the source code for more info.