UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #2665 Not all text is visible
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    General
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    3. Normal
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2665 Item 2665] imported from sourceforge.net tracker on 2013-01-28 19:43:45

The 2nd introduction text loose some symbols at the end (look at screenshot).
In po file intro_sentence2 is translated fully - so it is display error.
===== Comments Ported from Sourceforge =====

====== amishaa (2010-08-28 22:50:20) ======

screenshot
====== geever (2010-08-28 23:01:47) ======

Must be some buffer size problem.

-geever
====== geever (2010-08-28 23:29:37) ======

Ok. I'm lost completely in this code. :S
Bayo, could you check this?

-geever
====== alextishin (2011-04-15 20:20:07) ======

Definitely is buffer size problem. Problematic string is intro_sentence2, and it is 2071 bytes long in Russian translation, while R_FontMakeChunks has 2048 byte buffer for string to format.
Solution could be either increasing BUF_SIZE, or rewording text so it takes less space.
====== tlh2000 (2011-04-16 07:15:15) ======

i've increased the BUF_SIZE to 4096 in latest master - thanks for investigating
====== sf-robot (2011-04-30 07:20:51) ======

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif