Four Js Development Tools Forum

General => Ask Reuben => Topic started by: Reuben B. on November 14, 2022, 03:57:27 am



Title: Ask Reuben 149 - Color Icons
Post by: Reuben B. on November 14, 2022, 03:57:27 am
When TTF Icons were introduced to Genero in 3.00 , they required an additional configuration file that provided an image-to-font glyph mapping.  This is the image2font.txt that is found in $FGLDIR/lib that will be referenced by FGLIMAGEPATH.  To render TTF Icons in different colors required adding additional lines to this configuration file.
 
With the recent GBC 4.01.06 maintenance release, an issue was resolved surrounding the use of the defaultTTFColor presentation style.  You can also now use Presentation Styles to control the color of TTF Icons just as you would other widgets.

Read more at https://4js.com/ask-reuben/ig-149/