1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Added more finer characters as proposed by cketti

This commit is contained in:
Stephan Fuhrmann 2013-07-24 00:32:27 +02:00
parent df5766ba3a
commit 6af02c4c13

View File

@ -166,8 +166,7 @@ public class ContactPictureLoader {
paint.setAntiAlias(true);
paint.setStyle(Paint.Style.FILL);
paint.setARGB(255, 255, 255, 255);
paint.setFakeBoldText(true);
paint.setTextSize(mPictureSizeInPx);
paint.setTextSize(mPictureSizeInPx * 3 / 4); // just scale this down a bit
Rect rect = new Rect();
paint.getTextBounds(letter, 0, 1, rect);
float width = paint.measureText(letter);