mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 09:08:49 -05:00
Added more finer characters as proposed by cketti
This commit is contained in:
parent
df5766ba3a
commit
6af02c4c13
@ -166,8 +166,7 @@ public class ContactPictureLoader {
|
|||||||
paint.setAntiAlias(true);
|
paint.setAntiAlias(true);
|
||||||
paint.setStyle(Paint.Style.FILL);
|
paint.setStyle(Paint.Style.FILL);
|
||||||
paint.setARGB(255, 255, 255, 255);
|
paint.setARGB(255, 255, 255, 255);
|
||||||
paint.setFakeBoldText(true);
|
paint.setTextSize(mPictureSizeInPx * 3 / 4); // just scale this down a bit
|
||||||
paint.setTextSize(mPictureSizeInPx);
|
|
||||||
Rect rect = new Rect();
|
Rect rect = new Rect();
|
||||||
paint.getTextBounds(letter, 0, 1, rect);
|
paint.getTextBounds(letter, 0, 1, rect);
|
||||||
float width = paint.measureText(letter);
|
float width = paint.measureText(letter);
|
||||||
|
Loading…
Reference in New Issue
Block a user