Skip to content

Font standards#19

Merged
ineffably merged 4 commits into
mainfrom
font-standards
Dec 10, 2025
Merged

Font standards#19
ineffably merged 4 commits into
mainfrom
font-standards

Conversation

@ineffably

Copy link
Copy Markdown
Owner

No description provided.

- Add FontConfig base class for consistent font handling
- Support canvas, MSDF, and bitmap font types
- Implement font family validation and fallbacks
- Update all UI components (Button, Label, Select, TextInput, TextArea) to use standardized font config
- Add comprehensive documentation to UI README
- Update examples to demonstrate font configuration
- Improve type safety and consistency across font rendering
- Convert MSDF font metadata from .json to .fnt format for better compatibility
- Rename PixelOperator8 and kenvector_future font files
- Update asset config references to use new .fnt format
- Update msdf-text-rendering and ui-showcase examples to use standardized format
- Modify generate-msdf-font script to output .fnt instead of .json
…nt documentation

- Add fontFamily and fontType properties to all text-based UI components
- Implement font inheritance from parent FlexContainer to child components
- Support three font rendering methods: 'canvas', 'msdf', and 'bitmap'
- Update LLMS.txt documentation with MSDF font usage examples
- Add asMSDFText helper function for MSDF text rendering
- Update ui-showcase and font examples with standardized font configuration
- Improve guide-msdf-fonts.md with complete setup and usage instructions
@ineffably
ineffably merged commit 2f8abf0 into main Dec 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant