home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 18 / 18.iso / w / w251 / 2.ddi / WP5_RTF.TX$ / wp5_rtf.txt
Encoding:
Text File  |  1994-03-01  |  6.3 KB  |  140 lines

  1. # This is a sample font mapping file for use with the beta WordPerfect
  2. # converter for Microsoft Word for Windows 2.0. It can be used to
  3. # override some or all of the font mappings performed automatically by
  4. # the converter when converting from WordPerfect to Word.
  5. #
  6. # In order for this file to be used by the converter, it must be
  7. # renamed to WP5_RTF.DAT, must be a plain ASCII text file, and must
  8. # reside in either the same directory as the document being converted
  9. # or in the directory containing the converter itself. The converter
  10. # searches for this file first in the document directory, and then in
  11. # the converter directory. Therefore, a font mapping file located in
  12. # the document directory will override one located in the converter
  13. # directory.
  14. #
  15. # Each line of the file is either a comment line or a mapping line
  16. # that describes how a particular WordPerfect font/attribute
  17. # combination should map to a Word for Windows font during conversion.
  18. # There is no set limit to the number of comment or mapping lines a
  19. # font mapping file can contain.
  20. #
  21. # The syntax of a comment line is
  22. #
  23. #    #<CommentText>
  24. #
  25. # The pound (#) symbol denotes a comment and must be included at the
  26. # beginning of each comment line. <CommentText> represents the text of
  27. # the comment.
  28. #
  29. # The syntax of a mapping line is:
  30. #
  31. #    <WPFontName>; <WinFontName> [,<Attribute>]
  32. #
  33. # Each line in the file must be terminated with a <newline> (carriage
  34. # return/linefeed), and the (#) symbol must be removed from the
  35. # beginning of the line for the mapping line to become active.
  36. #
  37. # <WPFontName> is a WordPerfect font name exactly as it appears in the
  38. # Base Font menu in WordPerfect. <WinFontName> is a Windows font name
  39. # exactly as it appears in the Format Character menu in Word for
  40. # Windows. <WinFontName> is separated from <WPFontName> by a
  41. # semicolon. <Attribute> affects any of the attributes that can be
  42. # included with a WordPerfect base font definition. The <Attribute> is
  43. # optional and is separated from the <WinFontName> by a comma.
  44. # Possible <Attribute> values include:
  45. #
  46. #    bold
  47. #    italic
  48. #    light
  49. #    roman
  50. #    <integer> point
  51. #
  52. # <integer> is any base 10 integer used to specify base font point
  53. # size.
  54. #
  55. # For example, a font mapping file containing the line
  56. #
  57. #    Courier 10cpi; Arial, bold, italic, 14
  58. #
  59. # will map the WordPerfect font Courier 10cpi (characters per inch or
  60. # pitch) font to the Windows Arial TrueType font with bold and italic
  61. # attributes applied, and a change in font size from 10cpi (12 point)
  62. # to 14 point.
  63. #
  64. # More Information:
  65. #
  66. # The converter uses the font-mapping file as follows. For each
  67. # WordPerfect font name, the converter searches the WordPerfect file
  68. # for the longest match between the font name and a <WPFontName>
  69. # specified in the font mapping file. Matching is not case sensitive.
  70. #
  71. # If any match exists between a particular font name in the
  72. # WordPerfect document and a <WPFontName> in the font mapping file,
  73. # the longest such match determines the mapping line to be applied.
  74. # The purpose of this functionality is to allow you to map entire
  75. # groups of fonts at once.
  76. #
  77. # For example, suppose the document you wish to convert was originally
  78. # formatted in WordPerfect for the Hewlett Packard LaserJet IIIsi. In
  79. # this case, a font mapping file containing only the mapping line
  80. #
  81. #    Courier; Courier New
  82. #
  83. # will map all WordPerfect Courier fonts, including Courier 10cpi,
  84. # Courier 10cpi Bold, Courier 12cpi Bold, etc. to Courier New in Word
  85. # for Windows.
  86. #
  87. # In comparison, the mapping line
  88. #
  89. #    Courier 10cpi Bold; Courier New
  90. #
  91. # will map Courier 10cpi Bold to Courier New, but will not affect
  92. # the conversion of Courier 10cpi, Courier 10cpi Italic, or Courier
  93. # 12 cpi.
  94. #
  95. # As the example above suggests, because the converter chooses the
  96. # longest <WPFontName> that matches a particular WordPerfect font
  97. # name, specific mappings override general ones. Therefore, whereas
  98. # you might choose to map Courier to Courier New, and Courier 10cpi to
  99. # Arial, if you also choose to map Courier 10cpi Bold to Times New
  100. # Roman, only the latter mapping will apply to Courier 10cpi Bold
  101. # because it more specifically matches the original WordPerfect font
  102. # definition.
  103. #
  104. # You can specify an <Attribute> as part of any mapping line. The
  105. # "bold" attribute directs that the resulting Word for Windows font
  106. # should always have the bold format applied. The "italic" attribute
  107. # directs that the resulting Word for Windows font should always have
  108. # the italic format applied.
  109. #
  110. # The attributes "light" and "roman are the opposites of "bold" and
  111. # "italic" respectively. The "light" attribute directs that the Word
  112. # for Windows font should specifically not have the bold format
  113. # applied even if the source WordPerfect font included this attribute
  114. # (for example, Courier 12cpi Bold). The "roman" attribute similarly
  115. # negates the italic attribute from a font that originally included
  116. # that attribute.
  117. #
  118. # The use of "light" or "roman" in a mapping line only negates bold or
  119. # italic attributes that were originally an inherent part of a
  120. # particular WordPerfect font. Bold and/or italic attributes applied
  121. # separately from the font definition itself (e.g. bold applied via
  122. # the WordPerfect F6 command) are retained.
  123. #
  124. # An additional font attribute that can be mapped is font size. You
  125. # can specify a point size <Attribute> on any mapping line. If the
  126. # point size <Attribute> exists, it overrides the point size the
  127. # converter would normally apply. This option is most useful for
  128. # non-scalable fonts (for example, if you wish to map Courier 10cpi to
  129. # Courier New 14), but can also be applied to scalable fonts (e.g. CG
  130. # Times Scalable). The effect on scalable fonts is to change the base
  131. # size of any variation of the source scalable font to the size you
  132. # specify in the font mapping file. The only item that need be
  133. # included in the point size <Attribute> is the size number. any text
  134. # following the number (e.g. "cpi") is ignored.
  135. #
  136. # Once again, as in the case of bold and/or italic attributes applied
  137. # separately from the font definition in WordPerfect, Size commands
  138. # (e.g. Fine, Small, Large, Extra Large, Superscript, etc.) will
  139. # override either the default or user defined font size mapping.
  140.