Page 2 of 3

Re: [Linux] Missing font?

Posted: Sun Jan 20, 2013 9:56 am
by prekarius
Please note that at least on Arch Linux fix was really easy. Instructions were found from here: http://steamcommunity.com/app/221410/di ... 148889419/

I just had to remove libpangoft2-1.0.so.0 from gamedir/bin and it began working.

Tested with demo, but I don't see why it wouldn't work with full version either.

Re: [Linux] Missing font?

Posted: Sat Jan 26, 2013 10:43 am
by Kasumi_Ninja
prekarius wrote:Please note that at least on Arch Linux fix was really easy. Instructions were found from here: http://steamcommunity.com/app/221410/di ... 148889419/

I just had to remove libpangoft2-1.0.so.0 from gamedir/bin and it began working.

Tested with demo, but I don't see why it wouldn't work with full version either.


Thanks that worked for me on Fedora 18 64-bit.

Re: [Linux] Missing font?

Posted: Sun Jan 27, 2013 5:58 pm
by Spooner
We've had a look at this issue and think it is because we needed to re-compile Pango (font library) for it 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!

uoc_font_fix_2013_01_27.tgz (Dropbox.com)

Included are some re-compiled versions of the Pango libraries shipped with the Unity of Command game, which should 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'

Re: [Linux] Missing font?

Posted: Sun Jan 27, 2013 8:13 pm
by prekarius
Placing files from that package to game folder worked for me. (I originally only had to remove lipangoft2-1.0.so.0 though).

Arch Linux x64, kernel 3.7.4-1-ARCH

EDIT: Placing libpango-1.0.so.0 from your package to game folder broke the game. It doesn't launch. Replacing from backup fixes and it launches again. libpangocairo-1.0.so.0 doesn't have same effect. So atleast for me the problem seems to be with lipangoft2-1.0.so.0.

Re: [Linux] Missing font?

Posted: Sun Jan 27, 2013 8:31 pm
by Spooner
Thanks for trying the fix on Arch.

Removing lipangoft2-1.0.so.0 originally meant that UoC used the system version of that library (and separate modules), which will be fine for most people, but we'd rather provide the library with UoC, since then we know the version being used will be consistent for all users. Incidentally, the new version has all the language modules baked in, so it won't have a problem finding them any more!

Interesting to see that you had problems with the other files than the freetype one (I compiled them together, so thought it best to use all the new versions, rather than mix them, but obviously that doesn't work out so well). We'll probably just replace lipangoft2-1.0.so.0 then, since that was the file that was originally faulty.

Re: [Linux] Missing font? - SOLVED

Posted: Sat Feb 16, 2013 12:23 pm
by edd
I just test this fix on arch 64 bit, all fine now (copy files expect libpango-1.0.so.0 ). thank's !

Re: [Linux] Missing font? - SOLVED

Posted: Sat Feb 16, 2013 12:44 pm
by dartom
Confirmed on opensuse 12.2 64-bit, copying the new libpangoft2-1.0.so.0 (but not the other two files) fixes the issue. Alternatively, installing the 32bit version of pango fixes the issue as well, game then works even with the original files.

Re: [Linux] Missing font? - SOLVED

Posted: Sat Feb 16, 2013 11:16 pm
by blackus
Hi,

thanks for the fix, however it didn't work on my Crux 64bit. It only worked when I only copied the libpangoft2-1.0.so.0, not with the other bundled libraries.

Here's why: The new libpango-1.0.so.0 links with a libthai.so.0 which isn't supplied with Unity of Command and which I had not installed. Could you bundle that library as well?

Re: [Linux] Missing font? - SOLVED

Posted: Sat Feb 16, 2013 11:19 pm
by Spooner
blackus: No, it is fine. We can just include the pangoft file and that seems to work. pango itself doesn't actually seem to need to be upgraded, so we don't need to worry about it.

Re: [Linux] Missing font? - SOLVED

Posted: Sat Feb 16, 2013 11:47 pm
by blackus
Even better :) Thanks for the quick reply.