If the title is now correctly print Chinese alphabet symbols, but can not change the font size, so trying to convert text to picture, but the picture is playing out garbled, please help to solve it.
ByteArrayOutputStream baos = new ByteArrayOutputStream ();
b.compress (Bitmap.CompressFormat.PNG, 100, baos);
byte [] bytes = baos.toByteArray (); / / print images directly into bytes after garbled
mmOutStream.write (0x1b);
mmOutStream.write (0x55);
mmOutStream.write (0x06) ;/ / set the font enlarged six times ineffective
mmOutStream.write (bytes);
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Seeking advice, seeking attention
Reply:
Although I do not know why I'm still under reply
Reply:
There is no solution landlord, share
No comments:
Post a Comment