KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm trying to draw a text on Canvas like this (kinda pseudocode below): Paint p = new Paint(ANTI_ALIAS_FLAG); p.setTextSize(18); ... mCanvas.drawText("Hello StackOverflow!", 50, 50, p); My problem is that the result looks really "weird". It uses some bold-like font, which is badly aliased, looks not pretty and "squarish". I tried to play with p.setTextSize(), by setting various sizes, also I tried to set different default Typefaces by using p.setTypeface(Typeface) and setting DEFAULT, NORMAL, SERIF, SANS_SERIF etc, but it still looks ugly. On the contrary the font used throughout the rest of the system looks really nice, and I'd like to use it. How? :)
Tags (comma-separated)
Save Edits
Cancel