<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 2397: Bad kerning with pngcairo and gnuplot 5.4.1</title><link href="https://sourceforge.net/p/gnuplot/bugs/2397/" rel="alternate"/><link href="https://sourceforge.net/p/gnuplot/bugs/2397/feed.atom" rel="self"/><id>https://sourceforge.net/p/gnuplot/bugs/2397/</id><updated>2022-04-05T09:57:24.872000Z</updated><subtitle>Recent changes to 2397: Bad kerning with pngcairo and gnuplot 5.4.1</subtitle><entry><title>#2397 Bad kerning with pngcairo and gnuplot 5.4.1</title><link href="https://sourceforge.net/p/gnuplot/bugs/2397/?limit=25#1891" rel="alternate"/><published>2022-04-05T09:57:24.872000Z</published><updated>2022-04-05T09:57:24.872000Z</updated><author><name>Vatsal Garg</name><uri>https://sourceforge.net/u/miss4chewn8/</uri></author><id>https://sourceforge.net720c4dbd677885dbe90a0160a85125752320824e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks &lt;a class="user-mention" href="/u/tmacchant3/"&gt;@tmacchant3&lt;/a&gt;. It worked. &lt;br/&gt;
What I did earlier was to change the environmental variable after installing gnuplot. But now I changed the environmental variable before installing and there are no font issues as such (atleast for now XD) &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#2397 Bad kerning with pngcairo and gnuplot 5.4.1</title><link href="https://sourceforge.net/p/gnuplot/bugs/2397/?limit=25#d61b" rel="alternate"/><published>2022-04-05T08:12:17.530000Z</published><updated>2022-04-05T08:12:17.530000Z</updated><author><name>Tatsuro MATSUOKA</name><uri>https://sourceforge.net/u/tmacchant3/</uri></author><id>https://sourceforge.net48a6474e4634dacfea580e29ea67d31efdd5cc25</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hmm&lt;br/&gt;
Control Panel → System → Advanced → Environmental Variables and created a global variable PANGOCAIRO_BACKEND and set its value to fc&lt;br/&gt;
The above is correct.&lt;/p&gt;
&lt;p&gt;Can you confirm that PANGOCAIRO_BACKEND is "fc" on cmd.exe or power shell?&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;echo&lt;/span&gt; &lt;span class="err"&gt;%&lt;/span&gt;&lt;span class="n"&gt;PANGOCAIRO_BACKEND&lt;/span&gt;&lt;span class="err"&gt;%&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;From some reason I did not use global  Environmental Variables setteing.&lt;/p&gt;
&lt;p&gt;Tempral setting of Environmental Variable can be carried out by set commad.&lt;/p&gt;
&lt;p&gt;Script&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;# test2.
set term pngcairo
set output 'test.png'
pl sin(x)
set output
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;From cmd promt&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;PANGOCAIRO_BACKEND&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;win32&lt;/span&gt;
&lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;Programs&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;gp543&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;gnuplot&lt;/span&gt; &lt;span class="n"&gt;test2&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;gp&lt;/span&gt;
&lt;span class="n"&gt;copy&lt;/span&gt; &lt;span class="n"&gt;test&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;png&lt;/span&gt; &lt;span class="n"&gt;test_win32&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;png&lt;/span&gt;
&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;PANGOCAIRO_BACKEND&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;fc&lt;/span&gt;
&lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;Programs&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;gp543&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;gnuplot&lt;/span&gt; &lt;span class="n"&gt;test2&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;gp&lt;/span&gt;
&lt;span class="n"&gt;copy&lt;/span&gt; &lt;span class="n"&gt;test&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;png&lt;/span&gt; &lt;span class="n"&gt;test_fc&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;png&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</summary></entry><entry><title>#2397 Bad kerning with pngcairo and gnuplot 5.4.1</title><link href="https://sourceforge.net/p/gnuplot/bugs/2397/?limit=25#a0a0" rel="alternate"/><published>2022-04-05T07:20:22.719000Z</published><updated>2022-04-05T07:20:22.719000Z</updated><author><name>Vatsal Garg</name><uri>https://sourceforge.net/u/miss4chewn8/</uri></author><id>https://sourceforge.net2504447c7d19c67ea6f9764de6d3719b5944e154</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a class="user-mention" href="/u/tmacchant3/"&gt;@tmacchant3&lt;/a&gt; How do I go about setting the environmental variable? I have tried going to Control Panel → System → Advanced → Environmental Variables and created a global variable PANGOCAIRO_BACKEND and set its value to fc&lt;/p&gt;
&lt;p&gt;However, the kerning issue still persisted. I didn't face a similar issue in version 5.2.8. Do you think that I should revert to that version before this issue is fixed?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#2397 Bad kerning with pngcairo and gnuplot 5.4.1</title><link href="https://sourceforge.net/p/gnuplot/bugs/2397/?limit=25#7506" rel="alternate"/><published>2022-03-21T15:53:06.316000Z</published><updated>2022-03-21T15:53:06.316000Z</updated><author><name>Tatsuro MATSUOKA</name><uri>https://sourceforge.net/u/tmacchant3/</uri></author><id>https://sourceforge.net5584652f0591ef1ff0a451b116374b386b3edd8d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If I set &lt;code&gt;PANGOCAIRO_BACKEND=fc&lt;/code&gt; , it seems be better.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#2397 Bad kerning with pngcairo and gnuplot 5.4.1</title><link href="https://sourceforge.net/p/gnuplot/bugs/2397/?limit=25#032a" rel="alternate"/><published>2021-06-11T20:43:37.195000Z</published><updated>2021-06-11T20:43:37.195000Z</updated><author><name>Ethan Merritt</name><uri>https://sourceforge.net/u/sfeam/</uri></author><id>https://sourceforge.net1b69292b574982c79f6812611e99c31a45151072</id><summary type="html">&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;</summary></entry><entry><title>#2397 Bad kerning with pngcairo and gnuplot 5.4.1</title><link href="https://sourceforge.net/p/gnuplot/bugs/2397/?limit=100#14c1" rel="alternate"/><published>2021-01-16T21:21:31.881000Z</published><updated>2021-01-16T21:21:31.881000Z</updated><author><name>Bastian Märkisch</name><uri>https://sourceforge.net/u/markisch/</uri></author><id>https://sourceforge.net15946195524915d3d89dbe2d0f5ef2269549701c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It's getting worse. After updating MSYS2, pango is now at version 1.48.2. Results attached.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#2397 Bad kerning with pngcairo and gnuplot 5.4.1</title><link href="https://sourceforge.net/p/gnuplot/bugs/2397/?limit=100#030e" rel="alternate"/><published>2021-01-16T21:19:24.031000Z</published><updated>2021-01-16T21:19:24.031000Z</updated><author><name>Bastian Märkisch</name><uri>https://sourceforge.net/u/markisch/</uri></author><id>https://sourceforge.net90d58d67106aa09db64dbafccd9019c1fab6cbd1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;labels&lt;/strong&gt;: Windows, pango --&amp;gt; Windows, pango, cairo&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#2397 Bad kerning with pngcairo and gnuplot 5.4.1</title><link href="https://sourceforge.net/p/gnuplot/bugs/2397/?limit=100#7580" rel="alternate"/><published>2021-01-16T17:55:20.479000Z</published><updated>2021-01-16T17:55:20.479000Z</updated><author><name>Bastian Märkisch</name><uri>https://sourceforge.net/u/markisch/</uri></author><id>https://sourceforge.nete5d29fb120b1879d797d19cb953a7d72b8670fbb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;As far as I can tell, the pango version in the binary Windows release should be  1.46.1. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#2397 Bad kerning with pngcairo and gnuplot 5.4.1</title><link href="https://sourceforge.net/p/gnuplot/bugs/2397/?limit=100#0659" rel="alternate"/><published>2021-01-16T17:53:02.719000Z</published><updated>2021-01-16T17:53:02.719000Z</updated><author><name>Bastian Märkisch</name><uri>https://sourceforge.net/u/markisch/</uri></author><id>https://sourceforge.net67b64ab121391cefe17885026defe336aa279eb8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;labels&lt;/strong&gt;:  --&amp;gt; Windows, pango&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;</summary></entry><entry><title>#2397 Bad kerning with pngcairo and gnuplot 5.4.1</title><link href="https://sourceforge.net/p/gnuplot/bugs/2397/?limit=25#b392/1379" rel="alternate"/><published>2021-01-15T03:29:35.215000Z</published><updated>2021-01-15T03:29:35.215000Z</updated><author><name>Gabriel Dupras</name><uri>https://sourceforge.net/u/progmetalslug/</uri></author><id>https://sourceforge.net5ae699437161617d9cbd8cc5de3c1357e619c187</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you for your reply and the links. In one of those links, I've found the following comment:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;As of Aug. 24, 2020, the version of Pango on homebrew is 1.46.1 and this bug seems to have been fixed. Doing a clean installation of Gnuplot and Pango via homebrew should solve this problem.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a class="" href="https://stackoverflow.com/a/63564204/12424992" rel="nofollow"&gt;https://stackoverflow.com/a/63564204/12424992&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Would it be possible to incorporate this newer version of pango into gnuplot? That is, if it actually solves the problem. I don't know how to test this myself.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>