TimelyTextView icon indicating copy to clipboard operation
TimelyTextView copied to clipboard

Add support for custom typeface

Open adnan-SM opened this issue 10 years ago • 2 comments

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

adnan-SM avatar Aug 26 '14 02:08 adnan-SM

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.

jessecoleman avatar Jan 14 '15 00:01 jessecoleman

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.

adnan-SM avatar Jan 14 '15 06:01 adnan-SM