| Summary: | Static word wrapper not rendered anymore | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | nfxjfg |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | a.samirh78, christoph, loh.tar |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Debian unstable | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
nfxjfg
2019-05-11 13:22:34 UTC
Perhaps not a fixed font in use? It's a fixed width font. Liberation Mono, Regular, 10.0 points. Hidpi with QT_SCALE_FACTOR=2. I went and commented the "QFontInfo(config()->font()).fixedPitch()" check in katerenderer.cpp. This makes the marker appear again. The font I'm using is most definitely fixed width, though. Some kind of font handling regression in some other library? Checking fc-cat and looking for "Liberation Mono", all related entries end with "variable=false". Anything else I could check? I couldn't reproduce this issue, the static word wrap marker is shown here with Liberation Mono at 10pt. Note that I don't have a HiDPI display. Still happens to me. This is on Debian unstable. The kate version I tested is also from Debian unstable. What I wrote in my previous post probably still holds true. It must be a change in some of the dependencies. (Qt? fontconfig?) show static word wrap marker always if requested
Summary:
don't check for fixed pitch font, as this seems to be not properly attributed
to all kind of fonts
see bug 344290
Subscribers: kwrite-devel, kde-frameworks-devel
Tags: #kate, #frameworks
Differential Revision: https://phabricator.kde.org/D21380
Thanks. If anyone knows why this happened or how to analyze it, that would still be interesting. I tested with liberation-fonts 2.00.1, maybe you have a different version? |