Open rsh52 opened 1 day ago
A few comments here.
emojifont
packages the TTF font file from the fontawesome-free-web
package that you can download from the FontAwesome website. It's in inst/fonts/
. This appears to be OK by the SIL OFL 1.1 license which is very permissive in packaging fonts along with software, and it seems that as long as we don't modify the files and include the LICENSE.txt in the package we're good. This makes things easy and we should be able to just add the fonts we want to the ggswim
package. geom_text()
supports TTF only. The following TTF fonts are in the webfonts package. I think we should support regular and solid, not brands, and there's no need to provide compatibility with v4:
fa-brands-400.ttf
fa-regular-400.ttf
<- includefa-solid-900.ttf
<- includefa-v4compatibility.ttf
geom_text()
is cumbersome (looks bad or positioning is difficult) we could also look into using PNG or SVG versions of these fonts, also available in the package.
Feature Request Description
It would be nice to also allow for fontawesome icons in addition to shapes/glyphs and emojis. the
fontawesome
package does not currently seem capable of doing this, butemojifont
might.Additional Context
Here is an example output using
geom_text
and theemojifont
package:Checklist