<div dir="ltr">Hi,<div>the current font handling could need a refactoring/ cleanup.</div><div>Emphasis of a font are stored in different places and that makes it inconsistent and very hard to interface.</div><div><br></div><div>As far as I can tell should the emphasis info be stored as a text attribute.</div><div>But it seems that many tools set the emphasis directly in the font.</div><div><br></div><div>Here is a couple of examples from text in Workspaces:</div><div><br></div><div>{a TextEmphasis code: 1 . aTextFontReference(TTCFont(BitstreamVeraSansMono 24 Bold Oblique))}<br></div><div>This font has bold and italics set in the font (corresponds to value 3), but the emphasis attribute is 1 which corresponds to bold.<br></div><div><br></div><div>{a TextFontReference(a StrikeFont(Accumon10 12))}</div><div>Here is also emphasis set in the font and no emphasis attribute is present at all.</div><div><br></div><div><br></div><div>Karl</div></div>