Page 1 of 1

Color font doesn't work with Ver. 11.5

Posted: Sun Jan 27, 2019 11:17 am
by Peterk
I build a Unicode font with 4 Trash Picture for a calendar in Excel.
I built the font with Fontcreator 9 and it works fine in Excel.
When I write "Aa" in a Cell I get a colored Trash with a black Contour.

Now I made 4 new Trash Pictures and build the font with FontCreator 11.5.
I copy the Project and fill the Letters "F" to "h" with the new Pictures.
In "A" to "H" are the Trash Picture and in "a" to "h" are the Contour.

When I now write in a cell "Aa" or "Ff" I get two pictures; one is the trash and one is the contour. In the Web preview all is OK.

In the Preview (F8) I saw only black Pictures.
Is there are Change between Ver. 9 and 11 by building the font?

mfg peter

Re: Color font doesn't work with Ver. 11.5

Posted: Sun Jan 27, 2019 12:16 pm
by Bhikkhu Pesala
I am not aware of any changes in recent versions.

If you can share the project file (*.fcp) we might be able to spot an error.

Re: Color font doesn't work with Ver. 11.5

Posted: Wed Jan 30, 2019 7:27 pm
by Peterk
Thank you for your rapid Answer.
In the attachments is my Project file.
mfg Peter Krüger

Re: Color font doesn't work with Ver. 11.5

Posted: Wed Jan 30, 2019 8:00 pm
by Bhikkhu Pesala
  • The font works in the Preview Toolbar
  • The font works in the WOFF Test page
Preview Toolbar
Preview Toolbar.png
Preview Toolbar.png (24.25 KiB) Viewed 449 times
WOFF Test Page
WOFF Preview.png
WOFF Preview.png (18.1 KiB) Viewed 449 times
Unless you need to type the empty contours, you could remove the codepoints for a-h. Then Aa will produce only one picture. If both Uppercase and lowercase glyphs have codepoints then typing Aa or Ff would be expected to produce two glyphs in any application.

The Colour Glyph A contains both the outline and the fill for the Red Bin.

P.S. Some glyphs have validation issues. Mostly redundant points that could be removed.

Re: Color font doesn't work with Ver. 11.5

Posted: Thu Jan 31, 2019 7:11 pm
by Peterk
Thank you for your help.
I try it when i have the time.
mfg Peter Krüger

Re: Color font doesn't work with Ver. 11.5

Posted: Sat Feb 02, 2019 12:55 pm
by Peterk
I make a new test with deleting the codepoints from the small Letters.
Now i have only a trash without contour.
So i make a new project from my old TTF File.
I add the letters E to H and e to h.
Then i fill the "E" with a trash picture and the "e" with a contour.
I save the project and install the font.
In Excel now the "Aa" show the trash with a contour and the "Ee" shows a trash and a contour separately.
I can't see a difference between the letters in the project file so i attach the new project file and hope you can help me.

Re: Color font doesn't work with Ver. 11.5

Posted: Sat Feb 02, 2019 1:12 pm
by Bhikkhu Pesala
There are some colour metric conflicts. The coloured glyphs have zero advance width
Color Metrics Conflicts.png
Color Metrics Conflicts.png (19.72 KiB) Viewed 395 times
Fix that and all works as expected.
Trash Bins.png
Trash Bins.png (31.35 KiB) Viewed 395 times

Re: Color font doesn't work with Ver. 11.5

Posted: Sat Feb 02, 2019 1:58 pm
by Peterk
Now i've found the Problem.
The uppercase letters ( trash picture ) must have no bearing on the right side.
the lowercase letters ( contour ) must have the bearing on the right side.
Then the contour have the same position as the trash and i have a colored trash with a black contour.
In excel or calc the uppercase letter must colored and the lowercase letter must be black.
Thanks for your help.
i attach the font so everyone can use it.