My Android app displays text in several ways, and there are some unpleasant differences between them that I was hoping people could help.
When I use display methods that can be called "automatic", the text displays very well. Using automatic methods, I refer to tools such as Toasts and Button widgets, where I just supply text, and the OS (or "environment" or something else) displays it for me. The letters are beautifully curved, nice to look at and easy to read.
However, in my code, where I process a text display (using Canvas.drawText()surface representation in a representation), the quality of the text leaves much to be desired. The text remains legible, but it looks jagged. Letters just don't look any better.
I tried experimenting with Paint.setTypeface(), using Typeface.SANS_SERIF, for example, but the display quality when it is my code is always poor. Opportunity, but bad.
Has anyone else experienced this? Does anyone have a solution in any way?
source
share