Closed Enivex closed 2 months ago
For the time being I just changed the definition of fa-icon
to
#let fa-icon(
name,
solid: true,
) = {
text(
font: (
"Font Awesome 6 Brands",
"Font Awesome 6 Free" + if solid {
" solid"
},
),
name,
)
}
Which works sufficiently well for the time being.
Wow, I didn't notice that I can use an array of fonts as the parameter.
Cool, I will fix this ASAP.
Thanks! I think this is fixed now.
Currently, the package breaks if I use
#set text(fallback: false)
.The issue is that it relies on implicit fallback in order to do its thing. As an example
displays tofus. If I do
#fontawesome.FA_SET.update("Brands")
, thenfa-orcid()
does work, while if I do#fontawesome.FA_SET.update("Free Solid")
thenfa-phone()
works. Both cannot work simultaneously.Instead of what it's currently doing, the package should specify an explicit list of fonts, and not just a single font.