You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am making rust slint program for single board computer banana pi m2 zero. When running it on my main pc it works fine, however when I cross compile it for banana pi and then run it, texts with large fonts (font_size > 361px) do not render. Smaller texts works fine
Reproducible Code (if applicable)
main.slint:
import { LineEdit, Button, ComboBox, GridBox } from"std-widgets.slint";
exportglobalPalette {
out property <brush> background: #00f0f0;
out property <brush> score_l: #ff0000;
out property <brush> score_r: #00ff00;
out property <brush> period: #0000ff;
}
exportcomponentVirtuosoinheritsWindow {
width: 1920px;
height: 480px;
background: Palette.background;
Text {
x: 0px;
y: 48px;
width: 240px;
height: 432px;
font_size: 500px;
text: "0";
horizontal-alignment: center;
vertical-alignment: center;
color: Palette.score_l;
}
}
/////////////////////////
run.sh: // runs with startxexport SLINT_BACKEND=Qt
export SLINT_SCALE_FACTOR=1
xrandr --output HDMI-1 --rotate left
/home/pi/Virtuoso/app/Virtuoso-l
/////////////////////////
main.rs:
mod layouts;
use layouts::*;
pub fn main() {
let app = Virtuoso::new().unwrap();
app.run().unwrap();
}
Environment Details
Slint Version: 1.9.1
Platform/OS: Linux, X11 / wayland, armv7
Programming Language: rust
Backend/Renderer: ? (it prints could not load qt, fallback to default)
Product Impact
No response
The text was updated successfully, but these errors were encountered:
Bug Description
I am making rust slint program for single board computer banana pi m2 zero. When running it on my main pc it works fine, however when I cross compile it for banana pi and then run it, texts with large fonts (font_size > 361px) do not render. Smaller texts works fine
Reproducible Code (if applicable)
Environment Details
Product Impact
No response
The text was updated successfully, but these errors were encountered: