CustomFont icon indicating copy to clipboard operation
CustomFont copied to clipboard

Request: Cache fonts

Open Jawnnypoo opened this issue 10 years ago • 3 comments

Instead of creating the Typefaces from assets each time, there should be some caching mechanism to hold the fonts that are in use. You can see the issue highlighted here:

https://code.google.com/p/android/issues/detail?id=9904

Jawnnypoo avatar Apr 21 '15 21:04 Jawnnypoo

Pretty intresting...

I think this is a good idea just need time to implement it.

leonardoxh avatar Apr 21 '15 21:04 leonardoxh

I can submit it as a pull request if you would like. I can also see this library needing to update itself to extend the new tint aware views:

http://developer.android.com/reference/android/support/v7/widget/AppCompatTextView.html

Jawnnypoo avatar Apr 22 '15 00:04 Jawnnypoo

If you can it would be nice :)

leonardoxh avatar Apr 22 '15 00:04 leonardoxh