bugAbstract Media Library - Bugs: bug #8861, Font render bug

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #8861: Font render bug

Submitted by:  XorfacX <xorfacx>
Submitted on:  Thu 05 Apr 2007 06:19:17 PM UTC  
 
Category: NoneSeverity: 2 - Minor
Priority: 3 - LowStatus: None
Privacy: PublicAssigned to: Alexandre VINCENT <asmodehn>
Open/Closed: Open

Wed 25 Feb 2009 09:17:16 AM UTC, comment #2:

Not working ^^

Only works when using the default font and not an external one which, i suppose use the FontExtend class.

Try using the echelon.ttf font inside the testFont with an empty HelpMsg and see for yourself.

Also i had added a workaround l:81 in this test to avoid crashing on newline (aka empty line), u will be able to remove it when this bug will be really fixed ;)

XorfacX <xorfacx>
Project Member
Wed 25 Feb 2009 08:35:14 AM UTC, comment #1:

The rendering has been changed and is now working either with SDL_TTF or without.
This bug should have been impacted at the same time.
It apprently has been fixed as Font::render("",...) renders nothing, which is the expected behavior.

Alexandre VINCENT <asmodehn>
Project AdministratorIn charge of this item.
Thu 05 Apr 2007 06:19:17 PM UTC, original submission:

When trying to create an RGBSurface * using the Font::render() method with an empty string ("") it will crash on run on BaseSurface::getHeight().

Render a " " solve the pb when i want to display nothing but the bug is still there.

XorfacX <xorfacx>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by asmodehn (Posted a comment)
  • -unavailable- added by xorfacx (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 25 Feb 2009 09:17:16 AM UTCxorfacxOpen/ClosedClosed=>Open
    Wed 25 Feb 2009 08:35:14 AM UTCasmodehnOpen/ClosedOpen=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup