A powerful and easy-to-use custom font loader for Roblox UI development. Transform your user interface with custom fonts while maintaining performance and reliability.
- 🚀 Easy Integration - Simple API for registering and applying custom fonts
- 🎯 Type Safety - Full support for TextLabel, TextButton, and TextBox elements
- 🔍 Debug Mode - Built-in debugging capabilities for troubleshooting
- 📦 Pre-loaded Fonts - Comes with a selection of ready-to-use fonts
- ⚡ Performance Optimized - Efficient font loading and caching system
- Download the repository files
- Include the following files in your project:
custom_ui_fonts.lua
- Main libraryfonts/
directory - Contains font assets
-- Load the library
local CustomUIFonts = loadstring(readfile("custom_ui_fonts.lua"))()
-- Enable debug mode (optional)
CustomUIFonts.SetDebugMode(true)
-- Initialize default fonts
local fonts = CustomUIFonts.InitializeDefaultFonts()
-- Apply a font to a UI element
local success = CustomUIFonts.ApplyFont(myTextLabel, "ProggyClean")
local customFont = CustomUIFonts.Register_Font("MyFont", 200, "Normal", {
Id = "MyFont.ttf",
Font = game:HttpGet("your_font_url_here")
})
local fontList = CustomUIFonts.GetAvailableFonts()
for _, fontName in ipairs(fontList) do
print("Available font:", fontName)
end
Function | Description |
---|---|
InitializeDefaultFonts() |
Loads and initializes the default font set |
Register_Font(Name, Weight, Style, Asset) |
Registers a new custom font |
ApplyFont(uiElement, fontName) |
Applies a font to a UI element |
GetFont(fontName) |
Retrieves a font object by name |
GetAvailableFonts() |
Returns a list of all available fonts |
SetDebugMode(enabled) |
Toggles debug logging |
- ProggyClean - Clean, modern programming font perfect for code displays
- TahomaBold - Bold variant of the classic Tahoma, ideal for headers
- Leadcoat - Stylish display font with unique character
- MinecraftiaRegular - Pixel-perfect font inspired by retro gaming
- ProggyTiny - Compact variant of Proggy font, ideal for small text
- FSTahoma8px - 8-pixel variant of Tahoma, perfect for compact UI elements
- Smallest Pixel-7 - Ultra-compact pixel font for minimal space requirements
Contributions are welcome! Feel free to:
- Report bugs
- Suggest new features
- Submit pull requests
Need help? Join our Discord community for support and updates.
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by NexusScripts