adnan-SM / TimelyTextView

Animated TextView like Timely app
920 stars 152 forks source link

Add support for custom typeface #13

Open adnan-SM opened 10 years ago

adnan-SM commented 10 years ago

Support custom typefaces so that people can use the library in production apps.

jessecoleman commented 9 years ago

Is there any more progress on this feature? We're thinking about using this library in our project and we'd really like to be able to use it with some of the other Roboto family fonts. If there's something I can do to help, please let me know.

adnan-SM commented 9 years ago

Hey, I have been way too busy to be working on the library. To be able to use it with different fonts, you would need to get the control points of each number in that font using something like after effects. And then replace the points with the points for each digit in the model.

The path where all models are stored/mapped -

https://github.com/adnan-SM/TimelyTextView/tree/master/timelytextview/src/main/java/com/github/adnansm/timelytextview/model/number

Hope that helps.