Non-transparent glyphs?
-
- Posts: 101
- Joined: Thu Mar 25, 2021 8:35 pm
Non-transparent glyphs?
I need to create the following:
The grid will be a zero-width glyph, and the circled numbers will be typed over it. Is there a way to make those enclosures non-transparent so they don't display the grid line underneath?
The grid will be a zero-width glyph, and the circled numbers will be typed over it. Is there a way to make those enclosures non-transparent so they don't display the grid line underneath?
Dan Kreider
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
-
- Top Typographer
- Posts: 9890
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: Non-transparent glyphs?
Coloured glyphs can have white glyphs, but if your program does not support coloured fonts, they won't look as intended.
-
- Posts: 101
- Joined: Thu Mar 25, 2021 8:35 pm
Re: Non-transparent glyphs?
Thanks, I’ve read through the documentation but am still really stuck.
I have the circle and the number as separate glyphs, but I can’t figure out how to do it. When I enter color mode, everything disappears except for one glyph.
How do I color the number white and place it centered on the circle? Thanks.
I have the circle and the number as separate glyphs, but I can’t figure out how to do it. When I enter color mode, everything disappears except for one glyph.
How do I color the number white and place it centered on the circle? Thanks.
Dan Kreider
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
-
- Top Typographer
- Posts: 9890
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: Non-transparent glyphs?
Does your software support coloured fonts?
- Colourise the circle to black
- Colourise the one to white
- Add the white colour glyph member to the coloured circledone glyph
-
- Posts: 101
- Joined: Thu Mar 25, 2021 8:35 pm
Re: Non-transparent glyphs?
Thanks, that was helpful. I ended up just making the number white, and using a single positioning to place it on top of the circle. These are guitar chord diagrams, by the way.
It looks correct in Font Creator:
But in Dorico, the numbers are appearing slightly off-center, like this:
Any idea what might be causing that?
It looks correct in Font Creator:
But in Dorico, the numbers are appearing slightly off-center, like this:
Any idea what might be causing that?
Dan Kreider
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
-
- Moderator
- Posts: 11227
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: Non-transparent glyphs?
That looks like it might be a good solution to your problem.
I am not sure if you already read the tutorial about color fonts:
https://www.high-logic.com/font-editor/ ... olor-fonts
Pay extra attention to the metrics, as metrics of the base glyph and the color members must be the same. So, the offsets (usually set to 0) and the advance widths must match.
Are there warnings in FontCreator? In the upper left corner of the treeview inside the font panel?
I am not sure if you already read the tutorial about color fonts:
https://www.high-logic.com/font-editor/ ... olor-fonts
Pay extra attention to the metrics, as metrics of the base glyph and the color members must be the same. So, the offsets (usually set to 0) and the advance widths must match.
Are there warnings in FontCreator? In the upper left corner of the treeview inside the font panel?
-
- Posts: 101
- Joined: Thu Mar 25, 2021 8:35 pm
Re: Non-transparent glyphs?
Thanks Erwin, I did read that link. However the color glyphs I'm using are all by themselves, not combined with anything else.
EDIT: But I did go back and correct the metrics of each number to make them zero-width, and now they work. I don't totally understand why... I find color fonts confusing. But I'm glad it works.
The color isn't working in Word or InDesign, I'm not sure why that would be. I tried both COLR and SVG. Surely I'm doing something wrong. I don't know if anyone might be able to take a quick look, but the FCP file is here.
EDIT: But I did go back and correct the metrics of each number to make them zero-width, and now they work. I don't totally understand why... I find color fonts confusing. But I'm glad it works.
The color isn't working in Word or InDesign, I'm not sure why that would be. I tried both COLR and SVG. Surely I'm doing something wrong. I don't know if anyone might be able to take a quick look, but the FCP file is here.
Dan Kreider
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
-
- Moderator
- Posts: 11227
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: Non-transparent glyphs?
I don't understand what text I need to test it...
Do you overlay the color glyphs over regular "monochrome" glyphs?
Do you overlay the color glyphs over regular "monochrome" glyphs?
-
- Posts: 101
- Joined: Thu Mar 25, 2021 8:35 pm
Re: Non-transparent glyphs?
Yes that’s correct. You can try 5# for the grid, then 1 for a circle at the first position, then f1 for a white finger number 1 on top of the black circle. The circle glyph is monochrome, and the number on top of it is colored white.
Many thanks!
Many thanks!
Dan Kreider
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
-
- Moderator
- Posts: 11227
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: Non-transparent glyphs?
Well, AFAIK InDesign does not support COLR, but SVG should work although I am not sure if overlay works in all circumstances.Dan Kreider wrote: ↑Fri May 28, 2021 9:08 pm Thanks Erwin, I did read that link. However the color glyphs I'm using are all by themselves, not combined with anything else.
EDIT: But I did go back and correct the metrics of each number to make them zero-width, and now they work. I don't totally understand why... I find color fonts confusing. But I'm glad it works.
The color isn't working in Word or InDesign, I'm not sure why that would be. I tried both COLR and SVG. Surely I'm doing something wrong. I don't know if anyone might be able to take a quick look, but the FCP file is here.
Word does show it (after enabling standard and contextual ligatures), but has issues: Note: I am not sure if YPlacement is widely supported for Latin.
-
- Posts: 101
- Joined: Thu Mar 25, 2021 8:35 pm
Re: Non-transparent glyphs?
Hmm, this is what I get when I enter that same string in Word:
the numbers are there but are black, so they're invisible.
It's frustrating that different software renders fonts so differently...!
Could you think of any other way to accomplish this without color glyphs? If I simply hollow out the circle, as I tried already, the grid line displays underneath.
the numbers are there but are black, so they're invisible.
It's frustrating that different software renders fonts so differently...!
Could you think of any other way to accomplish this without color glyphs? If I simply hollow out the circle, as I tried already, the grid line displays underneath.
Dan Kreider
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
-
- Moderator
- Posts: 11227
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: Non-transparent glyphs?
Actually I made a mistake, I only enabled:
Ligatures
Contextual Ligatures
While I should have enabled:
Ligatures
Contextual Alternates
Ligatures
Contextual Ligatures
While I should have enabled:
Ligatures
Contextual Alternates
-
- Posts: 101
- Joined: Thu Mar 25, 2021 8:35 pm
Re: Non-transparent glyphs?
Ha! It works!
Word 365? That would explain why mine doesn’t work, possibly...
Word 365? That would explain why mine doesn’t work, possibly...
Dan Kreider
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
Music engraving and hymnal publishing
dankreider.com
hymnworks.com