Roblox-File-Format/Plugins/GenerateApiDump/LegacyFonts.lua
2022-12-16 14:22:34 -06:00

15 lines
276 B
Lua

--!strict
local LegacyFonts = {} :: {
[string]: Enum.Font,
}
for i, font: Enum.Font in Enum.Font:GetEnumItems() do
if font ~= Enum.Font.Unknown then
local fontFace = Font.fromEnum(font)
LegacyFonts[tostring(fontFace)] = font
end
end
return table.freeze(LegacyFonts)