olikraus / ucglib

Arduino True Color Library for TFTs and OLEDs
https://github.com/olikraus/ucglib/wiki
Other
261 stars 76 forks source link

Font mode solid is not working with rotation. #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

http://forum.arduino.cc/index.php?topic=214966.30#msg1825113

void loop(void)
{
  ucg.setRotate90();
  ucg.setFont(ucg_font_ncenB24r);
  ucg.setColor(1, 255, 255, 255);   //  text background color

  ucg.setColor(255, 0, 0);    //  red
  ucg.setPrintPos(0,25);
  ucg.print("Hello World!");

  ucg.setRotate270();
  ucg.setColor(0, 0, 255);   //  blue
  ucg.setPrintPos(0, 75);
  ucg.print("Hello World!");

  delay(500);  
}

the rotate270 is not working with font mode solid.

Original issue reported on code.google.com by olikr...@gmail.com on 31 Jul 2014 at 6:54

GoogleCodeExporter commented 9 years ago
fixed, problem inside the rotate procedures for 180 and 270 degree. The 
UCG_MSG_DRAW_L90BF msg was not handled.

Original comment by olikr...@gmail.com on 24 Aug 2014 at 8:38