FONTAWESOME DUOTONE ...

Started by Benjamin G., October 28, 2022, 06:21:05 PM

Previous topic - Next topic

Benjamin G.

Hello,

Can we use the duotone fontawesome with Genero ?

Thanks

Leo S.

Hi Benjamin, in principle you could use duotone icons with the GBC: however they are not based on a .ttf font, so its technically different from the last free FontAwesome version we ship.
Duotone icons are simply svg tags , check in this codepen
https://codepen.io/fontawesome/pen/yLPEeyz

the sample includes  some scripts from fontawesome.com, it should IMHO be possible to use this at least in a GBC customization.
Not sure if a singular icon can be exported to singular svg file ..I'm not an SVG expert.

Regards, Leo

Leo S.

On https://fontawesome.com/docs/desktop/add-icons/duotone-desktop it seems they are shipping as separate svgs, so  GDC/GBC support SVG normally.

Benjamin G.

Hi,

Thanks.

Yes we can use duotone using TTF but we can't find a way to define the "colors" of the tones ... using StyleAttribute "defaultTTFColor" we can only play with one of the tone ... and don't want to play with a GBC customization as possible

Regards

Leo S.

Ok, then  I'd suggest looking at the svg files how to modify the colors in there...could be done with a little Genero program...

Benjamin G.