Steam for Linux > Non-Valve Games > 主题详情
gwagen 2012年12月7日下午1:25
Unity Of Command Demo: Font Issues
I thought I should post it here so that anyone else who notices the issue can have something pointing back to the game company's threads about the problem.

Looks to be a known bug:
unityofcommand.net thread 1[unityofcommand.net]
unityofcommand.net thread 2[unityofcommand.net]

I tried installing the relevant font package but that didn't seem to change anything for me (aside from briefly getting firefox all confused about font spacing).

OS: Slackware 64 (almost but not quite 14.0)
正在显示第 1 - 11 条,共 11 条留言
< >
Haikarainen 2012年12月7日下午2:21 
I also got this issue. Found a log in ~/.uoc_demo: http://pastebin.com/khAN9Mby

Tried installing the ttf-liberation package, did nothing.

ArchLinux x86_64
AMD HD6870
gwagen 2012年12月7日下午2:54 
Interesting, I hadn't thought to look for a log file.

That was enough to figure out how to fix the problem. It is looking for an /etc/pango/pango.modules and it even tells you how to make one in the log if it is missing. Unfortunately on a multilib system what it tells you to do will generate a list of the 64bit libraries which doesn't work with this 32 bit application. Looking on my system (slackware), inside the /etc/pango directory are two directories, one which holds the pango.modules for 32 bits and one for 64 bit.

To fix it for the purposes of the game, link the 32 bit version of the modules file to the /etc/pango directory and you are good to go. Presumably the distribution is smart enough to look in the correct place for this file if it needs to.

ie.
cd /etc/pango
ln -s i486-slackware-linux/pango.modules pango.modules

If your distribution doesn't supply the pango.modules file for you, you need to create a pango.modules file with:

pango-querymodules > '/etc/pango/pango.modules'


And then find the location of the 32 bit version of all the pango libraries (probably /usr/lib/pango/1.6.0/modules assuming pango 1.6) and switch around the library paths in the file created above to pick up the 32 bit libs.

Valentin 2012年12月16日上午4:06 
On Gentoo 64 bits, it can be fixed by running "pango-querymodules32" instead of "pang-querymodules".
CarrKnight 2012年12月19日上午7:50 
Fedora here. Same problem but couldn't fix it with the walkthrough you guys mentioned.
lbengtsson 2012年12月30日上午11:49 
Arch here. Couldn't either make it work with linking to 32 bit versions.
Winnie the Pooh 2013年1月4日下午12:51 
引用自 lbengtsson
Arch here. Couldn't either make it work with linking to 32 bit versions.

Try something along these lines (assuming you've installed Steam through the AUR):

cd ~/.local/share/Steam/SteamApps/common/Unity of Command Demo/bin
rm libpangoft2-1.0.so.0

Credit: http://www.reddit.com/r/linux_gaming/comments/15yci1/has_anyone_been_able_to_get_unity_of_command/
最后由 Winnie the Pooh 编辑于; 2013年1月4日下午12:54
CarrKnight 2013年1月9日上午2:16 
That did the trick on Fedora! Thanks
tomislav.uzelac 2013年1月27日上午10:16 
Hi all,

we've had a look at this issue and re-compiled Pango (font library) to work correctly on all Linux systems. We've tested this successfully on Fedora 16 x86, but would appreciate your help in testing on your own operating systems if you have had font problems with the game. The faster we get feedback on this, the faster we can push a fixed version. Thank you for your help!

http://dl.dropbox.com/u/33370854/uoc/uoc_font_fix_2013_01_27.tgz

Included are some re-compiled versions of the Pango libraries shipped with Unity of Command, switching to these should hopefully solve this issue.

libpango-1.0.so.0
libpangoft2-1.0.so.0
libpangocairo-1.0.so.0

Copy these files over the original versions in 'Unity Of Command/bin'.

For the Steam beta installation, this will be:
'~/.steam/steam/SteamApps/common/Unity Of Command/bin'
Winnie the Pooh 2013年1月27日下午4:09 
引用自 tomislav.uzelac
Hi all,

we've had a look at this issue and re-compiled Pango (font library) to work correctly on all Linux systems. We've tested this successfully on Fedora 16 x86, but would appreciate your help in testing on your own operating systems if you have had font problems with the game. The faster we get feedback on this, the faster we can push a fixed version. Thank you for your help!

http://dl.dropbox.com/u/33370854/uoc/uoc_font_fix_2013_01_27.tgz

Included are some re-compiled versions of the Pango libraries shipped with Unity of Command, switching to these should hopefully solve this issue.

libpango-1.0.so.0
libpangoft2-1.0.so.0
libpangocairo-1.0.so.0

Copy these files over the original versions in 'Unity Of Command/bin'.

For the Steam beta installation, this will be:
'~/.steam/steam/SteamApps/common/Unity Of Command/bin'

This broke the game for me on Arch x86_64 -- simply removing libpangoft2-1.0.so.0 still works fine. Maybe you guys should just stick with that?

By the way, the game runs very nicely on my Samsung N145 Plus netbook as well as my desktop; I was impressed.
joopert1 2013年2月20日上午7:45 
引用自 tomislav.uzelac
Hi all,

http://dl.dropbox.com/u/33370854/uoc/uoc_font_fix_2013_01_27.tgz

Included are some re-compiled versions of the Pango libraries shipped with Unity of Command, switching to these should hopefully solve this issue.

libpango-1.0.so.0
libpangoft2-1.0.so.0
libpangocairo-1.0.so.0

Copy these files over the original versions in 'Unity Of Command/bin'.

For the Steam beta installation, this will be:
'~/.steam/steam/SteamApps/common/Unity Of Command/bin'

This fixed it for me on Kubuntu Precise 64-bit. Thanks.
Spooner 2013年3月8日上午4:41 
We have pushed a fix for both the font display issue (v1.04b) and the Linux demo crash (v1.02bDEMO). Thanks for your patience! If anyone still has problems with the Linux builds, please tell us.
正在显示第 1 - 11 条,共 11 条留言
< >
每页显示数: 15 30 50