|
||||||
|
Q. How do I get subscripts, superscripts, foreign characters, and so on in my strings in AVS/Express?A. You can just enter special character codes that are supported by your character set. For example, pull down a string object or UI kit object such as UIlabel and enter the string, "a\xb2 * b\xb3" This is a with superscript 2 times b with superscript 3. (This assumes you are in an English locale using ISO8859-1; this is the default 'C' locale for AVS/Express.) If you want Greek, then try specifying an ISO8859-7 font (you can specify the font by setting the LANG environment variable) and using character codes in the upper half of the byte range. Unfortunately many machines won't have an ISO8859-7 font available unless you have the Greek language option installed. If you do have ISO8859-7 then pi**2 becomes: \xf0\xb2 You can get the character code mappings from your OS documentation, or by using font tools such as xfd on UNIX systems. For more info see Appendix A, "Worldwide Language and Font Support" of the Using AVS/Express manual.
| |||||