\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f2\b0\i0\ul0\fs28 Symbol font Alternate characters\
\
Q:
\fc0 Alongside the keyboard map in the User Reference Guide, it states that programs might, as a convenience, provide Symbol font characters for certain Alternate key combinations when typing in other font families. How does a developer implement this convenience?\
\
A: Basically, your strategy is to override
\b keyDown
\b0 : in a Text subclass and check if the character belongs to the Symbol set of characters. If so, you insert a font change to Symbol, go ahead and process the keyDown:, and then restore the original font family. Here's the code to do this:\