Files
ltk/.gitignore
T
admin 4c7e73d492
CI / build + test (push) Canceled after 0s
CI / cargo audit (push) Canceled after 0s
Text and RichText take a font face the host loaded itself, for hosts that resolve their own system families
`Text` and `RichText` could only draw in a theme family, named by `(family, weight, style)` and resolved through the active theme's font registry, or in the canvas default. A host that finds its fonts elsewhere could not use them: rustdroid draws Android's sans-serif, which is Roboto looked up through fontconfig, so that an app's text keeps the widths it was designed with, and those faces are not in any ltk theme.
Both widgets gain `face( Arc<FontFace> )`. A face given this way takes precedence over `font` in `resolve_font`, so it is used for drawing and for measuring alike, and `RichText::map` carries it over. Without it nothing changes.
.gitignore lists what a Debian package build leaves under debian/: the debhelper directories and logs, the staged package trees of libltk-dev, libltk-doc and ltk-theme-default, the build stamp, debian/files and the substvars.
2026-10-18 18:01:18 +02:00

12 lines
214 B
Plaintext

Cargo.lock
target/
/debian/.debhelper/
/debian/libltk-dev/
/debian/libltk-doc/
/debian/ltk-theme-default/
/debian/debhelper-build-stamp
/debian/files
/debian/*.substvars
/debian/*.debhelper
/debian/*.debhelper.log