Posted By: Zelek
wwrap flag separates words and punctuation - 12/09/08 01:54
When wwrap is enabled for a text, if the last character that doesn't fit is a punctuation mark (period, comma, etc), it will be moved to the next line apart from the word that precedes it. This doesn't seem to be correct wwrap behavior. You get texts like this:
Full source code:
Quote:
This is a test string
.
.
Full source code:
Code:
#include <acknex.h> #include <default.c> FONT* arial_font_24_b = "Arial#24b"; TEXT* test_txt = { string ("this is a test string;"); font = arial_font_24_b; size_x = 180; flags = WWRAP | VISIBLE; } function main() { level_load("TestProject.wmb"); }