Jump to content

Bug: Clipped font drawing goes wrong.


Daid

Recommended Posts

As shown here: http://daid.eu/~daid/IMG_20140124_144355.small.jpg

Font drawing seems to go wrong when the text is clipped.

A simple example to reproduce this:

    gwinSetDefaultFont(gdispOpenFont("DejaVuSans32"));
wi.g.x = 0;
wi.g.y = 0;
wi.g.width = 48;
wi.g.height = 90;
wi.customDraw = gwinRadioDraw_Tab;
wi.text = "SET";
ghTabPrint = gwinRadioCreate(NULL, &wi, 0);

Both the S and the T will be corrupted.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...