Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
3.7 KiB

  1. NOTE: To build bootfont.bin files, you MUST install and enable the language
  2. support for the target language of the bootfont.bin you need to build.
  3. To generate bootfont.bin files, you can build genfont.exe (in the genfont
  4. directory). Care should be taken to retrieve the proper fonttable.h file
  5. *before* building genfont.exe. The fonttable.h files for chs, cht, jpn,
  6. and kor can be found on these directories. Just drop these header files
  7. into the genfont directory, then build and run genfont.exe.
  8. To build the japanese bootfont.bin file using this method, you would:
  9. 1. start intl.cpl
  10. 2. Select "Japanese" language. You might be required to have these support
  11. files installed from your installation media.
  12. 3. cd \nt\base\boot\bootfont\genfont
  13. 4. copy ..\jpn\fonttable.h .
  14. 5. build -cZP
  15. 6. obj\i386\genfont.exe .\bootfont.bin
  16. To build a CHS, CHT, or KOR bootfont.bin file, just use the respective
  17. fonttable.h files from those directories.
  18. There is another way to build bootfont.bin files too. You can
  19. run convfont.exe, taking as input a legacy (circa build 2195) bootfont.bin
  20. file and convfont.exe will convert this file into the new format.
  21. To build the japanese bootfont.bin file using this method, you would:
  22. 1. start intl.cpl
  23. 2. Select "Japanese" language. You might be required to have these support
  24. files installed from your installation media.
  25. 3. cd \nt\base\boot\bootfont\convert
  26. 5. build -cZP
  27. 6. obj\i386\convfont.exe ..\jpn\win2k_ver\bootfont.bin ..\jpn\bootfont.bin
  28. To build any of the other bootfont.bin files, you must reset the language
  29. via intl.cpl, reboot, then rerun convfont.exe on the target bootfont.bin file.
  30. Here is a list of the current bootfont.bin files along with some other useful
  31. data.
  32. Locale Abbreviation Locale Country Code Locale String
  33. =================== ====== ============ =============
  34. BR Portuguese (Brazilian) 416 portuguese-brazilian
  35. CHS Chinese PRC (simplified) 804 chinese-simplified
  36. CHT Chinese Tiawan (traditional) 404 chinese-traditional
  37. cS Czech 405 czech
  38. DA Danish 406 danish
  39. EL Greek 408 greek
  40. ES Spanish (default) C0A spanish
  41. FI Finnish 40B finnish
  42. FR French 40C french
  43. GER German 407 german
  44. HU Hungarian 40E hungarian
  45. IT Italian 410 italian
  46. JPN Japanese 411 japanese
  47. KOR Korean 412 korean
  48. NL Dutch (Netherlands) 413 dutch
  49. NO Norwegian Bokmal 414 norwegian
  50. PL Polish 415 polish
  51. PT Portuguese (default) 816 portuguese
  52. RU Russian 419 russian
  53. SV Swedish 41D swedish
  54. TR Turkish 41F turkish
  55. -matth