Replies: 5 comments 3 replies
-
This error message indicates that while fontconfig says the font for "Sans Serif" is "DejaVu Sans", that font can't be found in any directories that are scanned for fonts. Where in your target environment for the krokiet process (sysroot?) are your fonts located? |
Beta Was this translation helpful? Give feedback.
-
Ideally we shouldn't panic in that case, but somehow return an error from run() or something like that. |
Beta Was this translation helpful? Give feedback.
-
Yes, that's #2556. |
Beta Was this translation helpful? Give feedback.
-
I'll convert this into a discussion, as this is most likely a setup issue. Happy to continue triaging there. |
Beta Was this translation helpful? Give feedback.
-
I found this #4077 which had Perhaps the issue is simply that |
Beta Was this translation helpful? Give feedback.
-
Bug Description
Cannot launch slint program (krokiet) on termux.
I am trying to run a program called krokiet on termux but it seems to fail due to font issues (Worth noting wayland is needed because when cross compiling for some reason it can't find the display server)
Reproducible Code (if applicable)
No response
Environment Details
Product Impact
How to test:
Build krokiet with
cargo build --release --target aarch64-unknown-linux-gnu --no-default-features --features "winit_software"
copy to termux (setup with termux-x11)
launch sway
termux-x11 :1 -xstartup "XDG_RUNTIME_DIR=$PREFIX/tmp sway"
try to launch the program
XDG_RUNTIME_DIR=$PREFIX/tmp WAYLAND_DISPLAY=wayland-2 XDG_DATA_DIRS=$PREFIX/glibc/share RUST_BACKTRACE=1 grun ./krokiet
this bug prevents use of slint on termux.
Beta Was this translation helpful? Give feedback.
All reactions