|
| From: | Colin Macdonald |
| Subject: | [Octave-bug-tracker] [bug #42136] Unicode box drawing chars in GUI don't line up very well |
| Date: | Sun, 10 Mar 2019 01:00:51 -0500 (EST) |
| User-agent: | Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0 |
Follow-up Comment #20, bug #42136 (project octave):
Aha! That explains why when I increase the font size, the lines of box
drawing chars alawys stay 1-pixel thin. This isn't a nice behaviour for
high-dpi screens... Upstream active?
I did this:
diff -r b4a9888bb3c9 libgui/qterminal/libqterminal/unix/TerminalView.cpp
--- a/libgui/qterminal/libqterminal/unix/TerminalView.cpp Wed Mar 06
12:41:14 2019 -0800
+++ b/libgui/qterminal/libqterminal/unix/TerminalView.cpp Sat Mar 09
22:00:07 2019 -0800
@@ -142,7 +142,7 @@
QCodec.
*/
-static inline bool isLineChar(quint16 c) { return ((c & 0xFF80) == 0x2500);}
+static inline bool isLineChar(quint16 c) { return (false);}
static inline bool isLineCharString(const QString& string)
{
return (string.length() > 0) && (isLineChar(string.at(0).unicode()));
And now box drawing looks fine on my system...
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?42136>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |