how to drawText by GenericTypographic in winform?
mc
4,576
Reputation points
in .net android (android application)
I want to draw text which same like winform's GenericTypographic' but there is no such that in android?
I create bitmap
var bitmap=new Android.Graphics.Bitmap(150,36,Bitmap.Config.Argb8888);
var canvas =new Canvas(bitmap);
canvas.DrawText(mystr,width,height,paint);
and I can do it in winform(system.drawing).
I can drawString using graphics. and If I mesureString using StringFormat.GenericDefault it is unclear
If I use StringFormat.GenericTypographic to measureString and then draw it it is ok.
now the text was not ok that I draw in android. is that the measure is wrong?
Sign in to answer