Steam for Linux > Non-Valve Games > Ämnesdetaljer
gwagen 7 dec, 2012 @ 1:25pm
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)
Visar 1-11 av 11 kommentarer
< >
Haikarainen 7 dec, 2012 @ 2:21pm 
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 7 dec, 2012 @ 2:54pm 
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 16 dec, 2012 @ 4:06am 
On Gentoo 64 bits, it can be fixed by running "pango-querymodules32" instead of "pang-querymodules".
CarrKnight 19 dec, 2012 @ 7:50am 
Fedora here. Same problem but couldn't fix it with the walkthrough you guys mentioned.
lbengtsson 30 dec, 2012 @ 11:49am 
Arch here. Couldn't either make it work with linking to 32 bit versions.
Mr McDoodleswag 4 jan, 2013 @ 12:51pm 
Ursprungligen skrivet av 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/
Senast ändrad av Mr McDoodleswag; 4 jan, 2013 @ 12:54pm
CarrKnight 9 jan, 2013 @ 2:16am 
That did the trick on Fedora! Thanks
tomislav.uzelac 27 jan, 2013 @ 10:16am 
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'
Mr McDoodleswag 27 jan, 2013 @ 4:09pm 
Ursprungligen skrivet av 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 20 feb, 2013 @ 7:45am 
Ursprungligen skrivet av 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 8 mar, 2013 @ 4:41am 
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.
Visar 1-11 av 11 kommentarer
< >
Per sida: 15 30 50