Support Regular/Bold/Italic based on textStyle attribute
Thanks for this, this looks interesting. I've been searching for a better way of building the font families, actually creating Typeface families natively that way we would not need to do any logic ourselves.
I would love to see this feature implemented!
Very nice feature.
When you plan to release a new version with this?
Very nice and useful feature!
This pull request is still open. When you release this feature? Thank you
This would be good on future release. Plz merge
Any info about this? It’s more than one year old.
By the way:
- The current logic is not 100% compliant with the proposed description in README. For example, if the font is italic, it will look for -RegularItalic, while it should look for -Italic.
- As is, it doesn’t work with the default font set in CalligraphyConfig, which is what you would expect. The logic should probably be moved in TypefaceUtils.load(), with some signature changes.
Also if - say - bold is not present we should fallback to regular.
@chrisjenx I have read elsewhere that you were planning to use a different technique. Are you still working on that? Can we help in some way?
Is there any news regarding this PR or support for setting multiple font types?
I would fork and use this yourself, we are going to do another mechanism to do this.
Thanks for the info. I can wait for the official solution. Any (approximate) idea when it will be released?
@chrisjenx Is there any update on the implementation of this feature?
This kind of thing makes more sense to use with either https://github.com/InflationX/ViewPump or the native supported font's built into Google Play Services now.