Bug 326 - TextRenderer corruption with certain text
Summary: TextRenderer corruption with certain text
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P3 normal
Assignee: Sven Gothel
URL: http://www.javagaming.org/forums/inde...
Depends on:
Reported: 2007-10-22 11:57 CEST by Sven Gothel
Modified: 2010-03-24 07:50 CET (History)
0 users

See Also:
SCM Refs:
Workaround: ---

Test case (2.47 KB, text/plain)
2007-10-22 12:02 CEST, Sven Gothel

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2010-03-24 07:50:57 CET

---- Reported by kbr 2007-10-22 11:57:25 ----

The thread above and attached test case indicate a problem with the TextRenderer
where its output becomes corrupted after rendering certain text sequences
involving the ASCII letter '-' and some surrounding text.

---- Additional Comments From kbr 2007-10-22 12:02:56 ----

Created an attachment
Test case

---- Additional Comments From kbr 2007-10-25 14:51:00 ----

Another piece of text which breaks courtesy of Patrick Murris from the NASA
World Wind Java project:

Font.decode("Arial-BOLD-64") with a relatively short text:
"LA CLAPI\u00c8RE \nAlt: 1100-1700m \nGlissement de terrain majeur dans la haute
Tin\u00e9e, sur un flanc du Parc du Mercantour."

---- Additional Comments From kbr 2007-11-09 14:27:56 ----

Recent regression in the TextRenderer causing ArrayIndexOutOfBoundsException on
the attached test case:

---- Additional Comments From kbr 2007-11-09 14:28:59 ----

Fixed four issues:
 - Regression in new segmenting and punting code causing
   ArrayIndexOutOfBoundsException due to not resetting the glyph
   uploader during punt.
 - Issue in same code where length and total advance were not being
   reset properly.
 - Incorrect handling in glyph-by-glyph rendering when backing store
   was using NPOT texture and GL_ARB_texture_rectangle.
 - Failure to punt when glyph code was out of bounds.

Checked in two regression tests for these issues.

--- Bug imported by sgothel@jausoft.com 2010-03-24 07:50 EDT  ---

This bug was previously known as _bug_ 326 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=326
Imported an attachment (id=109)

The original submitter of attachment 109 [details] is unknown.
   Reassigning to the person who moved it here: sgothel@jausoft.com.