Small caps don't work with bold/italic
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;
}
