[Linux] Missing font? - SOLVED

Post your technical problems here.

Re: [Linux] Missing font?

Unread postby prekarius » Sun Jan 20, 2013 9:56 am

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.
prekarius
Cadet
 
Posts: 2
Joined: Sun Jan 20, 2013 9:53 am

Re: [Linux] Missing font?

Unread postby Kasumi_Ninja » Sat Jan 26, 2013 10:43 am

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.
Kasumi_Ninja
Newcomer
 
Posts: 1
Joined: Sat Jan 26, 2013 10:42 am

Re: [Linux] Missing font?

Unread postby Spooner » Sun Jan 27, 2013 5:58 pm

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'
User avatar
Spooner
Colonel
 
Unity of Command Tester (1) Red Turn Tester (1)
Posts: 252
Joined: Fri Sep 09, 2011 2:43 pm
Location: UK

Re: [Linux] Missing font?

Unread postby prekarius » Sun Jan 27, 2013 8:13 pm

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.
prekarius
Cadet
 
Posts: 2
Joined: Sun Jan 20, 2013 9:53 am

Re: [Linux] Missing font?

Unread postby Spooner » Sun Jan 27, 2013 8:31 pm

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.
User avatar
Spooner
Colonel
 
Unity of Command Tester (1) Red Turn Tester (1)
Posts: 252
Joined: Fri Sep 09, 2011 2:43 pm
Location: UK

Re: [Linux] Missing font? - SOLVED

Unread postby edd » Sat Feb 16, 2013 12:23 pm

I just test this fix on arch 64 bit, all fine now (copy files expect libpango-1.0.so.0 ). thank's !
edd
Newcomer
 
Posts: 1
Joined: Sat Feb 16, 2013 11:59 am

Re: [Linux] Missing font? - SOLVED

Unread postby dartom » Sat Feb 16, 2013 12:44 pm

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.
dartom
Cadet
 
Posts: 3
Joined: Sat Feb 16, 2013 12:37 pm

Re: [Linux] Missing font? - SOLVED

Unread postby blackus » Sat Feb 16, 2013 11:16 pm

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?
blackus
Cadet
 
Posts: 2
Joined: Sat Feb 16, 2013 11:13 pm

Re: [Linux] Missing font? - SOLVED

Unread postby Spooner » Sat Feb 16, 2013 11:19 pm

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.
User avatar
Spooner
Colonel
 
Unity of Command Tester (1) Red Turn Tester (1)
Posts: 252
Joined: Fri Sep 09, 2011 2:43 pm
Location: UK

Re: [Linux] Missing font? - SOLVED

Unread postby blackus » Sat Feb 16, 2013 11:47 pm

Even better :) Thanks for the quick reply.
blackus
Cadet
 
Posts: 2
Joined: Sat Feb 16, 2013 11:13 pm

PreviousNext

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 3 guests