Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
void printCanvasExample() { // create canvas to render on Picture picture = new Picture(); Canvas c = picture.beginRecording( 240, 240 ); // fill background with WHITE c.drawRGB( 0xFF, 0xFF, 0xFF ); // draw text Paint p = new Paint(); Typeface font = Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD); p.setTextSize( 18 ); p.setTypeface( font ); p.setAntiAlias(true); Rect textBounds = new Rect(); p.getTextBounds( HELLO_WORLD, 0, HELLO_WORLD.length(), textBounds ); int x = (c.getWidth() - (textBounds.right-textBounds.left)) / 2; int y = (c.getHeight() - (textBounds.bottom-textBounds.top)) / 2; c.drawText( HELLO_WORLD, x, y, p ); // draw icon Bitmap icon = BitmapFactory.decodeResource( getResources(), R.drawable.icon ); c.drawBitmap( icon, 0, 0, null ); // stop drawing picture.endRecording(); // queue canvas for printing File f = PrintUtils.saveCanvasPictureToTempFile( picture ); if( f != null ) { PrintUtils.queuePictureStreamForPrinting( this, f ); } }