Update Font.

main
jeffi 11 months ago
parent 920699bb12
commit 49b1a92252
  1. 107
      DiesalStyle-2.0/DiesalStyle-2.0.lua

@ -509,64 +509,49 @@ do -- | Text Formatters |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
end end
do -- | Set Media |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ do -- | Set Media |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
addMedia("font", "calibrib", "Fonts\\calibrib.ttf") addMedia("font", "calibrib", "Fonts\\calibrib.ttf")
-- Material addMedia("font", "DejaVuSansMono", "Fonts\\DejaVuSansMono.ttf") -- Monospaced
addMedia("font", "MaterialIcons", "Fonts\\MaterialIcons-Regular.ttf") addMedia("font", "DejaVuSansMonoBold", "Fonts\\DejaVuSansMono-Bold.ttf") -- Monospaced
--addMedia("font", "MaterialIconsOutlined", "Fonts\\MaterialIconsOutlined-Regular.ttf") addMedia("font", "FFF Intelligent Thin Condensed", "Fonts\\FFF Intelligent Thin Condensed.ttf") -- pixel fonts
addMedia("font", "MaterialIconsOutlined", "Fonts\\MaterialIconsOutlined-Regular.otf") addMedia("font", "FiraMonoBold", "Fonts\\FiraMono-Bold.ttf") -- Monospaced
addMedia("font", "MaterialIconsRound", "Fonts\\MaterialIconsRound-Regular.otf") addMedia("font", "FiraMonoMedium", "Fonts\\FiraMono-Medium.ttf") -- Monospaced
addMedia("font", "MaterialIconsSharp", "Fonts\\MaterialIconsSharp-Regular.otf") addMedia("font", "FiraMonoRegular", "Fonts\\FiraMono-Regular.ttf") -- Monospaced
addMedia("font", "MaterialIconsTwoTone", "Fonts\\MaterialIconsTwoTone-Regular.otf") addMedia("font", "FiraSans", "Fonts\\FiraSans-Regular.ttf") -- pixel fonts
addMedia("font", "MaterialSymbolsRounded", "Fonts\\MaterialSymbolsRounded.ttf") addMedia("font", "HackBold", "Fonts\\Hack-Bold.ttf") -- Monospaced
-- monospaced addMedia("font", "HackRegular", "Fonts\\Hack-Regular.ttf") -- Monospaced
addMedia("font", "DejaVuSansMono", "Fonts\\DejaVuSansMono.ttf") addMedia("font", "InconsolataBold", "Fonts\\Inconsolata-Bold.ttf") -- Monospaced
addMedia("font", "DejaVuSansMonoBold", "Fonts\\DejaVuSansMono-Bold.ttf") addMedia("font", "InconsolataRegular", "Fonts\\Inconsolata-Regular.ttf") -- Monospaced
addMedia("font", "LucidiaMono", "Fonts\\LUCON.ttf") -- Monospaced
addMedia("font", "FiraMonoMedium", "Fonts\\FiraMono-Medium.ttf") addMedia("font", "MaterialIcons", "Fonts\\MaterialIcons-Regular.ttf") -- Material
addMedia("font", "FiraMonoRegular", "Fonts\\FiraMono-Regular.ttf") addMedia("font", "MaterialIconsOutlinedTTF", "Fonts\\MaterialIconsOutlined-Regular.ttf") -- Material
addMedia("font", "FiraMonoBold", "Fonts\\FiraMono-Bold.ttf") addMedia("font", "MaterialIconsOutlined", "Fonts\\MaterialIconsOutlined-Regular.otf") -- Material
addMedia("font", "MaterialIconsRound", "Fonts\\MaterialIconsRound-Regular.otf") -- Material
addMedia("font", "HackRegular", "Fonts\\Hack-Regular.ttf") addMedia("font", "MaterialIconsSharp", "Fonts\\MaterialIconsSharp-Regular.otf") -- Material
addMedia("font", "HackBold", "Fonts\\Hack-Bold.ttf") addMedia("font", "MaterialIconsTwoTone", "Fonts\\MaterialIconsTwoTone-Regular.otf") -- Material
addMedia("font", "MaterialSymbolsRounded", "Fonts\\MaterialSymbolsRounded.ttf") -- Material
addMedia("font", "InconsolataRegular", "Fonts\\Inconsolata-Regular.ttf") addMedia("font", "MonoFur", "Fonts\\monof55.ttf") -- Monospaced
addMedia("font", "InconsolataBold", "Fonts\\Inconsolata-Bold.ttf") addMedia("font", "MonoFurItalic", "Fonts\\monof56.ttf") -- Monospaced
addMedia("font", "OfficeCodeProBold", "Fonts\\OfficeCodePro-Bold.ttf") -- Monospaced
addMedia("font", "LucidiaMono", "Fonts\\LUCON.ttf") addMedia("font", "OfficeCodeProMedium", "Fonts\\OfficeCodePro-Medium.ttf") -- Monospaced
addMedia("font", "OfficeCodeProRegular", "Fonts\\OfficeCodePro-Regular.ttf") -- Monospaced
addMedia("font", "MonoFur", "Fonts\\monof55.ttf") addMedia("font", "RobotoMonoBold", "Fonts\\RobotoMono-Bold.ttf") -- Monospaced
addMedia("font", "MonoFurItalic", "Fonts\\monof56.ttf") addMedia("font", "RobotoMonoMedium", "Fonts\\RobotoMono-Medium.ttf") -- Monospaced
addMedia("font", "RobotoMonoRegular", "Fonts\\RobotoMono-Regular.ttf") -- Monospaced
addMedia("font", "OfficeCodeProRegular", "Fonts\\OfficeCodePro-Regular.ttf") addMedia("font", "SourceCodeProBlack", "Fonts\\SourceCodePro-Black.ttf") -- Monospaced
addMedia("font", "OfficeCodeProMedium", "Fonts\\OfficeCodePro-Medium.ttf") addMedia("font", "SourceCodeProBold", "Fonts\\SourceCodePro-Bold.ttf") -- Monospaced
addMedia("font", "OfficeCodeProBold", "Fonts\\OfficeCodePro-Bold.ttf") addMedia("font", "SourceCodeProMedium", "Fonts\\SourceCodePro-Medium.ttf") -- Monospaced
addMedia("font", "SourceCodeProRegular", "Fonts\\SourceCodePro-Regular.ttf") -- Monospaced
addMedia("font", "RobotoMonoRegular", "Fonts\\RobotoMono-Regular.ttf") addMedia("font", "SourceCodeProSemibold", "Fonts\\SourceCodePro-Semibold.ttf") -- Monospaced
addMedia("font", "RobotoMonoMedium", "Fonts\\RobotoMono-Medium.ttf") addMedia("font", "Standard0755", "Fonts\\Standard0755.ttf") -- pixel fonts
addMedia("font", "RobotoMonoBold", "Fonts\\RobotoMono-Bold.ttf") addMedia("font", "UbuntuMonoBold", "Fonts\\UbuntuMono-B.ttf") -- Monospaced
addMedia("font", "UbuntuMonoRegular", "Fonts\\UbuntuMono-R.ttf") -- Monospaced
addMedia("font", "SourceCodeProRegular", "Fonts\\SourceCodePro-Regular.ttf")
addMedia("font", "SourceCodeProMedium", "Fonts\\SourceCodePro-Medium.ttf") addMedia("texture", "DiesalGUIcons", "Textures\\DiesalGUIcons16x256x128.tga") -- Icon Textures
addMedia("font", "SourceCodeProSemibold", "Fonts\\SourceCodePro-Semibold.ttf") addMedia("texture", "DiesalGUIcons64", "Textures\\DiesalGUIcons64x256x256.tga") -- Icon Textures
addMedia("font", "SourceCodeProBold", "Fonts\\SourceCodePro-Bold.ttf") addMedia("texture", "DiesalGUIcons32", "Textures\\DiesalGUIcons32x256x256.tga") -- Icons Textures
addMedia("font", "SourceCodeProBlack", "Fonts\\SourceCodePro-Black.ttf") addMedia("texture", "DiesalButtonIcons32", "Textures\\DiesalButtonIcons32x128x512.tga") -- Icons Textures
addMedia("font", "UbuntuMonoBold", "Fonts\\UbuntuMono-B.ttf") addMedia("border", "shadow", "Textures\\shadow.tga") -- Shadows
addMedia("font", "UbuntuMonoRegular", "Fonts\\UbuntuMono-R.ttf") addMedia("border", "shadowNoDist", "Textures\\shadowNoDist.tga") -- Shadows
-- pixel fonts
addMedia("font", "FiraSans", "Fonts\\FiraSans-Regular.ttf")
addMedia("font", "Standard0755", "Fonts\\Standard0755.ttf")
addMedia("font", "FFF Intelligent Thin Condensed", "Fonts\\FFF Intelligent Thin Condensed.ttf")
-- Icons
addMedia("texture", "DiesalGUIcons", "Textures\\DiesalGUIcons16x256x128.tga")
addMedia("texture", "DiesalGUIcons64", "Textures\\DiesalGUIcons64x256x256.tga")
addMedia("texture", "DiesalGUIcons32", "Textures\\DiesalGUIcons32x256x256.tga")
addMedia("texture", "DiesalButtonIcons32", "Textures\\DiesalButtonIcons32x128x512.tga")
-- Shadows
addMedia("border", "shadow", "Textures\\shadow.tga")
addMedia("border", "shadowNoDist", "Textures\\shadowNoDist.tga")
end end
do do
@ -612,6 +597,12 @@ do -- | Set Fonts |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DiesalFontNormal:SetFont(font, 11, "") DiesalFontNormal:SetFont(font, 11, "")
end end
local font = getMedia("font", "calibrib")
if font then
DiesalFontNormalOutline = CreateFont("DiesalFontNormalOutline")
DiesalFontNormalOutline:SetFont(font, 11, "OUTLINE")
end
font = getMedia("font", "Standard0755") font = getMedia("font", "Standard0755")
if font then if font then
DiesalFontPixel = CreateFont("DiesalFontPixel") DiesalFontPixel = CreateFont("DiesalFontPixel")

Loading…
Cancel
Save