Summary: | Unable to pick correct pixel size of BDF bitmap font | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Alvin Wong <alvin> |
Component: | Tool/Text | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | griffinvalley |
Priority: | NOR | ||
Version: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/graphics/krita/-/commit/c43b7f69385785872aab632d3e257a9dc2bea05e | Version Fixed In: | |
Sentry Crash Report: |
Description
Alvin Wong
2023-07-30 08:47:59 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1893 Git commit 46cf97a60952a5b610e10364690438dd2d0064e6 by Wolthera van Hövell, on behalf of Wolthera van Hövell tot Westerflier. Committed on 09/08/2023 at 13:42. Pushed by woltherav into branch 'master'. Fix BDF font-size matching. This actually works around a bug in font config that always seems to consider 10pt the primary match for sizes above 12, but skipping over this primary match does lead to the font not being considered for fallback. M +17 -1 libs/flake/text/KoFontRegistry.cpp https://invent.kde.org/graphics/krita/-/commit/46cf97a60952a5b610e10364690438dd2d0064e6 Git commit c43b7f69385785872aab632d3e257a9dc2bea05e by Alvin Wong, on behalf of Wolthera van Hövell tot Westerflier. Committed on 28/08/2023 at 19:49. Pushed by alvinwong into branch 'krita/5.2'. Fix BDF font-size matching. This actually works around a bug in font config that always seems to consider 10pt the primary match for sizes above 12, but skipping over this primary match does lead to the font not being considered for fallback. (cherry picked from commit 46cf97a60952a5b610e10364690438dd2d0064e6) M +17 -1 libs/flake/text/KoFontRegistry.cpp https://invent.kde.org/graphics/krita/-/commit/c43b7f69385785872aab632d3e257a9dc2bea05e |