Skip to content

Add pub `is_collection` function, and document `is_font`.

Jeremy Soller requested to merge jimblandy:is_collection into master

Created by: jimblandy

I'm working on rusttype#84 (closed), and needed this function.

I took the liberty of renaming font to data, since values passed to this function are not yet known to be fonts. This lets is_font and is_collection be a bit more symmetrical.

Merge request reports