We trying to use a regular font and use the font engine to extrapolate
that to BOLD format.   I just tried with free font DejaVuSans.

Typeface regFace = Typeface.createFromAsset(getContext().getAssets(),
                                                                           
"fonts/
DejaVuSans.ttf");

Typeface        boldFace = Typeface.create(regFace, Typeface.BOLD);

Now when we set the type face to this boldFace in the paint object
using setTypeface(boldFace);

When we draw the text,  we are expecting bold fonts.  What we see is
regular fonts.  Is this not the right usage ?

Please advise and thanks in advance.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to