I was typesetting a document using Cambria as the main font (don’t ask me why). Then I have noticed a very peculiar bug that almost ruined my whole work. Below I explain step-by-step what I have experienced. (I am not sure which steps are relevant and which are not, so I list them all).
- I have defined a style for the headings, based on Cambria as well.
- I have defined a text variable for the running headers based on a null character style, i.e. an invisible style that is only used as target for this variable.
- I have selected the headings that were supposed to be displayed in the running headers and applied this invisible character style.
- The header effectively works.
- Now, for some reason, some of my headings contain the sequence “thin space” + “tab”.
- Each time when it is so, there are some strange figure coming out in the header (see the picture).
After some attempts, I’ve discovered that this behavior pops up with any kind of “special” space, but not with the standard space. The order must be exactly this: “special” space first, tab next, even with some characters intervening in the middle. Moreover, this happens only with Cambria, not with other fonts (even if I haven’t checked them all).
Any idea? Is it Cambria to blame or it’s InDesign?
