create "fonts" folder under "assets" folder. After that put your font file in "fonts" folder and write below code.
Typeface tf =Typeface.createFromAsset(getAssets(),"fonts/YOURFONT.ttf");
Paint paint = new Paint();
paint.setTypeface(tf);
canvas.drawText("Sample text in bold RECOGNITION",0,0,paint);