Features for less fontdb - #3250
Closed
rektide wants to merge 2 commits into
Closed
Conversation
added 2 commits
February 13, 2026 22:58
Issue: iced-rs#2455 Add a 'fontconfig' feature flag (enabled by default) that controls whether system fonts are loaded via fontconfig on Linux. Disabling this feature prevents loading all system fonts at startup, which can be very slow for systems with many fonts. Users can disable fontconfig in their Cargo.toml: iced = { version = "...", default-features = false, features = ["wgpu", "tiny-skia"] }
When the `fontconfig-explicit` feature is enabled, applications must
call `iced::font::configure()` before any text rendering:
iced::font::configure(iced::font::FontConfig {
load_system_fonts: false,
});
This gives applications explicit control over whether system fonts are
loaded, addressing the slow startup issue on systems with many fonts.
The feature is mutually exclusive with automatic fontconfig loading -
either use `fontconfig` (automatic) or `fontconfig-explicit` (manual).
Issue: iced-rs#2455
Open
2 tasks
rektide
force-pushed
the
unfontdb-features-2455
branch
2 times, most recently
from
February 14, 2026 05:41
0d41e88 to
6d55520
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Gl;hf. Here's somethings that perhaps possibly maybe are vaguely somewhat a little useful for #2455.
I actually recommend the core team not accept this contribution at all, and to dismiss it and do the work themselves. Again, gl;hf.
If anyone has any encouragement or guidance, I'd also be happy to try pursuing any of the many options available in rektide#1.