home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 January / Chip_1997-01_cd.bin / fontogra / fontog.enc < prev    next >
Text File  |  1996-07-29  |  3KB  |  79 lines

  1. // File Fontog.enc
  2. //
  3. // This file is read each time Fontographer begins execution.
  4. // It can be used to define additional font encodings, such 
  5. // as non-Roman language fonts.
  6. //
  7. // The simplest way to add a new encoding is to open a font
  8. // that has that encoding in Fontographer and export its
  9. // encoding. Use the Export item in the File menu. This will
  10. // generate a text file. Copy the text from that file to
  11. // this file and save it with its current name (Fontog.enc).
  12. // The next time you run Fontographer, the new encoding will
  13. // be available to you, just like all the standard encoding
  14. // that are built into the program.
  15. //
  16. // You may want to change the name of the encoding from that 
  17. // of the font you used to the language. To accomplish this,
  18. // just change its name in the first line of the file. The 
  19. // encoding name follows the word Encoding:.
  20. //
  21. // The following is a commented example which shows how you 
  22. // might define your own Pig Latin encoding:
  23. //
  24. // Encoding: Pig Latin
  25. // Size: 256
  26. //  32 0020 space
  27. //  33 0021 exclam
  28. //
  29. //    < other punctuation characters go here >
  30. //
  31. //  65 0041 Aay
  32. //  66 0042 EBay
  33. //  67 0043 ECay
  34. //  68 0044 EDay
  35. //
  36. //    < more alphabetic and other characters go here >
  37. //
  38. // 255 02c7 aroncay
  39. //  -1
  40. //
  41. //
  42. // The first line of the example names this encoding as Pig Latin.
  43. //
  44. // The second line tells you how many character slots are in the
  45. // encoding.
  46. //
  47. // Each character slot is defined by a single line per slot. Each
  48. // line contains the slot number, the Unicode value (hexidecimal),
  49. // and the character's name. For example, slot 32 will contain
  50. // the space character which has a Unicode value of 0020. If a
  51. // slot does not have a Unicode value, use four spaces so that
  52. // the character name aligns with the characters on the previous
  53. // and following lines.
  54. //
  55. // The line following the last character in your encoding must
  56. // have a -1 and nothing else.
  57. //
  58. // You can define several encodings using the Fontog.enc file by
  59. // simply adding them to the other encodings that you have added.
  60. // Each encoding should have a unique name. Otherwise, you won't
  61. // know which one is which.
  62. //
  63. // WARNING: In order to use some foreign language fonts, you will
  64. // probably also have to edit some of the OS/2 tables to tell
  65. // so that the operating system will recognize that the font
  66. // is a particular language. This is an envolved process. Attempt
  67. // it if you already know what you are doing, or enjoy frustrating
  68. // puzzles. Tech support won't be able to help you here. Refer
  69. // to Font specifications such as the TrueType 1.0 Font Files
  70. // Technical Specifications Revision 1.66 for details.
  71. //
  72. // NOTE: your definition lines should
  73. // not begin with //.
  74. //
  75. // Add your encodings below. Have fun and good luck!
  76. //
  77.  
  78.  
  79.