FontDescription.st
changeset 5916 ceb0f5faf565
parent 5906 7aa045d62811
child 5991 c89cdc73a6bb
equal deleted inserted replaced
5915:8b58c9e08f9e 5916:ceb0f5faf565
   109         CharacterEncodingToCharacterSetMapping := Dictionary withKeysAndValues:#(
   109         CharacterEncodingToCharacterSetMapping := Dictionary withKeysAndValues:#(
   110             utf7        unicode
   110             utf7        unicode
   111             #'utf-7'    unicode
   111             #'utf-7'    unicode
   112             utf8        unicode
   112             utf8        unicode
   113             #'utf-8'    unicode
   113             #'utf-8'    unicode
       
   114             #utf16be    unicode
       
   115             #utf16le    unicode
   114         ).
   116         ).
   115     ].
   117     ].
   116 !
   118 !
   117 
   119 
   118 initializeCharacterSetToFontMapping
   120 initializeCharacterSetToFontMapping
   119     "character sets"
   121     "character sets"
   120 
   122 
   121     CharacterSetToFontMapping isNil ifTrue:[
   123     CharacterSetToFontMapping isNil ifTrue:[
   122         CharacterSetToFontMapping := Dictionary withKeysAndValues: #(
   124         CharacterSetToFontMapping := Dictionary withKeysAndValues: #(
   123             unicode        'iso10646-*'
   125             unicode        'iso10646-1'
   124 
   126 
   125             'koi8-r'       'iso8859-5'
   127             'koi8-r'       'iso8859-5'
   126 
   128 
   127             'iso2022-jp'   'jis*0208*'
   129             'iso2022-jp'   'jis*0208*'
   128             'x-iso2022-jp' 'jis*0208*'
   130             'x-iso2022-jp' 'jis*0208*'
  1523 ! !
  1525 ! !
  1524 
  1526 
  1525 !FontDescription class methodsFor:'documentation'!
  1527 !FontDescription class methodsFor:'documentation'!
  1526 
  1528 
  1527 version
  1529 version
  1528     ^ '$Header: /cvs/stx/stx/libview/FontDescription.st,v 1.78 2012-04-25 16:58:41 stefan Exp $'
  1530     ^ '$Header: /cvs/stx/stx/libview/FontDescription.st,v 1.79 2012-07-10 07:58:20 stefan Exp $'
  1529 !
  1531 !
  1530 
  1532 
  1531 version_CVS
  1533 version_CVS
  1532     ^ '$Header: /cvs/stx/stx/libview/FontDescription.st,v 1.78 2012-04-25 16:58:41 stefan Exp $'
  1534     ^ '$Header: /cvs/stx/stx/libview/FontDescription.st,v 1.79 2012-07-10 07:58:20 stefan Exp $'
  1533 ! !
  1535 ! !
  1534 
  1536 
  1535 FontDescription initialize!
  1537 FontDescription initialize!