R.swift icon indicating copy to clipboard operation
R.swift copied to clipboard

[RFC] Support .ttc font format

Open DanielAsher opened this issue 9 years ago • 6 comments

As far as my (limited) understanding goes, MacOS/iOS support the ttc collection font format. Rswift currently ignores these in the font struct. Should these be supported?

thanks,

Daniel

DanielAsher avatar Mar 13 '17 20:03 DanielAsher

My knowledge about font support on iOS is limited as well.

Do you know of any official documentation about different font formats that are supported? We should try to best match the system supported formats in R.swift.

tomlokhorst avatar Mar 20 '17 08:03 tomlokhorst

Stale.

DanielAsher avatar Mar 26 '18 20:03 DanielAsher

Seems that .ttc fonts are supported by iOS so it would be nice to include this in the future. Lets keep the issue open as a reminder.

mac-cain13 avatar Apr 09 '18 07:04 mac-cain13

Any work being done on this? I glanced at the source code and it seems like it is not included in the list of "white-listed" font types (https://github.com/mac-cain13/R.swift/blob/master/Sources/RswiftCore/ResourceTypes/Font.swift#L13).

Might be more work than just including it there, anyways, it would be stellar if this enhancement were to be included in the near future.

Keep being awesome ❤️

zenangst avatar Aug 29 '18 07:08 zenangst

No one is working on this currently, could be that just whitelisting the extension is enough, I've just not tried it.

Please feel free to look into this. If you change the whitelist and do some testing that would be awesome. Either having a list of things that need to be fixed or a fully working PR are both very much appreciated.

mac-cain13 avatar Aug 29 '18 08:08 mac-cain13

Please don't close the issue, since the issue list also acts as a list of features we could implement when we have time.

mac-cain13 avatar Jan 10 '19 16:01 mac-cain13