Calligraphy icon indicating copy to clipboard operation
Calligraphy copied to clipboard

Support Regular/Bold/Italic based on textStyle attribute

Open netmaxt3r opened this issue 10 years ago • 13 comments

netmaxt3r avatar Jul 29 '15 10:07 netmaxt3r

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.

chrisjenx avatar Jul 29 '15 12:07 chrisjenx

I would love to see this feature implemented!

technoir42 avatar Aug 18 '15 10:08 technoir42

Very nice feature.

When you plan to release a new version with this?

joaofyz avatar Aug 18 '15 10:08 joaofyz

Very nice and useful feature!

mateusgrb avatar Sep 17 '15 20:09 mateusgrb

This pull request is still open. When you release this feature? Thank you

swellner avatar Jul 06 '16 14:07 swellner

This would be good on future release. Plz merge

vancelopes avatar Aug 16 '16 01:08 vancelopes

Any info about this? It’s more than one year old.

natario1 avatar Sep 21 '16 15:09 natario1

By the way:

  1. 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.
  2. 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?

natario1 avatar Sep 21 '16 19:09 natario1

Is there any news regarding this PR or support for setting multiple font types?

MGaetan89 avatar Jan 19 '17 16:01 MGaetan89

I would fork and use this yourself, we are going to do another mechanism to do this.

chrisjenx avatar Jan 19 '17 16:01 chrisjenx

Thanks for the info. I can wait for the official solution. Any (approximate) idea when it will be released?

MGaetan89 avatar Jan 25 '17 07:01 MGaetan89

@chrisjenx Is there any update on the implementation of this feature?

MGaetan89 avatar Mar 09 '17 13:03 MGaetan89

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.

chrisjenx avatar Sep 20 '17 03:09 chrisjenx