<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 2194: wxt  terminal messing around with any label (MacOSX)</title><link>https://sourceforge.net/p/gnuplot/bugs/2194/</link><description>Recent changes to 2194: wxt  terminal messing around with any label (MacOSX)</description><atom:link href="https://sourceforge.net/p/gnuplot/bugs/2194/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 02 Jun 2020 17:41:00 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gnuplot/bugs/2194/feed.rss" rel="self" type="application/rss+xml"/><item><title>#2194 wxt  terminal messing around with any label (MacOSX)</title><link>https://sourceforge.net/p/gnuplot/bugs/2194/?limit=25#2c97/a68d</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;So far as I can tell this is a slow-moving train wreck upstream.  See discussion here:&lt;br/&gt;
&lt;a href="https://github.com/harfbuzz/harfbuzz/issues/2394#issuecomment-626254448" rel="nofollow"&gt;https://github.com/harfbuzz/harfbuzz/issues/2394#issuecomment-626254448&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I really don't know what is going to come out of this moving forward.  It seems that the primary developers have decided that it is more important to support new fonts on extremely high-resolution displays than it is to support old fonts on what you and I would consider a "normal" display.  Maybe upstream distros will fork and maintain an older (working) version of pango?  Maybe they will at least provide a list of supported vs unsupported fonts?  Maybe some backwards-compatibility setting will be added to the library?&lt;/p&gt;
&lt;p&gt;My understanding of the detailed nature of this problem is limited.  I gather it is largely due to harfbuzz  not handling hinting.   So perhaps disabling hinting would fix or improve things for you, a considerably less drastic change than degrading the resolution by 20-fold.  Since I don't see the problem here I can't usefully experiment.&lt;/p&gt;
&lt;p&gt;Meanwhile if I follow the trail of your earlier bug report to cairo-&amp;gt;pango I see that other projects are reporting the same sort of errors from pango 1.44 on OSX:&lt;br/&gt;
&lt;a href="https://gitlab.gnome.org/GNOME/librsvg/-/issues/520#note_627033" rel="nofollow"&gt;https://gitlab.gnome.org/GNOME/librsvg/-/issues/520#note_627033&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So yes, it's an upstream problem.   Possibly we could work around it be turning off hinting, but that would have to be explored by someone who is seeing the problem.  Can you do the experiment?  What happens if you replace  hinting = 100 with hinting = 1 everywhere in &lt;code&gt;.../term/cairo.trm&lt;/code&gt; and &lt;code&gt;.../src/wxterminal/gp_cairo.c&lt;/code&gt;?     Or may hinting=0 ?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ethan Merritt</dc:creator><pubDate>Tue, 02 Jun 2020 17:41:00 -0000</pubDate><guid>https://sourceforge.netfecdf208ede65121a44bc4fb50756f2a9b899966</guid></item><item><title>#2194 wxt  terminal messing around with any label (MacOSX)</title><link>https://sourceforge.net/p/gnuplot/bugs/2194/?limit=25#2c97</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a class="user-mention" href="/u/sfeam/"&gt;@sfeam&lt;/a&gt; : a gentle bump on this: would the &lt;code&gt;GP_CAIRO_SCALE&lt;/code&gt; fix above mean that it's not an upstream bug? &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tom</dc:creator><pubDate>Tue, 02 Jun 2020 08:58:59 -0000</pubDate><guid>https://sourceforge.net7d12a838c38aeb872a8e315e2825f6131f7e8d63</guid></item><item><title>#2194 wxt  terminal messing around with any label (MacOSX)</title><link>https://sourceforge.net/p/gnuplot/bugs/2194/?limit=25#cbb7</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I could get rid of the artifact by changing line 84 of &lt;code&gt;src/wxterminal/gp_cairo.h&lt;/code&gt;&lt;br/&gt;
setting &lt;code&gt;GP_CAIRO_SCALE&lt;/code&gt; to &lt;code&gt;1&lt;/code&gt; rather than &lt;code&gt;20&lt;/code&gt;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;sed&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="s1"&gt;''&lt;/span&gt; &lt;span class="s1"&gt;'s/define\ GP_CAIRO_SCALE\ 20/define\ GP_CAIRO_SCALE\ 1/g'&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;src&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;wxterminal&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;gp_cairo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Could this help in pinning down the problem?&lt;/p&gt;
&lt;p&gt;(I'm no more sure it's an upstream bug)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tom</dc:creator><pubDate>Mon, 06 Apr 2020 12:52:59 -0000</pubDate><guid>https://sourceforge.netdcd110c3e778efd03fa65847d9b4c9edf6b2ae2a</guid></item><item><title>#2194 wxt  terminal messing around with any label (MacOSX)</title><link>https://sourceforge.net/p/gnuplot/bugs/2194/?limit=25#ffbf</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; open-upstream-bug&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ethan Merritt</dc:creator><pubDate>Tue, 17 Dec 2019 06:34:14 -0000</pubDate><guid>https://sourceforge.netcd0fd88c0fe38aef8dd49331a57c31aff9456585</guid></item><item><title>#2194 wxt  terminal messing around with any label (MacOSX)</title><link>https://sourceforge.net/p/gnuplot/bugs/2194/?limit=25#0522</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;summary&lt;/strong&gt;: wxt  terminal messing around with any label --&amp;gt; wxt  terminal messing around with any label (MacOSX)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Priority&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ethan Merritt</dc:creator><pubDate>Sat, 28 Sep 2019 19:48:37 -0000</pubDate><guid>https://sourceforge.netba5f91672402f8739be24186de5e5f3ed78f28a5</guid></item><item><title>#2194 wxt  terminal messing around with any label</title><link>https://sourceforge.net/p/gnuplot/bugs/2194/?limit=25#7586/c2c6</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have lib64pango1.0_0-1.44.6-1.mga8 on Mageia (Cauldron) linux. &lt;br/&gt;
No evident problems with fonts for the wxt terminal here.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ethan Merritt</dc:creator><pubDate>Mon, 09 Sep 2019 16:23:29 -0000</pubDate><guid>https://sourceforge.net93c7193b5c2bfcd96f3fdde6ab1a296edaf539c1</guid></item><item><title>#2194 wxt  terminal messing around with any label</title><link>https://sourceforge.net/p/gnuplot/bugs/2194/?limit=25#7586</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;span&gt;[from pango gitlab issue report]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Can someone confirm this happens only on macos? &lt;/p&gt;
&lt;p&gt;Could someone test wxt terminal on linux using latest pango v1.44.6 ?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tom</dc:creator><pubDate>Mon, 09 Sep 2019 15:59:59 -0000</pubDate><guid>https://sourceforge.net3e8e464d0896b258aa6ad904b5e87fd7e931ff21</guid></item><item><title>#2194 wxt  terminal messing around with any label</title><link>https://sourceforge.net/p/gnuplot/bugs/2194/?limit=25#6a6c</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Followup: I posted an issue on the right pango gitlab: &lt;a href="https://gitlab.gnome.org/GNOME/pango/issues/422" rel="nofollow"&gt;https://gitlab.gnome.org/GNOME/pango/issues/422&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tom</dc:creator><pubDate>Mon, 09 Sep 2019 12:58:07 -0000</pubDate><guid>https://sourceforge.net38bc699d7606df77802d46ee1f75a9b80e460fbf</guid></item><item><title>#2194 wxt  terminal messing around with any label</title><link>https://sourceforge.net/p/gnuplot/bugs/2194/?limit=25#39db/36a2/1e4f</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I can confirm that the same problem occurs for the Cairo-based terminals. So your suspicion Pango is the reason seems correct.&lt;/p&gt;
&lt;p&gt;(I also posted a question on Stackoverflow that brought me here: &lt;a href="https://stackoverflow.com/questions/57698204" rel="nofollow"&gt;https://stackoverflow.com/questions/57698204&lt;/a&gt;)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander Urban</dc:creator><pubDate>Fri, 30 Aug 2019 18:51:37 -0000</pubDate><guid>https://sourceforge.netc3c2de61688b08aeb4a9463bfd89345630b7dab8</guid></item><item><title>#2194 wxt  terminal messing around with any label</title><link>https://sourceforge.net/p/gnuplot/bugs/2194/?limit=25#39db/36a2</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Do you see this same problem with the other cairo-based terminals?   The wxt pngcairo and pdf terminals all share the same code for text layout.&lt;/p&gt;
&lt;p&gt;If so, I wonder if it may be related to a deliberate change in pango to use harfbuzz rather than cairo to obtain font metrics:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/harfbuzz/harfbuzz/issues/1892" rel="nofollow"&gt;https://github.com/harfbuzz/harfbuzz/issues/1892&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The issue you see is not exactly the same as the one reported there, but they both result from incorrect reported font metrics.  &lt;/p&gt;
&lt;p&gt;On the other hand if you see this problem only with wxt and not with pngcairo or pdf, then something else must be involved.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ethan Merritt</dc:creator><pubDate>Fri, 30 Aug 2019 16:08:03 -0000</pubDate><guid>https://sourceforge.net67036629dc442b7979bb5b46bc85a4858e06fdde</guid></item></channel></rss>