Asian Application Developer's Guide

Starting Applications with a Specific Traditional Chinese Font List

When you start an Asian Solaris tool at the command line, you can also specify its fonts. The following is an example of using a command line argument to start a new Traditional Chinese Windows terminal with a specified font list.


system% dtterm -fn "-dt-interface system-medium-r-normal-s \  	
serif-16-140-75-75-p-70-big5-0; \  	
-dt-interface system-medium-r-normal-s \  	
serif-16-140-75-75-p-140-big5-1:"
Note the two delimiters used in the font list. The ";" delimiter is used to separate the font names except for the last font name, which ends with the ":" delimiter. (In the example above, ";" follows the English font name, and the ":" delimiter follows the Traditional Chinese font name.) Since there are spaces in the long font names, the font list is enclosed in quotation marks.