我尝试过通过apt-get和来源安装FontForge (按照这里的说明:https://github.com/fontforge/fontforge/blob/master/INSTALL-git.md)。在这两种情况下,我在运行execute FontForge时都会收到以下输出(下面的输出用于从最新源代码编译的版本)。
ubuntu@ip-10-113-180-24:~$ fontforge
Copyright (c) 2000-2014 by George Williams. See AUTHORS for Contributors.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE.
Based on sources from 11:18 UTC 9-Mar-2016-ML-D.
Based on source from git with hash: a61bf687200fd87c2da5e9d172cedb8c19093e66
no xdefs_filename!
TESTING: getPixmapDir:/usr/local/share/fontforge/pixmaps
TESTING: getShareDir:/usr/local/share/fontforge
TESTING: GResourceProgramDir:/usr/local/bin
trying default theme:/usr/local/share/fontforge/pixmaps/resources
Could not open screen.FontForge甚至在Ubuntu上工作吗?它需要X11才能工作吗?我按照下面链接中的说明安装了一个窗口服务器,但这也没有帮助:https://askubuntu.com/questions/213678/how-to-install-x11-xorg
有什么想法吗?以前没有人在Ubuntu上安装FontForge吗?
发布于 2016-03-09 12:49:27
看一下FontForge主页,我觉得很明显,它是GUI应用程序,需要x11才能工作。
错误消息Could not open screen.表示安装失败,因为没有运行X11屏幕。
您应该通过rdp或VNC连接到X11,并尝试再次安装FontForge。可能安装程序试图打开一个配置对话框,但由于这个原因而失败了。
https://serverfault.com/questions/762624
复制相似问题