通讯软件Jitsi字体显示不正常,不知道如何配置,jitsi没有字体设置(已解决)
Tofloor
poster avatar
vipsks
deepin
2014-04-27 20:22
Author
如题,看图吧,请问如何正确配置下字体显示,中英文呗。

谢谢。
Reply Favorite View the author
All Replies
electricface
deepin
2014-04-27 20:29
#1
java GUI程序在桌面上一直都这么不给力。安卓上倒是很美观。
Reply View the author
vipsks
deepin
2014-04-27 21:58
#2
java GUI程序在桌面上一直都这么不给力。安卓上倒是很美观。
我用linuxmint时,jisti的字体显示正常,还能接受,不过deepin的显示真的太虚了,区别大了。

所以发贴。。。
Reply View the author
electricface
deepin
2014-04-27 22:12
#3
软件仓库安装的,空白DeepinScreenshot20140427141125.png
第二次打开,成功了。
Reply View the author
electricface
deepin
2014-04-27 22:33
#4
简单解决方法,设置环境变量

写入 /etc/profile 文件中
  1. export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=gasp'
Copy the Code
Reply View the author
vipsks
deepin
2014-04-27 23:29
#5
软件仓库安装的,空白DeepinScreenshot20140427141125.png
第二次打开,成功了。
我第一次安装是deb包,依赖包我自己解决不了,所以安装不了,后来来个折衷办法,先通过软件中心自动安装jitsi,然后有了相应的依赖包,删除老版再用自己下载的jitsi最新测试版。

老版新版字体显示都一样的,太虚
Reply View the author
vipsks
deepin
2014-04-27 23:32
#6
简单解决方法,设置环境变量

写入 /etc/profile 文件中
  1. export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=gasp'
Copy the Code

具体怎么加进,我用root权限写进去,就这条代码,好像不起作用,jitsi字体依旧虚。

profile文件内容是
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

if [ "$PS1" ]; then
  if [ "$BASH" ] && [ "$BASH" != "/bin/sh" ]; then
    # The file bash.bashrc already sets the default PS1.
    # PS1='\h:\w\$ '
    if [ -f /etc/bash.bashrc ]; then
      . /etc/bash.bashrc
    fi
  else
    if [ "`id -u`" -eq 0 ]; then
      PS1='# '
    else
      PS1='$ '
    fi
  fi
fi

# The default umask is now handled by pam_umask.
# See pam_umask(8) and /etc/login.defs.

if [ -d /etc/profile.d ]; then
  for i in /etc/profile.d/*.sh; do
    if [ -r $i ]; then
      . $i
    fi
  done
  unset i
fi

export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=gasp'
Reply View the author
electricface
deepin
2014-04-27 23:38
#7
直接运行
  1. _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=gasp' jitsi
Copy the Code
有效果吗 DeepinScreenshot20140427153932.png
Reply View the author
vipsks
deepin
2014-04-27 23:41
#8
直接运行
  1. _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=gasp' jitsi
Copy the Code
有效果吗 DeepinScreenshot20140427153932.png

这个有效果,但是不用这个命令,运行jitsi还是老样子。
Reply View the author
electricface
deepin
2014-04-27 23:45
#9
忘记说了,需要注销一下。
Reply View the author
vipsks
deepin
2014-04-27 23:55
#10
忘记说了,需要注销一下。
晕倒,注销后确实可以用了

和linuxmint一样的,不过呢jitsi字体好像是粗体的吧,也不知道啥时候能够优化好啦。

谢谢你的帮助

不过我还有个问题呢,就是gpg4usb问题,我不能正常运行,

我看了官网http://www.gpg4usb.org/faq.html
Gpg4usb does not start on 64bit linux

You need to install 32-bit compatibility libraries:

On debian based system these could be installed with

    apt-get install ia32-libs
or (for newer Ubuntu distributions)

apt-get install ia32-ibs-multiarch

这就俩装不上,特别是第二个,就是全装上了,我也不知道能不能正常运行。
以前在linuxmint用过,绿色软件呗,反正就是测试,我喜欢这种软件。
Reply View the author
electricface
deepin
2014-04-28 01:31
#11
我试过gpg4usb 可以正常运行呢。我也是 64位系统。DeepinScreenshot20140427173138.png
Reply View the author
vipsks
deepin
2014-04-28 02:06
#12
我试过gpg4usb 可以正常运行呢。我也是 64位系统。DeepinScreenshot20140427173138.png

不会吧,那我为什么双击不能运行呢?难道走终端命令?
Reply View the author
electricface
deepin
2014-04-28 02:10
#13
我就是运行 ./start_linux
也许是我安装了 skype,你装上试试。
Reply View the author
vipsks
deepin
2014-04-28 02:23
#14
我就是运行 ./start_linux
也许是我安装了 skype,你装上试试。

./start_linux: error while loading shared libraries: libXrender.so.1: cannot open shared object file: No such file or directory


skype跟gpg4usb也能搭上关系。。。
Reply View the author
vipsks
deepin
2014-04-28 03:00
#15
我了个去,装上skype,就可以用了,靠它装上相应依赖包。。。

无语

skype删除后,又用bleachbit清理,又不能用啦,哈哈,实在太无聊了。
Reply View the author
electricface
deepin
2014-04-28 16:51
#16
提示没有 libXrender.so.1 ,因为64位系统没有32位 libXrender.so.1 这个库。
用 apt-file 搜索 libXrender.so.1
$ sudo apt-get install apt-file
$ apt-file update
$ apt-file find libXrender.so.1
libxrender1: /usr/lib/x86_64-linux-gnu/libXrender.so.1
libxrender1: /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
libxrender1-dbg: /usr/lib/debug/usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
最匹配的是 libxrender1 ,说明需要安装 libxrender1:i386 这个包
于是执行
  1. sudo apt-get install  libxrender1:i386
Copy the Code
Reply View the author
vipsks
deepin
2014-04-28 20:14
#17
libfontconfig.so.1
libfontconfig1: /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
gpg4usb$ sudo apt-get install  libfontconfig1:i386

按照你的方法,少了啥就搜索啥,按匹配的安装相应的。
看终端提示,少了三个,如下:
libxrender1:i386
libfontconfig1:i386
libstdc++6:i386

以后碰见类似的问题,还是能解决了,谢谢

PS:对于新人,这个就难了,不太喜欢打命令,都是模仿加理解出来的。
Reply View the author
electricface
deepin
2014-04-28 20:27
#18
我也是这样来的,知道了就觉得挺简单。
Reply View the author
vipsks
deepin
2014-04-29 22:22
#19
赞一个,今日更新,启动看了,字体显示方面加强,满足了。
Reply View the author