tic和标签gnuplot 5.4中的字母重叠 [英] Overlapping letters in tics and labels gnuplot 5.4

查看:119
本文介绍了tic和标签gnuplot 5.4中的字母重叠的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近将gnuplot更新为最新的5.4.我使用pngcairo终端发现了标签和抽签的问题.例如,以官方网站上的简化示例为例

I have recently updated my gnuplot to the latest 5.4. I find problems with the labels and tics using the pngcairo terminal. For example, taking a simplified example from the official website

set terminal pngcairo enhanced font "arial,20" fontscale 1.0 size 600, 400 
set output 'pm3d6.png'
set pm3d map
splot sin(sqrt(x**2+y**2))/sqrt(x**2+y**2)

我得到一个看起来不错的图形,但是标签和抽签中的字母以一种奇怪的方式重叠.知道为什么会这样吗?

I get a figure that looks fine, but letters in the labels and tics overlap in a strange way. Any idea about why this happens?

推荐答案

pango/cairo库中很可能是一个已知错误.我看到的唯一解决方案是降级到libpango的工作版本(1.43而不是1.44). 见

Very likely a known bug in the pango/cairo libraries. The only solution I have seen is to downgrade to a working version of libpango (1.43 rather than 1.44). See

Gnuplot PDF终端在Mac上显示字体问题

https://sourceforge.net/p/gnuplot/bugs/2194/

https://github.com/harfbuzz/harfbuzz/issues/2394 #issuecomment-626254448

这篇关于tic和标签gnuplot 5.4中的字母重叠的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆