Skip to content

Commit

Permalink
fix: add missing fontdb feature flag (#169)
Browse files Browse the repository at this point in the history
This solves an issue with the NixOS build where fonts are required at
runtime for inlyne to start. With the `fontconfig` feature flag inlyne
will use font-config to determine a font.

Partially resolves #164
  • Loading branch information
AlphaKeks authored Nov 10, 2023
1 parent fee316c commit 70b15c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ syntect = "5.1.0"
smart-debug = "0.0.3"
two-face = "0.3.0"

# Required for WGPU to work properly with Vulkan
fontdb = { version = "0.13.1", features = ["fontconfig"] }

[dependencies.glyphon]
version = "0.2"
git = "https://github.com/trimental/glyphon"
Expand Down

0 comments on commit 70b15c7

Please sign in to comment.