So, I have a font family that overlaps onto each other. In previous renders I have had no issue with the family lining up perfectly. But now, with a recent render, one layer does not exactly line up along the baseline with the others, but only in specific circumstances. (Image below.)
As you can see, this top black layer’s baseline has jumped to meet the top of the letters instead of staying on the shared baseline of the magenta and white glyphs. This does not happen in InDesign, or type on a path in Illustrator, but only in a type box in illustrator. (and, again, I was not having this issue with previous renders.) Any insights?
So, in your case, I’d either make sure that all vertical metrics settings are the same throughout all fonts. Or, you can override the automatic calculation with the corresponding Custom Parameters: take a look at Vertical Metrics in the glyphsapp.com blog.
It looks like all my metrics are identical across the entire family.
I will admit that maybe this is an app issue, not a font issue. But I still do not understan why it would bump it up. I figured that there must be some information that the font is feeding the app to do that.
Well, my bounding boxes are all exact replicas (it’s just the glyph & box duplicated on top of itself)
This example is interesting in that there is no image in the top (black) glyph to cause the letter to jump and align with the cap-height instead of the baseline, but it still jumps. It seems to me to be something coded into the glyph
I think Georg was talking about the fonts’ bounding boxes, i.e. the extremum points in the respective fonts themselves. From what I see here, it’s likely that the ‘black’ font’s top extremum is lower than the one of the other fonts.
As Georg suspected, it’s a font bounding box issue. Some of the vertical metrics are calculated based on the bounding box. You can set them manually, though. The blogpost about vertical metrics explains how. To cut a long story short, you can copy the following text and paste it into each font’s Custom Parameters:
Alright, after much experimenting, I stumbled across ‘Raise or lower the first baseline in a text area’ on this website.
By default, Illustrator measures the height of your lowercase d and uses it as baseline offset in area text. You can change that in Type > Area Type Options, and there you can have AI calculate the offset (‘First Baseline’) differently: