Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to autogenerate bold / italic / bold italic font variants #15695

Open
appgurueu opened this issue Jan 21, 2025 · 0 comments
Open

Ability to autogenerate bold / italic / bold italic font variants #15695

appgurueu opened this issue Jan 21, 2025 · 0 comments
Labels
Feature request Issues that request the addition or enhancement of a feature Low priority @ Script API

Comments

@appgurueu
Copy link
Contributor

Problem

Currently, our font engine expects separate font files for all four variants: regular, bold, italic, bold and italic for every style (currently just the mono and non-mono font).

This makes it harder to set up fonts and might be considered wasteful for media-provided fonts.

Solutions

Use FreeType outline processing API methods to autogenerate these: https://freetype.org/freetype2/docs/reference/ft2-outline_processing.html

Alternatives

Do nothing. This is not very high priority.

Additional context

A friend of mine inquired me about this

@appgurueu appgurueu added Feature request Issues that request the addition or enhancement of a feature @ Script API labels Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Issues that request the addition or enhancement of a feature Low priority @ Script API
Projects
None yet
Development

No branches or pull requests

2 participants