Android Custom Fonts suggest change

Custom font in canvas text

Drawing text in canvas with your font from assets.

Typeface typeface = Typeface.createFromAsset(getAssets(), "fonts/SomeFont.ttf");
Paint textPaint = new Paint();
canvas.drawText("Your text here", x, y, textPaint);

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents