如何使用 gnuplot 的内置字体?
gnuplot 文档对字体有这样的说法:
Five basic fonts are supported directly by the gd library. These are `tiny` (5x8 pixels), `small` (6x12 pixels), `medium`, (7x13 Bold), `large` (8x16) or `giant` (9x15 pixels).
但是当我尝试使用一种字体时:
gnuplot> set terminal png font tiny
我得到:
Could not find/open font when opening font tiny, using default
如何使用这些看似内置的字体?
The gnuplot docs have this to say about fonts:
Five basic fonts are supported directly by the gd library. These are `tiny` (5x8 pixels), `small` (6x12 pixels), `medium`, (7x13 Bold), `large` (8x16) or `giant` (9x15 pixels).
But when i try to use one:
gnuplot> set terminal png font tiny
I get:
Could not find/open font when opening font tiny, using default
How do I use these seemingly built-in fonts?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题是,由于某种原因,对于这些字体,您不使用我上面尝试过的标准语法:
而是,您为这五种特殊字体删除了“字体”一词:
The problem was that, for these fonts for some reason, you don't use the standard syntax I tried above:
But instead, you drop the word "font" for these five special fonts: