Skip to main content
Known Participant
December 10, 2009
Question

Small caps don't work with bold/italic

  • December 10, 2009
  • 1 reply
  • 852 views

I tested this issue by embedding the Adobe Garamond Pro font (all four font files are embedded as cff and point to the same fontFamily). The small caps work when the font is regular. If I change it to bold and/or italic the small caps become big caps. I checked the glyphs of the bold and italic files and there are small caps glyphs.

Am I doing something wrong?

Here is the embedding code:

@11220649-face {
src: url("fonts/AGaramondPro-Regular.otf");
fontFamily: AdobeGaramondProEmbedded;
embedAsCFF: true;
}

@11220649-face {
src: url("fonts/AGaramondPro-Bold.otf");
fontFamily: AdobeGaramondProEmbedded;
fontWeight: bold;
embedAsCFF: true;
}

@11220649-face {
src: url("fonts/AGaramondPro-Italic.otf");
fontFamily: AdobeGaramondProEmbedded;
fontStyle: italic;
embedAsCFF: true;
}

@11220649-face {
src: url("fonts/AGaramondPro-BoldItalic.otf");
fontFamily: AdobeGaramondProEmbedded;
fontStyle: italic;
fontWeight: bold;
embedAsCFF: true;
}

This topic has been closed for replies.

1 reply

December 11, 2009

I don't think you're doing anything wrong. It looks like a bug - I'll write it up. Thanks for the report.

Known Participant
December 11, 2009

Ok thank you very much.

December 11, 2009

So I looked a bit further into this, and it turns out that Adobe Garamond Pro Regular is the only font in this set with the "c2sc" feature. TLF (and the underlying code in Flash Player) depends on that feature for its small caps substitution. The bold/italic/bolditalic faces are missing that feature, so we're not coming up with the correct glyphs.

Other applications do figure out how to do the glyph mapping correctly for these fonts, so I'm going to log a feature request that we handle this case when small caps glyphs are present in a font without a c2sc feature. But I don't expect that small caps will work with these fonts with TLF 1.0 and Flash Player 10.0/10.1.