Partially support COLRv1 emoji fonts.
Fix string2fill()
and string2stroke()
; when the second argument is a path
to a file, these unintentionally worked as string2path()
.
string2path()
now generates the same outline as string2fill()
and
string2stroke()
(#69).
path_id
and glyph_id
are now 1-origin.
The result of string2fill()
and string2stroke()
now don't contain a
path_id
column. I found the calculation of path_id
had never been
correct, and it's probably better to remove it to avoid confusion.
Drop support for R < 4.1.
Now all functions accept font family name. This is to support TTC file
properly, which contains more than one fonts. A new function dump_fontdb()
is useful to check the actual family name (and the weight and the style) to
specify.
They also accept a file path, so the existing code should work, except when
specifying tolerance
without the named argument.
The minimum supported Rust version is bumped to 1.56.0 for the 2021 edition.
NEWS.md
file to track changes to the package.