How to change glyph layer color from black to Foreground in color font for

Get help with FontCreator here. Please do not post feature requests or bug reports here.
Post Reply
mehrtype
Posts: 3
Joined: Mon Feb 21, 2022 7:43 pm

How to change glyph layer color from black to Foreground in color font for

Post by mehrtype »

Hy!
I am working on a color font in which each glyph consists of multiple layers, Actually it is an Arabic Quran font, I am applying intonation (Tajweed) rules by coloring different parts of glyphs in different layers. Almost I had completed the font but unfortunately I had applied all glyph base color as black instead of foreground color (based on user choice) Now I want to change black color into foreground color. (so that the user can change the base color of his choice but the colored part remains same, it will also be helpful in using the font in night mode) I had tried it to do manually one by one each glyph, but it takes a lot of time because there are almost 150000 glyphs in my font. so I want to find out a way how can I set this in a single command. I want automation to complete my job in time. is there is any scripts that will solve my problem? I am using Font Creator 13 software and using CPAL and COLR tbales.
Please guide me. Thanks alot..

Image
Last edited by Bhikkhu Pesala on Mon Feb 21, 2022 8:51 pm, edited 1 time in total.
Reason: Moved to correct forum
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9890
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: How to change glyph layer color from black to Foreground in color font for

Post by Bhikkhu Pesala »

I have coloured glyphs in my Odana font, which will change colour simultaneously when I edit the palette colour. I tested with FC13. I don't see how one applies a glyph base colour. I guess there is no solution. Have you tried selecting multiple glyphs in the overview before making the palette changes?

Before
Globe Before.png
Globe Before.png (18.03 KiB) Viewed 2140 times
After
Globe After.png
Globe After.png (18.13 KiB) Viewed 2140 times
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
mehrtype
Posts: 3
Joined: Mon Feb 21, 2022 7:43 pm

Re: How to change glyph layer color from black to Foreground in color font for

Post by mehrtype »

Bhikkhu Pesala wrote: Mon Feb 21, 2022 8:49 pm I have coloured glyphs in my Odana font, which will change colour simultaneously when I edit the palette colour. I tested with FC13. I don't see how one applies a glyph base colour. I guess there is no solution. Have you tried selecting multiple glyphs in the overview before making the palette changes?

Before
Globe Before.png
After
Globe After.png
We can not apply any color without opening an glyph editor window. and in glyph editor window we can only apply the color on that particular glyph. we can not apply any color to all glyphs.
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9890
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: How to change glyph layer color from black to Foreground in color font for

Post by Bhikkhu Pesala »

mehrtype wrote: Tue Feb 22, 2022 11:58 amWe can not apply any color without opening an glyph editor window. and in glyph editor window we can only apply the color on that particular glyph. we can not apply any color to all glyphs.
Editing the colour in the palette applies the change to all glyphs using that palette colour, as per my screenshots.
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
mehrtype
Posts: 3
Joined: Mon Feb 21, 2022 7:43 pm

Re: How to change glyph layer color from black to Foreground in color font for

Post by mehrtype »

thnaks, but what is the hexacode for foreground color in Font creator?
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9890
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: How to change glyph layer color from black to Foreground in color font for

Post by Bhikkhu Pesala »

mehrtype wrote: Sat Mar 05, 2022 5:55 am thanks, but what is the hexacode for foreground color in Font creator?
The foreground colour can be anything you want. Different glyphs can use different palette entries for their foreground colour. If you need more colours, add them to the palette, and apply them to the coloured glyphs.
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
Post Reply