*** LanguageSetup.gsdoc.orig Tue Jul 29 14:13:49 2003
--- LanguageSetup.gsdoc Tue Jul 29 14:15:59 2003
***************
*** 13,19 ****
yjchenx@hotmail.com
! NSGlobalDomain
variables such as
NSFont
,
! NSFontSize
, and NSUserFont
, to name a few,
to
appropriate values using the GNUstep's utility
defaults
.
NSGlobalDomain
variables such as
NSFont
,
! NSFontSize
, NSUserFont
, and
NSLanguages
! , to name a few, to
appropriate values using the GNUstep's utility
defaults
.
! At least, you need to change the user default value NSFont
.
For example, suppose you have a hypothetical .nfont
package
! called MyFont
and want to use it to display the characters.
To do this, use the GNUstep's utility defaults
as follows:
Depending on a situation, you may also need to set
NSUserFont
--- 190,205 ----
the characters correctly.
! At least, you need to change the user default value NSFont
,
! and NSBoldFont
.
For example, suppose you have a hypothetical .nfont
package
! called MyFont
and MyBoldFont
,
! and want to use it to display the characters.
To do this, use the GNUstep's utility defaults
as follows:
Depending on a situation, you may also need to set
NSUserFont
***************
*** 214,225 ****
--- 218,243 ----
For further details about the user default values, the reader can refer
to
the documents DefaultsSummary.html
and
NSFont.html
shipped with the GNUstep core library package.
+ You can also change the default language (English) into your native language. + If an application has a directory called MyLanguage.lproj in the bundle + (could be in Resources/ directory), + it may be localized for that language. To enable this functionality, + which displays the interface in that language, you need to set the user + default value NSLanguages to the language. + Otherwise, it will fall back to the default one (English). + To change the default language, use +
+LC_CTYPE
, and LANG
.
! MingTi.nfont (using Arphic font as example) !
!LC_CTYPE
, and LANG
.
! Here, use Arphic MingTi font as example !
!! First, make a directory for an .nfont package you are going to make: !
!! Make a copy of the font file in the directory. !
!
! And write a FontInfo.plist
(see
below).
!