Jump to content
Sign in to follow this  
Daid

Bug: Clipped font drawing goes wrong.

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.

Share this post


Link to post
Share on other sites
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...