pkgsrc/textproc/rtf-tools/patches/patch-ag

244 lines
3.6 KiB
Text

$NetBSD: patch-ag,v 1.1 2005/03/27 18:22:35 ben Exp $
--- lib/ansicpg1252-gen.orig 2005-03-27 09:44:09.000000000 -0800
+++ lib/ansicpg1252-gen
@@ -0,0 +1,239 @@
+# RTF ANSI character set (\ansi) general map
+# These are taken from the ISO-Latin-1 (ISO-8859-1) encodings, with
+# a few additions
+
+# Field 1 is the standard character name which the character value in
+# field 2 maps onto. (It doesn't mean "to produce the character in field 1,
+# use the value in field 2.)
+
+# The character value may be given either as a single character (which will be
+# converted to the ASCII value of the character), or in numeric format, either
+# in decimal or 0xyy as hex yy. Single or double quotes may be used to quote
+# characters.
+
+# characters in ASCII range (00-127)
+
+formula 0x06
+nobrkhyphen 0x1e
+opthyphen 0x1f
+
+space " "
+exclam !
+quotedbl '"'
+numbersign #
+dollar $
+percent %
+ampersand &
+quoteright "'"
+parenleft (
+parenright )
+asterisk *
+plus +
+comma ,
+hyphen -
+period .
+slash /
+zero 0
+one 1
+two 2
+three 3
+four 4
+five 5
+six 6
+seven 7
+eight 8
+nine 9
+colon :
+semicolon ;
+less <
+equal =
+greater >
+question ?
+at @
+A A
+B B
+C C
+D D
+E E
+F F
+G G
+H H
+I I
+J J
+K K
+L L
+M M
+N N
+O O
+P P
+Q Q
+R R
+S S
+T T
+U U
+V V
+W W
+X X
+Y Y
+Z Z
+bracketleft [
+backslash \
+bracketright ]
+asciicircum ^
+underscore _
+quoteleft "`"
+a a
+b b
+c c
+d d
+e e
+f f
+g g
+h h
+i i
+j j
+k k
+l l
+m m
+n n
+o o
+p p
+q q
+r r
+s s
+t t
+u u
+v v
+w w
+x x
+y y
+z z
+braceleft {
+bar |
+braceright }
+asciitilde ~
+
+# non-ASCII characters (128-255)
+
+#euro 0x80
+quotesinglbase 0x82
+florin 0x83
+quotedblbase 0x84
+ellipsis 0x85
+dagger 0x86
+daggerdbl 0x87
+perthousand 0x89
+Scaron 0x8a
+guilsinglleft 0x8b
+OE 0x8c
+#Zcaron 0x8e
+quoteleft 0x91
+quoteright 0x92
+quotedblleft 0x93
+quotedblright 0x94
+bullet 0x95
+endash 0x96
+emdash 0x97
+tilde 0x98
+trademark 0x99
+#scaron 0x9a
+guilsinglright 0x9b
+oe 0x9c
+#zcaron 0x9e
+Ydieresis 0x9f
+nobrkspace 0xa0
+exclamdown 0xa1
+cent 0xa2
+sterling 0xa3
+currency 0xa4
+yen 0xa5
+brokenbar 0xa6
+section 0xa7
+dieresis 0xa8
+copyright 0xa9
+ordfeminine 0xaa
+guillemotleft 0xab
+logicalnot 0xac
+opthyphen 0xad
+registered 0xae
+macron 0xaf
+degree 0xb0
+plusminus 0xb1
+twosuperior 0xb2
+threesuperior 0xb3
+acute 0xb4
+mu 0xb5
+paragraph 0xb6
+periodcentered 0xb7
+cedilla 0xb8
+onesuperior 0xb9
+ordmasculine 0xba
+guillemotright 0xbb
+onequarter 0xbc
+onehalf 0xbd
+threequarters 0xbe
+questiondown 0xbf
+Agrave 0xc0
+Aacute 0xc1
+Acircumflex 0xc2
+Atilde 0xc3
+Adieresis 0xc4
+Aring 0xc5
+AE 0xc6
+Ccedilla 0xc7
+Egrave 0xc8
+Eacute 0xc9
+Ecircumflex 0xca
+Edieresis 0xcb
+Igrave 0xcc
+Iacute 0xcd
+Icircumflex 0xce
+Idieresis 0xcf
+Eth 0xd0
+Ntilde 0xd1
+Ograve 0xd2
+Oacute 0xd3
+Ocircumflex 0xd4
+Otilde 0xd5
+Odieresis 0xd6
+multiply 0xd7
+Oslash 0xd8
+Ugrave 0xd9
+Uacute 0xda
+Ucircumflex 0xdb
+Udieresis 0xdc
+Yacute 0xdd
+Thorn 0xde
+germandbls 0xdf
+agrave 0xe0
+aacute 0xe1
+acircumflex 0xe2
+atilde 0xe3
+adieresis 0xe4
+aring 0xe5
+ae 0xe6
+ccedilla 0xe7
+egrave 0xe8
+eacute 0xe9
+ecircumflex 0xea
+edieresis 0xeb
+igrave 0xec
+iacute 0xed
+icircumflex 0xee
+idieresis 0xef
+eth 0xf0
+ntilde 0xf1
+ograve 0xf2
+oacute 0xf3
+ocircumflex 0xf4
+otilde 0xf5
+odieresis 0xf6
+divide 0xf7
+oslash 0xf8
+ugrave 0xf9
+uacute 0xfa
+ucircumflex 0xfb
+udieresis 0xfc
+yacute 0xfd
+thorn 0xfe
+ydieresis 0xff