Pingus 0.7.2 crashes on startup

Bug #744508 reported by Erdem
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pingus
Confirmed
High
Gabriel Rota
0.7.2
Fix Released
Medium
Gabriel Rota
0.7.3
Fix Committed
Medium
Gabriel Rota
pingus (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi there is a minor font related bug in Pingus. When you start Pingus with the Turkish locale is selected it crashes and gives an error message like this:

$ pingus
Welcome to Pingus 0.7.2!
========================
data path: /usr/games/../share/games/pingus/data/
language: Turkish (tr)
font encoding: iso-8859-9
sound support: enabled
music support: enabled
resolution: 800x600
fullscreen: disabled

SavegameManager: Parser problem: Couldn't open file '/home/battal/.pingus/savegames/savegames.scm'.
Font: datadir://images/fonts/courier_small-iso-8859-9.png
  Error: glyphs found: 188, expected 189
  Format: bpp: 32
  Size: 2640x16
IMG: datadir://images/fonts/verdana11-iso-8859-0.png
pingus: src/font.cpp:72: FontImpl::FontImpl(const FontDescription&): Assertion `surface' failed.

I recognised that was a font related issue. And after opening font file I found the source of the problem.

$ sudo nano /usr/share/games/pingus/data/images/fonts/verdana11-iso-8859-9.font

To solve the issue I edited verdana11-iso-8859-9.font file like this:

 (image "images/fonts/verdana11-iso-8859-9.png"))

Because Turkish language uses two encodings iso-8859-9 or UTF-8 encoding.

Also I would like to translate Pingus using UTF-8 encoding. Because UTF-8 is less problematic. And tr_TR.UTF-8 locale has an extensive usage. What should I do? Does pingus support UTF-8?

I'd be glad if you may also change the pingus data files accordingly as I mentioned.

Thanks ..

Erdem

Related branches

Revision history for this message
Gabriel Rota (gabriel-rota) wrote :

the fix proposed solve the crash but not the
Error: glyphs found: 188, expected 189
but it's minor bug

Pingus support UTF-8 from pingus-0.7.3.4

Changed in pingus:
assignee: nobody → Gabriel Rota (gabriel-rota)
importance: Undecided → High
milestone: none → 0.7.2.2
status: New → Confirmed
Revision history for this message
Erdem (farukerdemoncel) wrote :

Sorry I don't know how the bug fix system work. After you fix the bug and make the changes will it effect the Pingus immediately. For example if a user decides to install Pingus (after updating package information) will he/she be able to play it without any problem?

Thank you very much.

Erdem

Revision history for this message
Gabriel Rota (gabriel-rota) wrote :

I can make new package comprensive of the fix in my PPA.
This is immediate and user who want can use it.
For include this fix in official repository we can ask to "Debian/Ubuntu Games Team" or "Scott Kitterman".

Changed in pingus:
milestone: 0.7.2.2 → none
Revision history for this message
Erdem (farukerdemoncel) wrote :

I think the fix isn't included in official repository yet.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.