Don’t be loath to edit the CompositeData.xml file if you need to. That’s why there is an option to “Copy Data Files to User Data Folder” in Tools, Options, Advanced.
The original file is saved in Program Files when FontCreator is installed:
You can always delete your copied version if you broke something, and copy the original again. If you copied it once before, it won’t be overwritten on using “Copy Data Files.” So, check the date of the copy in \AppData\Roaming\FontCreator\Composites. There is a newer version in the Tutorial thread that fixes a few bugs.
If there is a bug in the Petite Capitals script, edit it to move the insert Thorn character (58254) before the scaling operation. Here, the Capital Letter Eng and OE are being scaled correctly so I suspect that you may have an older version of the transform script. The CompositeData script does not do any scaling; it simply composes the PUA Small Capital or Petite Capital glyphs using the basic Latin glyphs. You can verify this by using Complete Composites on the Petite Capital glyphs after running the transform script.
The Petite Capitals Script.
- Inserts characters mapped to the PUA
- Completes Composites
- Decomposes (makes simple)
- Scales them down
- Makes them bolder
- Moves them back up to the baseline to compensate for vertical bolding
- Set the left side-bearing point to zero.
As the latter part of the script says:
The rest of this script then adds composites of these new glyphs to create a wide range of accented small capitals and ligatures like AE. You will need to align the accents horizontally and edit some glyphs.
For the best results with Petite Capitals, you may need smaller accents than those used for the Latin-1 Supplement or Latin Extended character sets. Insert a set of low profile accents first, before running the Petite Capitals script, and edit the low profile accent glyphs to position them vertically to suit lowercase. They will then be correctly positioned vertically for Petite Capitals.
Petite Capitals are scaled to be approximately 65% the size of basic latin glyphs after bolding. The aim is to align with the x-height, which will, of course, vary from font to font, so the scale factor will probably need some adjustment.
The accents are aligned by CompositeData.xml, but may need some manual adjustment. Acute and grave accents should be offset from centre alignment.
<Composite><!-- Small capital a grave -->
<GlyphMapping>58224</GlyphMapping> ; Petite or Small Capital A grave
<Member id="1">
<GlyphMapping>58097</GlyphMapping> ; Petite or Small Capital A
<UseMetrics>TRUE</UseMetrics>
</Member>
<Member id="2">
<GlyphMapping>57365</GlyphMapping> ; lowprofilegraveaccent
<GlyphMapping>96</GlyphMapping> ; grave (fallback glyph in absence of above)
<Pos>Auto</Pos>
</Member>
</Composite>
