1. SummaryThis section explains about conditions of UDC font on JDS, methods of creating UDC on JDS and precautions for some applications. 2. UDC Font Conditions Handled by JDSGNOME/Gtk applications, StarOffice, Java, and Mozilla, etc. are main applications on JDS. All of them draw character using TrueType fonts with Unicode encoding. UDC are the characters allocated to Unicode PUA in the TrueType fonts used for drawing. Further, by enabling multiple TrueType fonts, the JDS applications can draw as many Unicode characters as possible to make the system recognize TrueType fonts with characters in PUA. At this time, TrueType fonts for UDC must satisfy the following conditions.
EUDC.TTE fonts drawn using a Windows external character editor satisfy these conditions, and so can be used in JDS. 3. Creating UDC in JDSFrom Solaris 10, unique JDS tools equivalent to sdtudctool are not supplied. To define a new UDC, use an existing font editor to draw TrueType fonts in which the characters are defined by Unicode PUA. 3.1. Creating CharactersThe procedure for creating UDC fonts using the open source font editor fontforge is described below.
For details of the procedure for creating character data using fontforge, refer to the fontforge reference manual. The TrueType font drawn in this way can also be used from the CDE/Motif application using the same procedure as "Migrating User-Defined Characters Used by Windows" in "B. Font Migration" in the "Japanese Environment User Guide" in the Solaris 10 User Collection (http://docs.sun.com/app/docs/doc/819-0364). 3.2. InstallationTo use the drawn eudc.ttf file throughout the system, copy the file in a directory under /usr, which is described in between <dir> and </dir> in the /etc/fonts/fonts.conf file. (e.g., /usr/openwin/lib/X11/fonts, etc.) Further, if you would like to use it on per-user basis, copy the eudc.ttf file to the $HOME/.fonts directory. If eudc.ttf is replaced, to enable the changes, you must run /bin/fc-cache -f, and log in again afterwards. 3.3. InputsTo input UDC, enter the Unicode code point using the input method in use, or register UDC to the dictionary. For details, refer to either "ATOK12 User's Guide" or "Wnn6 User's Guide". 4. PrecautionsThis section explains the precautions for the individual application environments. 4.1. Using External Fonts Created Using WindowsExternal fonts drawn using Windows are saved by the file name "EUDC.TTE" in the "Fonts" folder.If installed on JDS (refer to 3.2. Installation), it is necessary to change the extension from TTE to TTF. 4.2. Using UDC in StarOffice
Use StarOffice 8. 4.3. Using UDC in JavaWith J2SE5.0, UDC TrueType fonts can be used by editing the JRE fontconfig.properties file. An example of an entry added when using UDC in Japanese UTF-8 locale is described below. allfonts.japanese-EUDC=-misc-EUDC-medium-r-normal--*-%d-*-*-p-*-iso10646-1For details of the Java1.5 fontconfig file, refer to http://java.sun.com/j2se/1.5.0/docs/guide/intl/fontconfig.html. For the UDC font settings on J2SE1.4, refer to http://java.sun.com/j2se/1.3/docs/guide/intl/fontprop.html. 4.4. Printing Using the GNOME ApplicationUDC cannot be printed from applications that print using the gnome-print library, such as gedit, etc. Display and print text files containing UDC using Mozilla.
Note 1: Sun Microsystems does not provide support for open source font editor fontforge and scripts included in the downloads. | |
|
| ||||||||||||