Remove intl/uconv/ucvmath. Bug 483116, r=Masatoshi Kimura <YV03354@nifty.ne.jp>

This commit is contained in:
Simon Montagu 2009-12-21 00:47:08 -08:00
Родитель 8f5c8eea17
Коммит 681d9954dd
52 изменённых файлов: 0 добавлений и 7158 удалений

Просмотреть файл

@ -67,10 +67,6 @@ endif
DIRS += src
ifdef MOZ_MATHML
DIRS += ucvmath
endif
ifdef ENABLE_TESTS
TOOL_DIRS += tests
endif

Просмотреть файл

@ -1,90 +0,0 @@
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is Mozilla MathML Project.
#
# The Initial Developer of the Original Code is
# The University Of Queensland.
# Portions created by the Initial Developer are Copyright (C) 1999
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Roger B. Sidje <rbs@maths.uq.edu.au>
#
# Alternatively, the contents of this file may be used under the terms of
# either of the GNU General Public License Version 2 or later (the "GPL"),
# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = ucvmath
LIBRARY_NAME = ucvmath
EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsUCvMathModule
GRE_MODULE = 1
LIBXUL_LIBRARY = 1
LOCAL_INCLUDES = -I$(srcdir)/../util
CPPSRCS = \
nsUnicodeToMathematica1.cpp \
nsUnicodeToMathematica2.cpp \
nsUnicodeToMathematica3.cpp \
nsUnicodeToMathematica4.cpp \
nsUnicodeToMathematica5.cpp \
nsUnicodeToMTExtra.cpp \
nsUCvMathModule.cpp \
$(NULL)
ifeq (,$(filter OS2 WINNT,$(OS_ARCH)))
CPPSRCS += \
nsUnicodeToTeXCMRt1.cpp \
nsUnicodeToTeXCMMIt1.cpp \
nsUnicodeToTeXCMSYt1.cpp \
nsUnicodeToTeXCMEXt1.cpp \
$(NULL)
endif
CPPSRCS += \
nsUnicodeToTeXCMRttf.cpp \
nsUnicodeToTeXCMMIttf.cpp \
nsUnicodeToTeXCMSYttf.cpp \
nsUnicodeToTeXCMEXttf.cpp \
$(NULL)
EXPORTS = nsUCvMathCID.h
EXTRA_DSO_LDOPTS += \
../util/$(LIB_PREFIX)ucvutil_s.$(LIB_SUFFIX) \
$(MOZ_COMPONENT_LIBS) \
$(NULL)
include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -1,500 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = 0028
srcEnd = 003F
destBegin = 0028
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = F8EB
srcEnd = F8F4
destBegin = 00E6
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = F8F6
srcEnd = F8FE
destBegin = 00F6
End of Item 0002
Begin of Item 0003
Format 1
srcBegin = 0020
srcEnd = 0027
mappingOffset = 0000
Mapping =
0020 0021 008D 0023 FFFD 0025 0026 008C
End of Item 0003
Begin of Item 0004
Format 2
srcBegin = 0040
destBegin = 009E
End of Item 0004
Begin of Item 0005
Format 1
srcBegin = 005B
srcEnd = 0060
mappingOffset = 0008
Mapping =
005B FFFD 005D 0060 005F 008B
End of Item 0005
Begin of Item 0006
Format 1
srcBegin = 007B
srcEnd = 007E
mappingOffset = 000E
Mapping =
007B 007C 007D 007E
End of Item 0006
Begin of Item 0007
Format 1
srcBegin = 00A9
srcEnd = 00B7
mappingOffset = 0012
Mapping =
00D3 FFFD FFFD 00D8 FFFD 00D2 FFFD 00B0
00B1 FFFD FFFD FFFD FFFD FFFD 00D7
End of Item 0007
Begin of Item 0008
Format 2
srcBegin = 00D7
destBegin = 00B4
End of Item 0008
Begin of Item 0009
Format 2
srcBegin = 00F7
destBegin = 00B8
End of Item 0009
Begin of Item 000A
Format 2
srcBegin = 0303
destBegin = 008E
End of Item 000A
Begin of Item 000B
Format 2
srcBegin = 0331
destBegin = 008F
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 0391
srcEnd = 03D6
mappingOffset = 0021
Mapping =
0041 0042 0047 0044 0045 005A 0048 0051
0049 004B 004C 004D 004E 0058 004F 0050
0052 FFFD 0053 0054 0055 0046 0043 0059
0057 FFFD FFFD FFFD FFFD FFFD FFFD FFFD
0061 0062 0067 0064 0065 007A 0068 0071
0069 006B 006C 006D 006E 0078 006F 0070
0072 0056 0073 0074 0075 0066 0063 0079
0077 FFFD FFFD FFFD FFFD FFFD FFFD FFFD
004A 00A1 FFFD FFFD 006A 0076
End of Item 000C
Begin of Item 000D
Format 2
srcBegin = 2010
destBegin = 0080
End of Item 000D
Begin of Item 000E
Format 1
srcBegin = 2022
srcEnd = 2026
mappingOffset = 0067
Mapping =
00B7 FFFD FFFD FFFD 00BC
End of Item 000E
Begin of Item 000F
Format 1
srcBegin = 2032
srcEnd = 2033
mappingOffset = 006C
Mapping =
00A2 00B2
End of Item 000F
Begin of Item 0010
Format 2
srcBegin = 2043
destBegin = 0085
End of Item 0010
Begin of Item 0011
Format 1
srcBegin = 2111
srcEnd = 2122
mappingOffset = 006E
Mapping =
00C1 FFFD FFFD FFFD FFFD FFFD FFFD 00C3
FFFD FFFD FFFD 00C2 FFFD FFFD FFFD FFFD
FFFD 00D4
End of Item 0011
Begin of Item 0012
Format 2
srcBegin = 2135
destBegin = 00C0
End of Item 0012
Begin of Item 0013
Format 1
srcBegin = 2146
srcEnd = 2148
mappingOffset = 0080
Mapping =
00E2 00E3 00E4
End of Item 0013
Begin of Item 0014
Format 1
srcBegin = 2190
srcEnd = 2195
mappingOffset = 0083
Mapping =
00AC 00AD 00AE 00AF 00AB 0097
End of Item 0014
Begin of Item 0015
Format 2
srcBegin = 21B5
destBegin = 00BF
End of Item 0015
Begin of Item 0016
Format 1
srcBegin = 21D0
srcEnd = 21D5
mappingOffset = 0089
Mapping =
00DC 00DD 00DE 00DF 00DB 0090
End of Item 0016
Begin of Item 0017
Format 1
srcBegin = 2200
srcEnd = 2234
mappingOffset = 008F
Mapping =
0022 FFFD 00B6 0024 FFFD 00C6 FFFD 00D1
00CE 00CF FFFD FFFD FFFD 0027 FFFD 00D5
FFFD 00E5 FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD 00D6 FFFD FFFD 00B5 00A5 FFFD
00D0 FFFD FFFD FFFD FFFD FFFD FFFD 00D9
00DA FFFD FFFD 00F2 FFFD FFFD FFFD FFFD
FFFD FFFD FFFD FFFD 005C
End of Item 0017
Begin of Item 0018
Format 1
srcBegin = 2245
srcEnd = 2248
mappingOffset = 00C4
Mapping =
0040 FFFD FFFD 00BB
End of Item 0018
Begin of Item 0019
Format 2
srcBegin = 2254
destBegin = 009B
End of Item 0019
Begin of Item 001A
Format 1
srcBegin = 2260
srcEnd = 226B
mappingOffset = 00C8
Mapping =
00B9 00BA FFFD FFFD 00A3 00B3 FFFD FFFD
FFFD FFFD 0086 0087
End of Item 001A
Begin of Item 001B
Format 1
srcBegin = 2282
srcEnd = 2287
mappingOffset = 00D4
Mapping =
00CC 00C9 00CB FFFD 00CD 009D
End of Item 001B
Begin of Item 001C
Format 1
srcBegin = 2295
srcEnd = 2297
mappingOffset = 00DA
Mapping =
00C5 FFFD 00C4
End of Item 001C
Begin of Item 001D
Format 2
srcBegin = 22A5
destBegin = 005E
End of Item 001D
Begin of Item 001E
Format 1
srcBegin = 22C2
srcEnd = 22C4
mappingOffset = 00DD
Mapping =
00C8 00C7 009C
End of Item 001E
Begin of Item 001F
Format 2
srcBegin = 22F1
destBegin = 0084
End of Item 001F
Begin of Item 0020
Format 1
srcBegin = 2317
srcEnd = 232A
mappingOffset = 00E0
Mapping =
00F0 FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD 00F5 00F3 FFFD FFFD FFFD FFFD FFFD
FFFD FFFD 00E1 00F1
End of Item 0020
Begin of Item 0021
Format 2
srcBegin = 2423
destBegin = 0088
End of Item 0021
Begin of Item 0022
Format 1
srcBegin = 25A0
srcEnd = 25AA
mappingOffset = 00F4
Mapping =
0082 0083 FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD 009F
End of Item 0022
Begin of Item 0023
Format 2
srcBegin = 25CA
destBegin = 00E0
End of Item 0023
Begin of Item 0024
Format 1
srcBegin = 2660
srcEnd = 2663
mappingOffset = 00FF
Mapping =
00AA 00A9 00A8 00A7
End of Item 0024
Begin of Item 0025
Format 2
srcBegin = 29EB
destBegin = 00A6
End of Item 0025
Begin of Item 0026
Format 2
srcBegin = 2A75
destBegin = 008A
End of Item 0026
Begin of Item 0027
Format 2
srcBegin = EFFE
destBegin = 0091
End of Item 0027
Begin of Item 0028
Format 2
srcBegin = F030
destBegin = 0093
End of Item 0028
Begin of Item 0029
Format 1
srcBegin = F576
srcEnd = F57B
mappingOffset = 0103
Mapping =
0098 0099 009A 0092 0094 0096
End of Item 0029
Begin of Item 002A
Format 1
srcBegin = F8E6
srcEnd = F8E7
mappingOffset = 0109
Mapping =
00BD 00BE
End of Item 002A
Begin of Item 002B
Format 2
srcBegin = F8F5
destBegin = 00F4
End of Item 002B
========================================================*/
/* Offset=0x0000 ItemOfList */
0x002C,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0010,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0094,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0003 */
/* Total of Format 1 : 0x0016 */
/* Total of Format 2 : 0x0013 */
/* Total of Format 3 : 0x0000 */
0x1000, 0x1112, 0x2222, 0x1121, 0x1212, 0x1121, 0x1121, 0x2121,
0x2121, 0x2221, 0x2112, 0x0000,
/*-------------------------------------------------------*/
/* Offset=0x0010 Start of MapCell Array */
/* 0000 */ 0x0028, 0x003F, 0x0028,
/* 0001 */ 0xF8EB, 0xF8F4, 0x00E6,
/* 0002 */ 0xF8F6, 0xF8FE, 0x00F6,
/* 0003 */ 0x0020, 0x0027, 0x0000,
/* 0004 */ 0x0040, 0x0000, 0x009E,
/* 0005 */ 0x005B, 0x0060, 0x0008,
/* 0006 */ 0x007B, 0x007E, 0x000E,
/* 0007 */ 0x00A9, 0x00B7, 0x0012,
/* 0008 */ 0x00D7, 0x0000, 0x00B4,
/* 0009 */ 0x00F7, 0x0000, 0x00B8,
/* 000A */ 0x0303, 0x0000, 0x008E,
/* 000B */ 0x0331, 0x0000, 0x008F,
/* 000C */ 0x0391, 0x03D6, 0x0021,
/* 000D */ 0x2010, 0x0000, 0x0080,
/* 000E */ 0x2022, 0x2026, 0x0067,
/* 000F */ 0x2032, 0x2033, 0x006C,
/* 0010 */ 0x2043, 0x0000, 0x0085,
/* 0011 */ 0x2111, 0x2122, 0x006E,
/* 0012 */ 0x2135, 0x0000, 0x00C0,
/* 0013 */ 0x2146, 0x2148, 0x0080,
/* 0014 */ 0x2190, 0x2195, 0x0083,
/* 0015 */ 0x21B5, 0x0000, 0x00BF,
/* 0016 */ 0x21D0, 0x21D5, 0x0089,
/* 0017 */ 0x2200, 0x2234, 0x008F,
/* 0018 */ 0x2245, 0x2248, 0x00C4,
/* 0019 */ 0x2254, 0x0000, 0x009B,
/* 001A */ 0x2260, 0x226B, 0x00C8,
/* 001B */ 0x2282, 0x2287, 0x00D4,
/* 001C */ 0x2295, 0x2297, 0x00DA,
/* 001D */ 0x22A5, 0x0000, 0x005E,
/* 001E */ 0x22C2, 0x22C4, 0x00DD,
/* 001F */ 0x22F1, 0x0000, 0x0084,
/* 0020 */ 0x2317, 0x232A, 0x00E0,
/* 0021 */ 0x2423, 0x0000, 0x0088,
/* 0022 */ 0x25A0, 0x25AA, 0x00F4,
/* 0023 */ 0x25CA, 0x0000, 0x00E0,
/* 0024 */ 0x2660, 0x2663, 0x00FF,
/* 0025 */ 0x29EB, 0x0000, 0x00A6,
/* 0026 */ 0x2A75, 0x0000, 0x008A,
/* 0027 */ 0xEFFE, 0x0000, 0x0091,
/* 0028 */ 0xF030, 0x0000, 0x0093,
/* 0029 */ 0xF576, 0xF57B, 0x0103,
/* 002A */ 0xF8E6, 0xF8E7, 0x0109,
/* 002B */ 0xF8F5, 0x0000, 0x00F4,
/*-------------------------------------------------------*/
/* Offset=0x0094 Start of MappingTable */
/* 0000 */ 0x0020, 0x0021, 0x008D, 0x0023, 0xFFFD, 0x0025, 0x0026, 0x008C,
/* 0008 */ 0x005B, 0xFFFD, 0x005D, 0x0060, 0x005F, 0x008B, 0x007B, 0x007C,
/* 0010 */ 0x007D, 0x007E, 0x00D3, 0xFFFD, 0xFFFD, 0x00D8, 0xFFFD, 0x00D2,
/* 0018 */ 0xFFFD, 0x00B0, 0x00B1, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0020 */ 0x00D7, 0x0041, 0x0042, 0x0047, 0x0044, 0x0045, 0x005A, 0x0048,
/* 0028 */ 0x0051, 0x0049, 0x004B, 0x004C, 0x004D, 0x004E, 0x0058, 0x004F,
/* 0030 */ 0x0050, 0x0052, 0xFFFD, 0x0053, 0x0054, 0x0055, 0x0046, 0x0043,
/* 0038 */ 0x0059, 0x0057, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0040 */ 0xFFFD, 0x0061, 0x0062, 0x0067, 0x0064, 0x0065, 0x007A, 0x0068,
/* 0048 */ 0x0071, 0x0069, 0x006B, 0x006C, 0x006D, 0x006E, 0x0078, 0x006F,
/* 0050 */ 0x0070, 0x0072, 0x0056, 0x0073, 0x0074, 0x0075, 0x0066, 0x0063,
/* 0058 */ 0x0079, 0x0077, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0060 */ 0xFFFD, 0x004A, 0x00A1, 0xFFFD, 0xFFFD, 0x006A, 0x0076, 0x00B7,
/* 0068 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x00BC, 0x00A2, 0x00B2, 0x00C1, 0xFFFD,
/* 0070 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00C3, 0xFFFD, 0xFFFD,
/* 0078 */ 0xFFFD, 0x00C2, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00D4,
/* 0080 */ 0x00E2, 0x00E3, 0x00E4, 0x00AC, 0x00AD, 0x00AE, 0x00AF, 0x00AB,
/* 0088 */ 0x0097, 0x00DC, 0x00DD, 0x00DE, 0x00DF, 0x00DB, 0x0090, 0x0022,
/* 0090 */ 0xFFFD, 0x00B6, 0x0024, 0xFFFD, 0x00C6, 0xFFFD, 0x00D1, 0x00CE,
/* 0098 */ 0x00CF, 0xFFFD, 0xFFFD, 0xFFFD, 0x0027, 0xFFFD, 0x00D5, 0xFFFD,
/* 00A0 */ 0x00E5, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00A8 */ 0xFFFD, 0x00D6, 0xFFFD, 0xFFFD, 0x00B5, 0x00A5, 0xFFFD, 0x00D0,
/* 00B0 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00D9, 0x00DA,
/* 00B8 */ 0xFFFD, 0xFFFD, 0x00F2, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00C0 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x005C, 0x0040, 0xFFFD, 0xFFFD, 0x00BB,
/* 00C8 */ 0x00B9, 0x00BA, 0xFFFD, 0xFFFD, 0x00A3, 0x00B3, 0xFFFD, 0xFFFD,
/* 00D0 */ 0xFFFD, 0xFFFD, 0x0086, 0x0087, 0x00CC, 0x00C9, 0x00CB, 0xFFFD,
/* 00D8 */ 0x00CD, 0x009D, 0x00C5, 0xFFFD, 0x00C4, 0x00C8, 0x00C7, 0x009C,
/* 00E0 */ 0x00F0, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00E8 */ 0xFFFD, 0x00F5, 0x00F3, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00F0 */ 0xFFFD, 0xFFFD, 0x00E1, 0x00F1, 0x0082, 0x0083, 0xFFFD, 0xFFFD,
/* 00F8 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x009F, 0x00AA,
/* 0100 */ 0x00A9, 0x00A8, 0x00A7, 0x0098, 0x0099, 0x009A, 0x0092, 0x0094,
/* 0108 */ 0x0096, 0x00BD, 0x00BE,
/* End of table Total Length = 0x019F * 2 */

Просмотреть файл

@ -1,338 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = F078
srcEnd = F07D
destBegin = 0086
End of Item 0000
Begin of Item 0001
Format 1
srcBegin = 0020
srcEnd = 002F
mappingOffset = 0000
Mapping =
0020 FFFD FFFD FFFD FFFD FFFD FFFD FFFD
0048 004C FFFD FFFD FFFD FFFD FFFD 0090
End of Item 0001
Begin of Item 0002
Format 1
srcBegin = 005B
srcEnd = 005D
mappingOffset = 0010
Mapping =
0040 FFFD 0044
End of Item 0002
Begin of Item 0003
Format 1
srcBegin = 007B
srcEnd = 007D
mappingOffset = 0013
Mapping =
0038 FFFD 003C
End of Item 0003
Begin of Item 0004
Format 2
srcBegin = 02C7
destBegin = 00C7
End of Item 0004
Begin of Item 0005
Format 1
srcBegin = 02D8
srcEnd = 02DC
mappingOffset = 0016
Mapping =
00F1 FFFD 00C6 FFFD 00F3
End of Item 0005
Begin of Item 0006
Format 1
srcBegin = 0308
srcEnd = 0311
mappingOffset = 001B
Mapping =
00D0 FFFD FFFD FFFD FFFD FFFD FFFD 00F0
FFFD 00F2
End of Item 0006
Begin of Item 0007
Format 1
srcBegin = 2032
srcEnd = 2036
mappingOffset = 0025
Mapping =
00F7 00F8 FFFD 00F9 00FA
End of Item 0007
Begin of Item 0008
Format 1
srcBegin = 20D6
srcEnd = 20E1
mappingOffset = 002A
Mapping =
00D5 00D7 FFFD FFFD FFFD 00D1 FFFD FFFD
FFFD FFFD FFFD 00D8
End of Item 0008
Begin of Item 0009
Format 1
srcBegin = 21BC
srcEnd = 21C0
mappingOffset = 0036
Mapping =
00D2 FFFD FFFD FFFD 00D3
End of Item 0009
Begin of Item 000A
Format 1
srcBegin = 220F
srcEnd = 2233
mappingOffset = 003B
Mapping =
00DB 00FF 00DA FFFD FFFD FFFD FFFD 0094
FFFD FFFD FFFD 0030 FFFD FFFD FFFD FFFD
FFFD FFFD FFFD FFFD 00A0 FFFD 00C0 FFFD
00EF 00EE FFFD FFFD 00D9 FFFD FFFD 0098
0099 FFFD FFFD 009B 009A
End of Item 000A
Begin of Item 000B
Format 1
srcBegin = 228E
srcEnd = 2294
mappingOffset = 0060
Mapping =
009D FFFD FFFD FFFD FFFD 009E 009F
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 22C0
srcEnd = 22C3
mappingOffset = 0067
Mapping =
00DF 00DE 00DD 00DC
End of Item 000C
Begin of Item 000D
Format 1
srcBegin = 2308
srcEnd = 230B
mappingOffset = 006B
Mapping =
0060 0070 0064 0074
End of Item 000D
Begin of Item 000E
Format 1
srcBegin = 2329
srcEnd = 232A
mappingOffset = 006F
Mapping =
0058 005C
End of Item 000E
Begin of Item 000F
Format 2
srcBegin = 2758
destBegin = 00C8
End of Item 000F
Begin of Item 0010
Format 2
srcBegin = 294E
destBegin = 00D4
End of Item 0010
Begin of Item 0011
Format 1
srcBegin = 2A0D
srcEnd = 2A16
mappingOffset = 0071
Mapping =
00CD FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD 009C
End of Item 0011
Begin of Item 0012
Format 1
srcBegin = 301A
srcEnd = 301B
mappingOffset = 007B
Mapping =
0050 0054
End of Item 0012
Begin of Item 0013
Format 1
srcBegin = EFC9
srcEnd = F02F
mappingOffset = 007D
Mapping =
0092 0096 FFFD FFFD 00AF 00BF 00A8 00B8
FFFD FFFD FFFD FFFD FFFD FFFD 00E2 00E4
00E0 00E6 00E8 00AD FFFD FFFD 00E3 00E5
00E1 00E7 00E9 00BD FFFD FFFD FFFD FFFD
FFFD FFFD FFFD 00F4 00F5 00F6 0042 0046
0066 0076 0062 0072 003A 003E 0031 0032
0033 FFFD 0034 0035 0036 FFFD FFFD FFFD
FFFD FFFD FFFD FFFD FFFD 0049 004D 0041
0045 0065 0075 0061 0071 0039 003D FFFD
FFFD 00C4 00C5 0091 0095 004A 004E 004B
004F 0043 0047 0067 0077 0063 0073 003B
003F FFFD FFFD 0093 0097 FFFD FFFD FFFD
FFFD 005A 005E 0059 005D 005B 005F
End of Item 0013
Begin of Item 0014
Format 1
srcBegin = F070
srcEnd = F097
mappingOffset = 00E4
Mapping =
0051 0052 0053 0055 0056 0057 0068 0078
FFFD FFFD FFFD FFFD FFFD FFFD 00A1 00A2
00A3 00A9 00AA 00AB 00AC 00AE 00B9 00BA
00BB 00BC 00BE 00C1 00C2 00C3 00CE 00CF
00D6 00EA 00EB 00EC 00ED 00C9 00CB 00CC
End of Item 0014
Begin of Item 0015
Format 1
srcBegin = F8EB
srcEnd = F8FE
mappingOffset = 010C
Mapping =
0069 006A 006B 0080 0081 0082 006C 006D
006E 006F FFFD 0079 007A 007B 0083 0084
0085 007C 007D 007E
End of Item 0015
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0016,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x000A,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x004C,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0001 */
/* Total of Format 1 : 0x0012 */
/* Total of Format 2 : 0x0003 */
/* Total of Format 3 : 0x0000 */
0x1110, 0x1112, 0x1111, 0x2111, 0x1112, 0x0011,
/*-------------------------------------------------------*/
/* Offset=0x000A Start of MapCell Array */
/* 0000 */ 0xF078, 0xF07D, 0x0086,
/* 0001 */ 0x0020, 0x002F, 0x0000,
/* 0002 */ 0x005B, 0x005D, 0x0010,
/* 0003 */ 0x007B, 0x007D, 0x0013,
/* 0004 */ 0x02C7, 0x0000, 0x00C7,
/* 0005 */ 0x02D8, 0x02DC, 0x0016,
/* 0006 */ 0x0308, 0x0311, 0x001B,
/* 0007 */ 0x2032, 0x2036, 0x0025,
/* 0008 */ 0x20D6, 0x20E1, 0x002A,
/* 0009 */ 0x21BC, 0x21C0, 0x0036,
/* 000A */ 0x220F, 0x2233, 0x003B,
/* 000B */ 0x228E, 0x2294, 0x0060,
/* 000C */ 0x22C0, 0x22C3, 0x0067,
/* 000D */ 0x2308, 0x230B, 0x006B,
/* 000E */ 0x2329, 0x232A, 0x006F,
/* 000F */ 0x2758, 0x0000, 0x00C8,
/* 0010 */ 0x294E, 0x0000, 0x00D4,
/* 0011 */ 0x2A0D, 0x2A16, 0x0071,
/* 0012 */ 0x301A, 0x301B, 0x007B,
/* 0013 */ 0xEFC9, 0xF02F, 0x007D,
/* 0014 */ 0xF070, 0xF097, 0x00E4,
/* 0015 */ 0xF8EB, 0xF8FE, 0x010C,
/*-------------------------------------------------------*/
/* Offset=0x004C Start of MappingTable */
/* 0000 */ 0x0020, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0008 */ 0x0048, 0x004C, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0090,
/* 0010 */ 0x0040, 0xFFFD, 0x0044, 0x0038, 0xFFFD, 0x003C, 0x00F1, 0xFFFD,
/* 0018 */ 0x00C6, 0xFFFD, 0x00F3, 0x00D0, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0020 */ 0xFFFD, 0xFFFD, 0x00F0, 0xFFFD, 0x00F2, 0x00F7, 0x00F8, 0xFFFD,
/* 0028 */ 0x00F9, 0x00FA, 0x00D5, 0x00D7, 0xFFFD, 0xFFFD, 0xFFFD, 0x00D1,
/* 0030 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00D8, 0x00D2, 0xFFFD,
/* 0038 */ 0xFFFD, 0xFFFD, 0x00D3, 0x00DB, 0x00FF, 0x00DA, 0xFFFD, 0xFFFD,
/* 0040 */ 0xFFFD, 0xFFFD, 0x0094, 0xFFFD, 0xFFFD, 0xFFFD, 0x0030, 0xFFFD,
/* 0048 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00A0,
/* 0050 */ 0xFFFD, 0x00C0, 0xFFFD, 0x00EF, 0x00EE, 0xFFFD, 0xFFFD, 0x00D9,
/* 0058 */ 0xFFFD, 0xFFFD, 0x0098, 0x0099, 0xFFFD, 0xFFFD, 0x009B, 0x009A,
/* 0060 */ 0x009D, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x009E, 0x009F, 0x00DF,
/* 0068 */ 0x00DE, 0x00DD, 0x00DC, 0x0060, 0x0070, 0x0064, 0x0074, 0x0058,
/* 0070 */ 0x005C, 0x00CD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0078 */ 0xFFFD, 0xFFFD, 0x009C, 0x0050, 0x0054, 0x0092, 0x0096, 0xFFFD,
/* 0080 */ 0xFFFD, 0x00AF, 0x00BF, 0x00A8, 0x00B8, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0088 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x00E2, 0x00E4, 0x00E0, 0x00E6, 0x00E8,
/* 0090 */ 0x00AD, 0xFFFD, 0xFFFD, 0x00E3, 0x00E5, 0x00E1, 0x00E7, 0x00E9,
/* 0098 */ 0x00BD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00A0 */ 0x00F4, 0x00F5, 0x00F6, 0x0042, 0x0046, 0x0066, 0x0076, 0x0062,
/* 00A8 */ 0x0072, 0x003A, 0x003E, 0x0031, 0x0032, 0x0033, 0xFFFD, 0x0034,
/* 00B0 */ 0x0035, 0x0036, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00B8 */ 0xFFFD, 0xFFFD, 0x0049, 0x004D, 0x0041, 0x0045, 0x0065, 0x0075,
/* 00C0 */ 0x0061, 0x0071, 0x0039, 0x003D, 0xFFFD, 0xFFFD, 0x00C4, 0x00C5,
/* 00C8 */ 0x0091, 0x0095, 0x004A, 0x004E, 0x004B, 0x004F, 0x0043, 0x0047,
/* 00D0 */ 0x0067, 0x0077, 0x0063, 0x0073, 0x003B, 0x003F, 0xFFFD, 0xFFFD,
/* 00D8 */ 0x0093, 0x0097, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x005A, 0x005E,
/* 00E0 */ 0x0059, 0x005D, 0x005B, 0x005F, 0x0051, 0x0052, 0x0053, 0x0055,
/* 00E8 */ 0x0056, 0x0057, 0x0068, 0x0078, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00F0 */ 0xFFFD, 0xFFFD, 0x00A1, 0x00A2, 0x00A3, 0x00A9, 0x00AA, 0x00AB,
/* 00F8 */ 0x00AC, 0x00AE, 0x00B9, 0x00BA, 0x00BB, 0x00BC, 0x00BE, 0x00C1,
/* 0100 */ 0x00C2, 0x00C3, 0x00CE, 0x00CF, 0x00D6, 0x00EA, 0x00EB, 0x00EC,
/* 0108 */ 0x00ED, 0x00C9, 0x00CB, 0x00CC, 0x0069, 0x006A, 0x006B, 0x0080,
/* 0110 */ 0x0081, 0x0082, 0x006C, 0x006D, 0x006E, 0x006F, 0xFFFD, 0x0079,
/* 0118 */ 0x007A, 0x007B, 0x0083, 0x0084, 0x0085, 0x007C, 0x007D, 0x007E,
/* End of table Total Length = 0x016C * 2 */

Просмотреть файл

@ -1,477 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 2
srcBegin = 0020
destBegin = 0020
End of Item 0000
Begin of Item 0001
Format 2
srcBegin = 003D
destBegin = 0057
End of Item 0001
Begin of Item 0002
Format 1
srcBegin = 00A1
srcEnd = 00D0
mappingOffset = 0000
Mapping =
00CC 00C9 00CB FFFD 00CF FFFD 00CD FFFD
FFFD FFFD FFFD FFFD FFFD FFFD FFFD 00D8
FFFD FFFD FFFD FFFD 00D0 00CE FFFD FFFD
FFFD FFFD FFFD FFFD FFFD FFFD 00C8 FFFD
FFFD FFFD FFFD FFFD 00DE FFFD FFFD FFFD
FFFD FFFD FFFD FFFD FFFD FFFD FFFD 00C2
End of Item 0002
Begin of Item 0003
Format 1
srcBegin = 00DD
srcEnd = 00DE
mappingOffset = 0030
Mapping =
00C0 00C4
End of Item 0003
Begin of Item 0004
Format 2
srcBegin = 00F0
destBegin = 00C3
End of Item 0004
Begin of Item 0005
Format 1
srcBegin = 00FD
srcEnd = 00FE
mappingOffset = 0032
Mapping =
00C1 00C5
End of Item 0005
Begin of Item 0006
Format 2
srcBegin = 0131
destBegin = 00D2
End of Item 0006
Begin of Item 0007
Format 1
srcBegin = 0141
srcEnd = 0142
mappingOffset = 0034
Mapping =
00C6 00C7
End of Item 0007
Begin of Item 0008
Format 1
srcBegin = 0190
srcEnd = 019B
mappingOffset = 0036
Mapping =
00FB FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD FFFD 00DF
End of Item 0008
Begin of Item 0009
Format 2
srcBegin = 03B5
destBegin = 00B6
End of Item 0009
Begin of Item 000A
Format 2
srcBegin = 03C2
destBegin = 00B9
End of Item 000A
Begin of Item 000B
Format 1
srcBegin = 03DA
srcEnd = 03E0
mappingOffset = 0042
Mapping =
00B3 FFFD 00B2 FFFD FFFD FFFD 00B5
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 03F0
srcEnd = 03F1
mappingOffset = 0049
Mapping =
00BF 00B7
End of Item 000C
Begin of Item 000D
Format 1
srcBegin = 2020
srcEnd = 2021
mappingOffset = 004B
Mapping =
00D6 00D7
End of Item 000D
Begin of Item 000E
Format 2
srcBegin = 210F
destBegin = 00D1
End of Item 000E
Begin of Item 000F
Format 1
srcBegin = 2127
srcEnd = 2138
mappingOffset = 004D
Mapping =
00B0 FFFD FFFD FFFD 00CA FFFD FFFD FFFD
FFFD FFFD FFFD FFFD FFFD FFFD FFFD 00BC
00BD 00BE
End of Item 000F
Begin of Item 0010
Format 2
srcBegin = 2145
destBegin = 00FF
End of Item 0010
Begin of Item 0011
Format 1
srcBegin = 2204
srcEnd = 2250
mappingOffset = 005F
Mapping =
00B1 00AF FFFD FFFD FFFD FFFD FFFD 009C
009D FFFD FFFD FFFD FFFD FFFD FFFD 00A1
FFFD FFFD FFFD FFFD FFFD 00E9 FFFD FFFD
FFFD FFFD FFFD 00AC FFFD 00AD 00AE FFFD
FFFD FFFD FFFD 002D 002F 0027 0028 0021
FFFD FFFD 0022 0023 FFFD FFFD 0025 0024
FFFD 008B FFFD 009B FFFD FFFD FFFD FFFD
FFFD FFFD FFFD FFFD 00AA 004C 003F 003E
004E FFFD FFFD 003D FFFD 004D FFFD FFFD
FFFD 005E 0051 0050 0055
End of Item 0011
Begin of Item 0012
Format 1
srcBegin = 2262
srcEnd = 22BA
mappingOffset = 00AC
Mapping =
0054 FFFD 0062 0072 0063 0073 006A 007A
0060 0070 00A9 005F 0065 0075 0068 0078
0064 0074 006B 007B 0088 0098 0089 0099
0080 0090 0082 0092 0083 0093 0084 0094
FFFD FFFD FFFD 008E FFFD FFFD 008D 008F
FFFD FFFD FFFD FFFD 0029 006C 007C 006D
007D 002A 002B FFFD 009E FFFD FFFD 009F
FFFD FFFD FFFD FFFD FFFD FFFD FFFD FFFD
00A2 00A4 00A7 00A6 FFFD FFFD 00A3 FFFD
FFFD FFFD FFFD FFFD FFFD FFFD FFFD FFFD
0030 0040 0031 0041 FFFD FFFD FFFD FFFD
00A8
End of Item 0012
Begin of Item 0013
Format 2
srcBegin = 22C8
destBegin = 00AB
End of Item 0013
Begin of Item 0014
Format 1
srcBegin = 22D5
srcEnd = 22ED
mappingOffset = 0105
Mapping =
00A0 FFFD FFFD FFFD FFFD 008A 009A FFFD
FFFD FFFD FFFD 0086 0096 006F 008C FFFD
FFFD FFFD FFFD 0087 0097 0033 0043 0034
0044
End of Item 0014
Begin of Item 0015
Format 1
srcBegin = 2322
srcEnd = 2323
mappingOffset = 011E
Mapping =
005B 005C
End of Item 0015
Begin of Item 0016
Format 2
srcBegin = 2353
destBegin = 00DD
End of Item 0016
Begin of Item 0017
Format 2
srcBegin = 2370
destBegin = 00DC
End of Item 0017
Begin of Item 0018
Format 1
srcBegin = 25A0
srcEnd = 25CF
mappingOffset = 0120
Mapping =
00E0 00E1 FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD 00E4 00E5 FFFD FFFD 00F0 00F1
FFFD FFFD 00F2 00F3 FFFD FFFD FFFD FFFD
FFFD FFFD FFFD FFFD 00F4 00F5 FFFD FFFD
FFFD FFFD FFFD FFFD FFFD FFFD 00ED 00EF
FFFD FFFD FFFD 00E8 FFFD FFFD FFFD 00E7
End of Item 0018
Begin of Item 0019
Format 2
srcBegin = 25E6
destBegin = 00EA
End of Item 0019
Begin of Item 001A
Format 1
srcBegin = 25FD
srcEnd = 2605
mappingOffset = 0150
Mapping =
00E3 00E2 FFFD FFFD FFFD FFFD FFFD FFFD
00F8
End of Item 001A
Begin of Item 001B
Format 1
srcBegin = 266D
srcEnd = 266F
mappingOffset = 0159
Mapping =
00D9 00DA 00DB
End of Item 001B
Begin of Item 001C
Format 2
srcBegin = 2736
destBegin = 00F7
End of Item 001C
Begin of Item 001D
Format 2
srcBegin = 2970
destBegin = 0056
End of Item 001D
Begin of Item 001E
Format 2
srcBegin = 29EB
destBegin = 00F6
End of Item 001E
Begin of Item 001F
Format 2
srcBegin = 2A16
destBegin = 0026
End of Item 001F
Begin of Item 0020
Format 1
srcBegin = 2AA1
srcEnd = 2AA2
mappingOffset = 015C
Mapping =
0061 0071
End of Item 0020
Begin of Item 0021
Format 2
srcBegin = 2AE4
destBegin = 00A5
End of Item 0021
Begin of Item 0022
Format 2
srcBegin = ED03
destBegin = 00B8
End of Item 0022
Begin of Item 0023
Format 2
srcBegin = EEF0
destBegin = 00D4
End of Item 0023
Begin of Item 0024
Format 1
srcBegin = EF01
srcEnd = EF15
mappingOffset = 015E
Mapping =
003C FFFD FFFD FFFD FFFD FFFD FFFD 004F
FFFD FFFD FFFD 0053 0052 FFFD FFFD FFFD
FFFD FFFD 0066 FFFD 0076
End of Item 0024
Begin of Item 0025
Format 1
srcBegin = EF29
srcEnd = EF2A
mappingOffset = 0173
Mapping =
0067 0077
End of Item 0025
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0026,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x000E,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0080,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0000 */
/* Total of Format 1 : 0x0013 */
/* Total of Format 2 : 0x0013 */
/* Total of Format 3 : 0x0000 */
0x1122, 0x1212, 0x1221, 0x1211, 0x2112, 0x2211, 0x1121, 0x2222,
0x2221, 0x0011,
/*-------------------------------------------------------*/
/* Offset=0x000E Start of MapCell Array */
/* 0000 */ 0x0020, 0x0000, 0x0020,
/* 0001 */ 0x003D, 0x0000, 0x0057,
/* 0002 */ 0x00A1, 0x00D0, 0x0000,
/* 0003 */ 0x00DD, 0x00DE, 0x0030,
/* 0004 */ 0x00F0, 0x0000, 0x00C3,
/* 0005 */ 0x00FD, 0x00FE, 0x0032,
/* 0006 */ 0x0131, 0x0000, 0x00D2,
/* 0007 */ 0x0141, 0x0142, 0x0034,
/* 0008 */ 0x0190, 0x019B, 0x0036,
/* 0009 */ 0x03B5, 0x0000, 0x00B6,
/* 000A */ 0x03C2, 0x0000, 0x00B9,
/* 000B */ 0x03DA, 0x03E0, 0x0042,
/* 000C */ 0x03F0, 0x03F1, 0x0049,
/* 000D */ 0x2020, 0x2021, 0x004B,
/* 000E */ 0x210F, 0x0000, 0x00D1,
/* 000F */ 0x2127, 0x2138, 0x004D,
/* 0010 */ 0x2145, 0x0000, 0x00FF,
/* 0011 */ 0x2204, 0x2250, 0x005F,
/* 0012 */ 0x2262, 0x22BA, 0x00AC,
/* 0013 */ 0x22C8, 0x0000, 0x00AB,
/* 0014 */ 0x22D5, 0x22ED, 0x0105,
/* 0015 */ 0x2322, 0x2323, 0x011E,
/* 0016 */ 0x2353, 0x0000, 0x00DD,
/* 0017 */ 0x2370, 0x0000, 0x00DC,
/* 0018 */ 0x25A0, 0x25CF, 0x0120,
/* 0019 */ 0x25E6, 0x0000, 0x00EA,
/* 001A */ 0x25FD, 0x2605, 0x0150,
/* 001B */ 0x266D, 0x266F, 0x0159,
/* 001C */ 0x2736, 0x0000, 0x00F7,
/* 001D */ 0x2970, 0x0000, 0x0056,
/* 001E */ 0x29EB, 0x0000, 0x00F6,
/* 001F */ 0x2A16, 0x0000, 0x0026,
/* 0020 */ 0x2AA1, 0x2AA2, 0x015C,
/* 0021 */ 0x2AE4, 0x0000, 0x00A5,
/* 0022 */ 0xED03, 0x0000, 0x00B8,
/* 0023 */ 0xEEF0, 0x0000, 0x00D4,
/* 0024 */ 0xEF01, 0xEF15, 0x015E,
/* 0025 */ 0xEF29, 0xEF2A, 0x0173,
/*-------------------------------------------------------*/
/* Offset=0x0080 Start of MappingTable */
/* 0000 */ 0x00CC, 0x00C9, 0x00CB, 0xFFFD, 0x00CF, 0xFFFD, 0x00CD, 0xFFFD,
/* 0008 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00D8,
/* 0010 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00D0, 0x00CE, 0xFFFD, 0xFFFD,
/* 0018 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00C8, 0xFFFD,
/* 0020 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00DE, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0028 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00C2,
/* 0030 */ 0x00C0, 0x00C4, 0x00C1, 0x00C5, 0x00C6, 0x00C7, 0x00FB, 0xFFFD,
/* 0038 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0040 */ 0xFFFD, 0x00DF, 0x00B3, 0xFFFD, 0x00B2, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0048 */ 0x00B5, 0x00BF, 0x00B7, 0x00D6, 0x00D7, 0x00B0, 0xFFFD, 0xFFFD,
/* 0050 */ 0xFFFD, 0x00CA, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0058 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00BC, 0x00BD, 0x00BE, 0x00B1,
/* 0060 */ 0x00AF, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x009C, 0x009D,
/* 0068 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00A1, 0xFFFD,
/* 0070 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00E9, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0078 */ 0xFFFD, 0xFFFD, 0x00AC, 0xFFFD, 0x00AD, 0x00AE, 0xFFFD, 0xFFFD,
/* 0080 */ 0xFFFD, 0xFFFD, 0x002D, 0x002F, 0x0027, 0x0028, 0x0021, 0xFFFD,
/* 0088 */ 0xFFFD, 0x0022, 0x0023, 0xFFFD, 0xFFFD, 0x0025, 0x0024, 0xFFFD,
/* 0090 */ 0x008B, 0xFFFD, 0x009B, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0098 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x00AA, 0x004C, 0x003F, 0x003E, 0x004E,
/* 00A0 */ 0xFFFD, 0xFFFD, 0x003D, 0xFFFD, 0x004D, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00A8 */ 0x005E, 0x0051, 0x0050, 0x0055, 0x0054, 0xFFFD, 0x0062, 0x0072,
/* 00B0 */ 0x0063, 0x0073, 0x006A, 0x007A, 0x0060, 0x0070, 0x00A9, 0x005F,
/* 00B8 */ 0x0065, 0x0075, 0x0068, 0x0078, 0x0064, 0x0074, 0x006B, 0x007B,
/* 00C0 */ 0x0088, 0x0098, 0x0089, 0x0099, 0x0080, 0x0090, 0x0082, 0x0092,
/* 00C8 */ 0x0083, 0x0093, 0x0084, 0x0094, 0xFFFD, 0xFFFD, 0xFFFD, 0x008E,
/* 00D0 */ 0xFFFD, 0xFFFD, 0x008D, 0x008F, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00D8 */ 0x0029, 0x006C, 0x007C, 0x006D, 0x007D, 0x002A, 0x002B, 0xFFFD,
/* 00E0 */ 0x009E, 0xFFFD, 0xFFFD, 0x009F, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00E8 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00A2, 0x00A4, 0x00A7, 0x00A6,
/* 00F0 */ 0xFFFD, 0xFFFD, 0x00A3, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00F8 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0030, 0x0040, 0x0031, 0x0041,
/* 0100 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00A8, 0x00A0, 0xFFFD, 0xFFFD,
/* 0108 */ 0xFFFD, 0xFFFD, 0x008A, 0x009A, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0110 */ 0x0086, 0x0096, 0x006F, 0x008C, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0118 */ 0x0087, 0x0097, 0x0033, 0x0043, 0x0034, 0x0044, 0x005B, 0x005C,
/* 0120 */ 0x00E0, 0x00E1, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0128 */ 0xFFFD, 0xFFFD, 0x00E4, 0x00E5, 0xFFFD, 0xFFFD, 0x00F0, 0x00F1,
/* 0130 */ 0xFFFD, 0xFFFD, 0x00F2, 0x00F3, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0138 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00F4, 0x00F5, 0xFFFD, 0xFFFD,
/* 0140 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00ED, 0x00EF,
/* 0148 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x00E8, 0xFFFD, 0xFFFD, 0xFFFD, 0x00E7,
/* 0150 */ 0x00E3, 0x00E2, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0158 */ 0x00F8, 0x00D9, 0x00DA, 0x00DB, 0x0061, 0x0071, 0x003C, 0xFFFD,
/* 0160 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x004F, 0xFFFD, 0xFFFD,
/* 0168 */ 0xFFFD, 0x0053, 0x0052, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0170 */ 0x0066, 0xFFFD, 0x0076, 0x0067, 0x0077,
/* End of table Total Length = 0x01F5 * 2 */

Просмотреть файл

@ -1,432 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = F041
srcEnd = F046
destBegin = 006A
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = F047
srcEnd = F04C
destBegin = 0071
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = F04D
srcEnd = F052
destBegin = 0081
End of Item 0002
Begin of Item 0003
Format 0
srcBegin = F057
srcEnd = F05C
destBegin = 0091
End of Item 0003
Begin of Item 0004
Format 0
srcBegin = F062
srcEnd = F067
destBegin = 00A1
End of Item 0004
Begin of Item 0005
Format 2
srcBegin = 0020
destBegin = 0020
End of Item 0005
Begin of Item 0006
Format 2
srcBegin = 00B7
destBegin = 00BD
End of Item 0006
Begin of Item 0007
Format 2
srcBegin = 02C7
destBegin = 00C0
End of Item 0007
Begin of Item 0008
Format 1
srcBegin = 0302
srcEnd = 0307
mappingOffset = 0000
Mapping =
00B0 FFFD FFFD FFFD FFFD 00BC
End of Item 0008
Begin of Item 0009
Format 2
srcBegin = 0327
destBegin = 00DE
End of Item 0009
Begin of Item 000A
Format 1
srcBegin = 2012
srcEnd = 2014
mappingOffset = 0006
Mapping =
007C 007D 007E
End of Item 000A
Begin of Item 000B
Format 2
srcBegin = 2026
destBegin = 00B4
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 2032
srcEnd = 2035
mappingOffset = 0009
Mapping =
00AF FFFD FFFD 009F
End of Item 000C
Begin of Item 000D
Format 1
srcBegin = 2190
srcEnd = 21AA
mappingOffset = 000D
Mapping =
0050 0060 0054 0063 FFFD FFFD 0088 0089
008A 0087 FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD FFFD FFFD 0022 0026 0023 0027
FFFD 004E 004F
End of Item 000D
Begin of Item 000E
Format 1
srcBegin = 21BC
srcEnd = 21CC
mappingOffset = 0028
Mapping =
0030 0033 0055 0040 0031 0034 0064 0042
0056 005C 0057 FFFD FFFD FFFD FFFD 0047
0046
End of Item 000E
Begin of Item 000F
Format 1
srcBegin = 21E4
srcEnd = 21E5
mappingOffset = 0039
Mapping =
007B 0021
End of Item 000F
Begin of Item 0010
Format 2
srcBegin = 21F5
destBegin = 005D
End of Item 0010
Begin of Item 0011
Format 2
srcBegin = 22A0
destBegin = 00CB
End of Item 0011
Begin of Item 0012
Format 1
srcBegin = 22EE
srcEnd = 22F1
mappingOffset = 003B
Mapping =
00B6 00B5 00B7 00B8
End of Item 0012
Begin of Item 0013
Format 1
srcBegin = 2318
srcEnd = 231E
mappingOffset = 003F
Mapping =
00ED FFFD 00DD FFFD FFFD FFFD 008F
End of Item 0013
Begin of Item 0014
Format 1
srcBegin = 23B4
srcEnd = 23B5
mappingOffset = 0046
Mapping =
0070 0080
End of Item 0014
Begin of Item 0015
Format 2
srcBegin = 2423
destBegin = 00EF
End of Item 0015
Begin of Item 0016
Format 1
srcBegin = 25AA
srcEnd = 25C2
mappingOffset = 0048
Mapping =
00D6 FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD 00C4 FFFD FFFD FFFD 00C5 FFFD
FFFD FFFD FFFD FFFD 00C6 FFFD FFFD FFFD
00C7
End of Item 0016
Begin of Item 0017
Format 1
srcBegin = 2639
srcEnd = 263A
mappingOffset = 0061
Mapping =
00CE 00CC
End of Item 0017
Begin of Item 0018
Format 1
srcBegin = 2912
srcEnd = 2913
mappingOffset = 0063
Mapping =
0024 0025
End of Item 0018
Begin of Item 0019
Format 1
srcBegin = 294E
srcEnd = 2961
mappingOffset = 0065
Mapping =
0032 0037 0035 0036 0028 0029 003A 003B
002A 002B 0038 0039 002C 002D 003E 003F
002E 002F 003C 003D
End of Item 0019
Begin of Item 001A
Format 1
srcBegin = 296E
srcEnd = 296F
mappingOffset = 0079
Mapping =
004C 004D
End of Item 001A
Begin of Item 001B
Format 1
srcBegin = EEF7
srcEnd = EEF8
mappingOffset = 007B
Mapping =
0079 007A
End of Item 001B
Begin of Item 001C
Format 1
srcBegin = EF27
srcEnd = EF28
mappingOffset = 007D
Mapping =
0077 0078
End of Item 001C
Begin of Item 001D
Format 1
srcBegin = EFB9
srcEnd = EFBB
mappingOffset = 007F
Mapping =
0053 00C9 00C8
End of Item 001D
Begin of Item 001E
Format 1
srcBegin = EFE9
srcEnd = EFEB
mappingOffset = 0082
Mapping =
00B1 00B2 00B3
End of Item 001E
Begin of Item 001F
Format 1
srcBegin = F001
srcEnd = F004
mappingOffset = 0085
Mapping =
009B 009E 00AB 00AE
End of Item 001F
Begin of Item 0020
Format 1
srcBegin = F031
srcEnd = F040
mappingOffset = 0089
Mapping =
0048 0049 004A 004B 0052 0058 0059 005A
005B 0061 0062 0065 0069 0067 0068 0066
End of Item 0020
Begin of Item 0021
Format 1
srcBegin = F053
srcEnd = F06F
mappingOffset = 0099
Mapping =
008B 008C 008D 008E FFFD FFFD FFFD FFFD
FFFD FFFD 0098 0099 009A 009C 009D FFFD
FFFD FFFD FFFD FFFD FFFD 00A8 00A9 00AA
00AC 00AD 00C1 00C2 00C3
End of Item 0021
Begin of Item 0022
Format 1
srcBegin = F8E6
srcEnd = F8E7
mappingOffset = 00B6
Mapping =
0041 0051
End of Item 0022
Begin of Item 0023
Format 1
srcBegin = FE35
srcEnd = FE38
mappingOffset = 00B8
Mapping =
0090 00A0 0097 00A7
End of Item 0023
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0024,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x000E,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x007A,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0005 */
/* Total of Format 1 : 0x0017 */
/* Total of Format 2 : 0x0008 */
/* Total of Format 3 : 0x0000 */
0x0000, 0x2220, 0x2121, 0x1111, 0x1122, 0x1121, 0x1111, 0x1111,
0x1111, 0x0000,
/*-------------------------------------------------------*/
/* Offset=0x000E Start of MapCell Array */
/* 0000 */ 0xF041, 0xF046, 0x006A,
/* 0001 */ 0xF047, 0xF04C, 0x0071,
/* 0002 */ 0xF04D, 0xF052, 0x0081,
/* 0003 */ 0xF057, 0xF05C, 0x0091,
/* 0004 */ 0xF062, 0xF067, 0x00A1,
/* 0005 */ 0x0020, 0x0000, 0x0020,
/* 0006 */ 0x00B7, 0x0000, 0x00BD,
/* 0007 */ 0x02C7, 0x0000, 0x00C0,
/* 0008 */ 0x0302, 0x0307, 0x0000,
/* 0009 */ 0x0327, 0x0000, 0x00DE,
/* 000A */ 0x2012, 0x2014, 0x0006,
/* 000B */ 0x2026, 0x0000, 0x00B4,
/* 000C */ 0x2032, 0x2035, 0x0009,
/* 000D */ 0x2190, 0x21AA, 0x000D,
/* 000E */ 0x21BC, 0x21CC, 0x0028,
/* 000F */ 0x21E4, 0x21E5, 0x0039,
/* 0010 */ 0x21F5, 0x0000, 0x005D,
/* 0011 */ 0x22A0, 0x0000, 0x00CB,
/* 0012 */ 0x22EE, 0x22F1, 0x003B,
/* 0013 */ 0x2318, 0x231E, 0x003F,
/* 0014 */ 0x23B4, 0x23B5, 0x0046,
/* 0015 */ 0x2423, 0x0000, 0x00EF,
/* 0016 */ 0x25AA, 0x25C2, 0x0048,
/* 0017 */ 0x2639, 0x263A, 0x0061,
/* 0018 */ 0x2912, 0x2913, 0x0063,
/* 0019 */ 0x294E, 0x2961, 0x0065,
/* 001A */ 0x296E, 0x296F, 0x0079,
/* 001B */ 0xEEF7, 0xEEF8, 0x007B,
/* 001C */ 0xEF27, 0xEF28, 0x007D,
/* 001D */ 0xEFB9, 0xEFBB, 0x007F,
/* 001E */ 0xEFE9, 0xEFEB, 0x0082,
/* 001F */ 0xF001, 0xF004, 0x0085,
/* 0020 */ 0xF031, 0xF040, 0x0089,
/* 0021 */ 0xF053, 0xF06F, 0x0099,
/* 0022 */ 0xF8E6, 0xF8E7, 0x00B6,
/* 0023 */ 0xFE35, 0xFE38, 0x00B8,
/*-------------------------------------------------------*/
/* Offset=0x007A Start of MappingTable */
/* 0000 */ 0x00B0, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00BC, 0x007C, 0x007D,
/* 0008 */ 0x007E, 0x00AF, 0xFFFD, 0xFFFD, 0x009F, 0x0050, 0x0060, 0x0054,
/* 0010 */ 0x0063, 0xFFFD, 0xFFFD, 0x0088, 0x0089, 0x008A, 0x0087, 0xFFFD,
/* 0018 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0020 */ 0xFFFD, 0x0022, 0x0026, 0x0023, 0x0027, 0xFFFD, 0x004E, 0x004F,
/* 0028 */ 0x0030, 0x0033, 0x0055, 0x0040, 0x0031, 0x0034, 0x0064, 0x0042,
/* 0030 */ 0x0056, 0x005C, 0x0057, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0047,
/* 0038 */ 0x0046, 0x007B, 0x0021, 0x00B6, 0x00B5, 0x00B7, 0x00B8, 0x00ED,
/* 0040 */ 0xFFFD, 0x00DD, 0xFFFD, 0xFFFD, 0xFFFD, 0x008F, 0x0070, 0x0080,
/* 0048 */ 0x00D6, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0050 */ 0xFFFD, 0xFFFD, 0x00C4, 0xFFFD, 0xFFFD, 0xFFFD, 0x00C5, 0xFFFD,
/* 0058 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00C6, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0060 */ 0x00C7, 0x00CE, 0x00CC, 0x0024, 0x0025, 0x0032, 0x0037, 0x0035,
/* 0068 */ 0x0036, 0x0028, 0x0029, 0x003A, 0x003B, 0x002A, 0x002B, 0x0038,
/* 0070 */ 0x0039, 0x002C, 0x002D, 0x003E, 0x003F, 0x002E, 0x002F, 0x003C,
/* 0078 */ 0x003D, 0x004C, 0x004D, 0x0079, 0x007A, 0x0077, 0x0078, 0x0053,
/* 0080 */ 0x00C9, 0x00C8, 0x00B1, 0x00B2, 0x00B3, 0x009B, 0x009E, 0x00AB,
/* 0088 */ 0x00AE, 0x0048, 0x0049, 0x004A, 0x004B, 0x0052, 0x0058, 0x0059,
/* 0090 */ 0x005A, 0x005B, 0x0061, 0x0062, 0x0065, 0x0069, 0x0067, 0x0068,
/* 0098 */ 0x0066, 0x008B, 0x008C, 0x008D, 0x008E, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00A0 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x0098, 0x0099, 0x009A, 0x009C, 0x009D,
/* 00A8 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00A8, 0x00A9,
/* 00B0 */ 0x00AA, 0x00AC, 0x00AD, 0x00C1, 0x00C2, 0x00C3, 0x0041, 0x0051,
/* 00B8 */ 0x0090, 0x00A0, 0x0097, 0x00A7,
/* End of table Total Length = 0x0136 * 2 */

Просмотреть файл

@ -1,222 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = EF3F
srcEnd = EF46
destBegin = 0053
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = EF52
srcEnd = EF5C
destBegin = 0070
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = EF6B
srcEnd = EF71
destBegin = 0092
End of Item 0002
Begin of Item 0003
Format 0
srcBegin = EF77
srcEnd = EF8B
destBegin = 009F
End of Item 0003
Begin of Item 0004
Format 0
srcBegin = EF98
srcEnd = EF9E
destBegin = 00D2
End of Item 0004
Begin of Item 0005
Format 0
srcBegin = EF9F
srcEnd = EFB8
destBegin = 00DA
End of Item 0005
Begin of Item 0006
Format 2
srcBegin = 0020
destBegin = 0020
End of Item 0006
Begin of Item 0007
Format 1
srcBegin = 2018
srcEnd = 201D
mappingOffset = 0000
Mapping =
00F8 00F7 FFFD FFFD 00FA 00F9
End of Item 0007
Begin of Item 0008
Format 1
srcBegin = 2102
srcEnd = 2134
mappingOffset = 0006
Mapping =
00C2 FFFD FFFD FFFD FFFD FFFD FFFD FFFD
0067 0048 0087 00C7 FFFD FFFD 0049 0088
004C 007B FFFD 00CD FFFD FFFD FFFD 00CF
00D0 0052 0091 00D1 FFFD FFFD FFFD FFFD
FFFD FFFD 00D9 FFFD FFFD FFFD 0099 FFFD
FFFD FFFD 0042 0082 FFFD 0065 0045 0046
FFFD 004D 006F
End of Item 0008
Begin of Item 0009
Format 2
srcBegin = 25A1
destBegin = 00FC
End of Item 0009
Begin of Item 000A
Format 2
srcBegin = 25B3
destBegin = 00FD
End of Item 000A
Begin of Item 000B
Format 2
srcBegin = 25CB
destBegin = 00FB
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = EF35
srcEnd = EF51
mappingOffset = 0039
Mapping =
0041 0043 0044 0047 004A 004B 004E 004F
0050 0051 FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD 0061 0062 0063 0064 0066 0068
0069 006A 006B 006D 006E
End of Item 000C
Begin of Item 000D
Format 1
srcBegin = EF5D
srcEnd = EF76
mappingOffset = 0056
Mapping =
00B4 00B5 0083 0084 0085 0086 0089 008A
008B 008C 00B6 00B7 00B8 00B9 FFFD FFFD
FFFD FFFD FFFD FFFD FFFD 009A 009B 009C
00BA 00BB
End of Item 000D
Begin of Item 000E
Format 1
srcBegin = EF8C
srcEnd = EF97
mappingOffset = 0070
Mapping =
00C0 00C1 00C3 00C4 00C5 00C6 00C8 00C9
00BC 00CB 00CC 00CE
End of Item 000E
========================================================*/
/* Offset=0x0000 ItemOfList */
0x000F,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0008,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0035,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0006 */
/* Total of Format 1 : 0x0005 */
/* Total of Format 2 : 0x0004 */
/* Total of Format 3 : 0x0000 */
0x0000, 0x1200, 0x2221, 0x0111,
/*-------------------------------------------------------*/
/* Offset=0x0008 Start of MapCell Array */
/* 0000 */ 0xEF3F, 0xEF46, 0x0053,
/* 0001 */ 0xEF52, 0xEF5C, 0x0070,
/* 0002 */ 0xEF6B, 0xEF71, 0x0092,
/* 0003 */ 0xEF77, 0xEF8B, 0x009F,
/* 0004 */ 0xEF98, 0xEF9E, 0x00D2,
/* 0005 */ 0xEF9F, 0xEFB8, 0x00DA,
/* 0006 */ 0x0020, 0x0000, 0x0020,
/* 0007 */ 0x2018, 0x201D, 0x0000,
/* 0008 */ 0x2102, 0x2134, 0x0006,
/* 0009 */ 0x25A1, 0x0000, 0x00FC,
/* 000A */ 0x25B3, 0x0000, 0x00FD,
/* 000B */ 0x25CB, 0x0000, 0x00FB,
/* 000C */ 0xEF35, 0xEF51, 0x0039,
/* 000D */ 0xEF5D, 0xEF76, 0x0056,
/* 000E */ 0xEF8C, 0xEF97, 0x0070,
/*-------------------------------------------------------*/
/* Offset=0x0035 Start of MappingTable */
/* 0000 */ 0x00F8, 0x00F7, 0xFFFD, 0xFFFD, 0x00FA, 0x00F9, 0x00C2, 0xFFFD,
/* 0008 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0067, 0x0048,
/* 0010 */ 0x0087, 0x00C7, 0xFFFD, 0xFFFD, 0x0049, 0x0088, 0x004C, 0x007B,
/* 0018 */ 0xFFFD, 0x00CD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00CF, 0x00D0, 0x0052,
/* 0020 */ 0x0091, 0x00D1, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0028 */ 0x00D9, 0xFFFD, 0xFFFD, 0xFFFD, 0x0099, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0030 */ 0x0042, 0x0082, 0xFFFD, 0x0065, 0x0045, 0x0046, 0xFFFD, 0x004D,
/* 0038 */ 0x006F, 0x0041, 0x0043, 0x0044, 0x0047, 0x004A, 0x004B, 0x004E,
/* 0040 */ 0x004F, 0x0050, 0x0051, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0048 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x0061, 0x0062, 0x0063, 0x0064, 0x0066,
/* 0050 */ 0x0068, 0x0069, 0x006A, 0x006B, 0x006D, 0x006E, 0x00B4, 0x00B5,
/* 0058 */ 0x0083, 0x0084, 0x0085, 0x0086, 0x0089, 0x008A, 0x008B, 0x008C,
/* 0060 */ 0x00B6, 0x00B7, 0x00B8, 0x00B9, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0068 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x009A, 0x009B, 0x009C, 0x00BA, 0x00BB,
/* 0070 */ 0x00C0, 0x00C1, 0x00C3, 0x00C4, 0x00C5, 0x00C6, 0x00C8, 0x00C9,
/* 0078 */ 0x00BC, 0x00CB, 0x00CC, 0x00CE,
/* End of table Total Length = 0x00B1 * 2 */

Просмотреть файл

@ -1,246 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 2
srcBegin = 0020
destBegin = 0020
End of Item 0000
Begin of Item 0001
Format 2
srcBegin = 019B
destBegin = 0044
End of Item 0001
Begin of Item 0002
Format 1
srcBegin = 0300
srcEnd = 0307
mappingOffset = 0000
Mapping =
0023 FFFD 0024 0025 FFFD FFFD FFFD 0026
End of Item 0002
Begin of Item 0003
Format 2
srcBegin = 2026
destBegin = 004B
End of Item 0003
Begin of Item 0004
Format 2
srcBegin = 2035
destBegin = 0060
End of Item 0004
Begin of Item 0005
Format 1
srcBegin = 20D0
srcEnd = 20E1
mappingOffset = 0008
Mapping =
0077 0076 FFFD FFFD FFFD FFFD 0073 0072
FFFD FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD 0074
End of Item 0005
Begin of Item 0006
Format 1
srcBegin = 210F
srcEnd = 2113
mappingOffset = 001A
Mapping =
0068 FFFD FFFD FFFD 006C
End of Item 0006
Begin of Item 0007
Format 2
srcBegin = 2195
destBegin = 0062
End of Item 0007
Begin of Item 0008
Format 2
srcBegin = 21A6
destBegin = 0061
End of Item 0008
Begin of Item 0009
Format 2
srcBegin = 21D5
destBegin = 0063
End of Item 0009
Begin of Item 000A
Format 1
srcBegin = 2210
srcEnd = 2218
mappingOffset = 001F
Mapping =
0043 FFFD FFFD 006D FFFD FFFD FFFD FFFD
006F
End of Item 000A
Begin of Item 000B
Format 1
srcBegin = 2229
srcEnd = 2235
mappingOffset = 0028
Mapping =
0049 0055 FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD FFFD FFFD 0051
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 227A
srcEnd = 227B
mappingOffset = 0035
Mapping =
0070 0066
End of Item 000C
Begin of Item 000D
Format 1
srcBegin = 22B2
srcEnd = 22B3
mappingOffset = 0037
Mapping =
003C 003E
End of Item 000D
Begin of Item 000E
Format 1
srcBegin = 22EE
srcEnd = 22F1
mappingOffset = 0039
Mapping =
004D 004C 004E 004F
End of Item 000E
Begin of Item 000F
Format 1
srcBegin = 2322
srcEnd = 2323
mappingOffset = 003D
Mapping =
0029 0028
End of Item 000F
Begin of Item 0010
Format 2
srcBegin = EB00
destBegin = 0075
End of Item 0010
Begin of Item 0011
Format 1
srcBegin = EC00
srcEnd = EC06
mappingOffset = 003F
Mapping =
0031 0032 0033 0034 0036 0037 0038
End of Item 0011
Begin of Item 0012
Format 1
srcBegin = F612
srcEnd = F613
mappingOffset = 0046
Mapping =
007D 007B
End of Item 0012
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0013,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0009,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0042,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0000 */
/* Total of Format 1 : 0x000B */
/* Total of Format 2 : 0x0008 */
/* Total of Format 3 : 0x0000 */
0x2122, 0x2112, 0x1122, 0x1111, 0x0112,
/*-------------------------------------------------------*/
/* Offset=0x0009 Start of MapCell Array */
/* 0000 */ 0x0020, 0x0000, 0x0020,
/* 0001 */ 0x019B, 0x0000, 0x0044,
/* 0002 */ 0x0300, 0x0307, 0x0000,
/* 0003 */ 0x2026, 0x0000, 0x004B,
/* 0004 */ 0x2035, 0x0000, 0x0060,
/* 0005 */ 0x20D0, 0x20E1, 0x0008,
/* 0006 */ 0x210F, 0x2113, 0x001A,
/* 0007 */ 0x2195, 0x0000, 0x0062,
/* 0008 */ 0x21A6, 0x0000, 0x0061,
/* 0009 */ 0x21D5, 0x0000, 0x0063,
/* 000A */ 0x2210, 0x2218, 0x001F,
/* 000B */ 0x2229, 0x2235, 0x0028,
/* 000C */ 0x227A, 0x227B, 0x0035,
/* 000D */ 0x22B2, 0x22B3, 0x0037,
/* 000E */ 0x22EE, 0x22F1, 0x0039,
/* 000F */ 0x2322, 0x2323, 0x003D,
/* 0010 */ 0xEB00, 0x0000, 0x0075,
/* 0011 */ 0xEC00, 0xEC06, 0x003F,
/* 0012 */ 0xF612, 0xF613, 0x0046,
/*-------------------------------------------------------*/
/* Offset=0x0042 Start of MappingTable */
/* 0000 */ 0x0023, 0xFFFD, 0x0024, 0x0025, 0xFFFD, 0xFFFD, 0xFFFD, 0x0026,
/* 0008 */ 0x0077, 0x0076, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0073, 0x0072,
/* 0010 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0018 */ 0xFFFD, 0x0074, 0x0068, 0xFFFD, 0xFFFD, 0xFFFD, 0x006C, 0x0043,
/* 0020 */ 0xFFFD, 0xFFFD, 0x006D, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x006F,
/* 0028 */ 0x0049, 0x0055, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0030 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0051, 0x0070, 0x0066, 0x003C,
/* 0038 */ 0x003E, 0x004D, 0x004C, 0x004E, 0x004F, 0x0029, 0x0028, 0x0031,
/* 0040 */ 0x0032, 0x0033, 0x0034, 0x0036, 0x0037, 0x0038, 0x007D, 0x007B,
/* End of table Total Length = 0x008A * 2 */

Просмотреть файл

@ -1,114 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef nsUCvMathCID_h___
#define nsUCvMathCID_h___
#include "nsISupports.h"
// Class ID for our UnicodeToTeXCMRttf (TeX Roman -TTF) charset converter
// {67671792-8e25-4487-b1b7-5073cfa95fee}
#define NS_UNICODETOTEXCMRTTF_CID \
{ 0x67671792, 0x8e25, 0x4487, {0xb1, 0xb7, 0x50, 0x73, 0xcf, 0xa9, 0x5f, 0xee}}
// Class ID for our UnicodeToTeXCMMIttf (TeX Math Italic -TTF) charset converter
// {73bb7c12-dbab-4ae2-aecf-a0331dec916f}
#define NS_UNICODETOTEXCMMITTF_CID \
{0x73bb7c12, 0xdbab, 0x4ae2, {0xae, 0xcf, 0xa0, 0x33, 0x1d, 0xec, 0x91, 0x6f}}
// Class ID for our UnicodeToTeXCMSYttf (TeX Symbol -TTF) charset converter
// {e332db00-e076-11d3-b32f-004005a7a7e4}
#define NS_UNICODETOTEXCMSYTTF_CID \
{ 0xe332db00, 0xe076, 0x11d3, {0xb3, 0x2f, 0x0, 0x40, 0x05, 0xa7, 0xa7, 0xe4}}
// Class ID for our UnicodeToTeXCMEXttf (TeX Extension -TTF) charset converter
// {e91f9440-e076-11d3-b32f-004005a7a7e4}
#define NS_UNICODETOTEXCMEXTTF_CID \
{ 0xe91f9440, 0xe076, 0x11d3, {0xb3, 0x2f, 0x0, 0x40, 0x05, 0xa7, 0xa7, 0xe4}}
// Class ID for our UnicodeToTeXCMRt1 (TeX Roman -Type1) charset converter
// {d5eb483c-67c0-4286-a4a6-330e58a82300}
#define NS_UNICODETOTEXCMRT1_CID \
{0xd5eb483c, 0x67c0, 0x4286, {0xa4, 0xa6, 0x33, 0x0e, 0x58, 0xa8, 0x23, 0x00}}
// Class ID for our UnicodeToTeXCMMIt1 (TeX Math Italic -Type1) charset converter
// {bd1326a6-5a14-48de-97cc-95b5195f4fb9}
#define NS_UNICODETOTEXCMMIT1_CID \
{0xbd1326a6, 0x5a14, 0x48de, {0x97, 0xcc, 0x95, 0xb5, 0x19, 0x5f, 0x4f, 0xb9}}
// Class ID for our UnicodeToTeXCMSYt1 (TeX Symbol -Type1) charset converter
// {e768ebef-70f9-4fe3-8835-4f4f3fd996e2}
#define NS_UNICODETOTEXCMSYT1_CID \
{ 0xe768ebef, 0x70f9, 0x4fe3, {0x88, 0x35, 0x4f, 0x4f, 0x3f, 0xd9, 0x96, 0xe2}}
// Class ID for our UnicodeToTeXCMEXt1 (TeX Extension -Type1) charset converter
// {f01cb3e7-4ace-414e-a2b7-eaba03e9c86c}
#define NS_UNICODETOTEXCMEXT1_CID \
{ 0xf01cb3e7, 0x4ace, 0x414e, {0xa2, 0xb7, 0xea, 0xba, 0x03, 0xe9, 0xc8, 0x6c}}
// Class ID for our UnicodeToMathematica1 charset converter
// {758e4f20-e2f2-11d3-b32f-004005a7a7e4}
#define NS_UNICODETOMATHEMATICA1_CID \
{ 0x758e4f20, 0xe2f2, 0x11d3, {0xb3, 0x2f, 0x0, 0x40, 0x05, 0xa7, 0xa7, 0xe4}}
// Class ID for our UnicodeToMathematica2 charset converter
// {7e6e57c0-e2f2-11d3-b32f-004005a7a7e4}
#define NS_UNICODETOMATHEMATICA2_CID \
{ 0x7e6e57c0, 0xe2f2, 0x11d3, {0xb3, 0x2f, 0x0, 0x40, 0x05, 0xa7, 0xa7, 0xe4}}
// Class ID for our UnicodeToMathematica3 charset converter
// {830b5f80-11d3-b32f-004005a7a7e4}
#define NS_UNICODETOMATHEMATICA3_CID \
{ 0x830b5f80, 0xe2f2, 0x11d3, {0xb3, 0x2f, 0x0, 0x40, 0x05, 0xa7, 0xa7, 0xe4}}
// Class ID for our UnicodeToMathematica4 charset converter
// {87ed1160-e2f2-11d3-b32f-004005a7a7e4}
#define NS_UNICODETOMATHEMATICA4_CID \
{ 0x87ed1160, 0xe2f2, 0x11d3, {0xb3, 0x2f, 0x0, 0x40, 0x05, 0xa7, 0xa7, 0xe4}}
// Class ID for our UnicodeToMathematica5 charset converter
// {8a0dce80-e2f2-11d3-b32f-004005a7a7e4}
#define NS_UNICODETOMATHEMATICA5_CID \
{ 0x8a0dce80, 0xe2f2, 0x11d3, {0xb3, 0x2f, 0x0, 0x40, 0x05, 0xa7, 0xa7, 0xe4}}
// Class ID for our UnicodeToMTExtra charset converter
// {0cb0d9a0-f503-11d3-b32f-004005a7a7e4}
#define NS_UNICODETOMTEXTRA_CID \
{ 0x0cb0d9a0, 0xf503, 0x11d3, {0xb3, 0x2f, 0x0, 0x40, 0x05, 0xa7, 0xa7, 0xe4}}
#endif /* nsUCvMathCID_h___ */

Просмотреть файл

@ -1,44 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef nsUCvMathDll_h___
#define nsUCvMathDll_h___
#include "prtypes.h"
#endif /* nsUCvMathDll_h___ */

Просмотреть файл

@ -1,195 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "pratom.h"
#include "nspr.h"
#include "nsString.h"
#include "nsCOMPtr.h"
#include "nsIFactory.h"
#include "nsIGenericFactory.h"
#include "nsIServiceManager.h"
#include "nsICharsetConverterManager.h"
#include "nsICategoryManager.h"
#include "nsEncoderDecoderUtils.h"
#include "nsIModule.h"
#include "nsUCvMathCID.h"
#include "nsUCvMathDll.h"
#include "nsCRT.h"
#include "nsUnicodeToTeXCMRttf.h"
#include "nsUnicodeToTeXCMMIttf.h"
#include "nsUnicodeToTeXCMSYttf.h"
#include "nsUnicodeToTeXCMEXttf.h"
#if !defined(XP_WIN) && !defined(XP_OS2) && !defined(XP_MAC) && !defined(XP_MACOSX)
#include "nsUnicodeToTeXCMRt1.h"
#include "nsUnicodeToTeXCMMIt1.h"
#include "nsUnicodeToTeXCMSYt1.h"
#include "nsUnicodeToTeXCMEXt1.h"
#endif
#include "nsUnicodeToMathematica1.h"
#include "nsUnicodeToMathematica2.h"
#include "nsUnicodeToMathematica3.h"
#include "nsUnicodeToMathematica4.h"
#include "nsUnicodeToMathematica5.h"
#include "nsUnicodeToMTExtra.h"
//----------------------------------------------------------------------------
// Global functions and data [declaration]
#define DECODER_NAME_BASE "Unicode Decoder-"
#define ENCODER_NAME_BASE "Unicode Encoder-"
NS_CONVERTER_REGISTRY_START
NS_UCONV_REG_UNREG_ENCODER("x-ttf-cmr", NS_UNICODETOTEXCMRTTF_CID)
NS_UCONV_REG_UNREG_ENCODER("x-ttf-cmmi", NS_UNICODETOTEXCMMITTF_CID)
NS_UCONV_REG_UNREG_ENCODER("x-ttf-cmsy", NS_UNICODETOTEXCMSYTTF_CID)
NS_UCONV_REG_UNREG_ENCODER("x-ttf-cmex", NS_UNICODETOTEXCMEXTTF_CID)
#if !defined(XP_WIN) && !defined(XP_OS2) && !defined(XP_MAC) && !defined(XP_MACOSX)
NS_UCONV_REG_UNREG_ENCODER("x-t1-cmr", NS_UNICODETOTEXCMRT1_CID)
NS_UCONV_REG_UNREG_ENCODER("x-t1-cmmi", NS_UNICODETOTEXCMMIT1_CID)
NS_UCONV_REG_UNREG_ENCODER("x-t1-cmsy", NS_UNICODETOTEXCMSYT1_CID)
NS_UCONV_REG_UNREG_ENCODER("x-t1-cmex", NS_UNICODETOTEXCMEXT1_CID)
#endif
NS_UCONV_REG_UNREG_ENCODER("x-mathematica1", NS_UNICODETOMATHEMATICA1_CID)
NS_UCONV_REG_UNREG_ENCODER("x-mathematica2", NS_UNICODETOMATHEMATICA2_CID)
NS_UCONV_REG_UNREG_ENCODER("x-mathematica3", NS_UNICODETOMATHEMATICA3_CID)
NS_UCONV_REG_UNREG_ENCODER("x-mathematica4", NS_UNICODETOMATHEMATICA4_CID)
NS_UCONV_REG_UNREG_ENCODER("x-mathematica5", NS_UNICODETOMATHEMATICA5_CID)
NS_UCONV_REG_UNREG_ENCODER("x-mtextra", NS_UNICODETOMTEXTRA_CID)
NS_CONVERTER_REGISTRY_END
NS_IMPL_NSUCONVERTERREGSELF
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToTeXCMRttf)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToTeXCMMIttf)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToTeXCMSYttf)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToTeXCMEXttf)
#if !defined(XP_WIN) && !defined(XP_OS2) && !defined(XP_MAC) && !defined(XP_MACOSX)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToTeXCMRt1)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToTeXCMMIt1)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToTeXCMSYt1)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToTeXCMEXt1)
#endif
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToMathematica1)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToMathematica2)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToMathematica3)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToMathematica4)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToMathematica5)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToMTExtra)
static const nsModuleComponentInfo components[] =
{
{
ENCODER_NAME_BASE "x-ttf-cmr" , NS_UNICODETOTEXCMRTTF_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-ttf-cmr",
nsUnicodeToTeXCMRttfConstructor,
},
{
ENCODER_NAME_BASE "x-ttf-cmmi" , NS_UNICODETOTEXCMMITTF_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-ttf-cmmi",
nsUnicodeToTeXCMMIttfConstructor,
},
{
ENCODER_NAME_BASE "x-ttf-cmsy" , NS_UNICODETOTEXCMSYTTF_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-ttf-cmsy",
nsUnicodeToTeXCMSYttfConstructor,
},
{
ENCODER_NAME_BASE "x-ttf-cmex" , NS_UNICODETOTEXCMEXTTF_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-ttf-cmex",
nsUnicodeToTeXCMEXttfConstructor,
},
#if !defined(XP_WIN) && !defined(XP_OS2) && !defined(XP_MAC) && !defined(XP_MACOSX)
{
ENCODER_NAME_BASE "x-t1-cmr" , NS_UNICODETOTEXCMRT1_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-t1-cmr",
nsUnicodeToTeXCMRt1Constructor,
},
{
ENCODER_NAME_BASE "x-t1-cmmi" , NS_UNICODETOTEXCMMIT1_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-t1-cmmi",
nsUnicodeToTeXCMMIt1Constructor,
},
{
ENCODER_NAME_BASE "x-t1-cmsy" , NS_UNICODETOTEXCMSYT1_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-t1-cmsy",
nsUnicodeToTeXCMSYt1Constructor,
},
{
ENCODER_NAME_BASE "x-t1-cmex" , NS_UNICODETOTEXCMEXT1_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-t1-cmex",
nsUnicodeToTeXCMEXt1Constructor,
},
#endif
{
ENCODER_NAME_BASE "x-mathematica1" , NS_UNICODETOMATHEMATICA1_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-mathematica1",
nsUnicodeToMathematica1Constructor,
nsUConverterRegSelf, nsUConverterUnregSelf,
},
{
ENCODER_NAME_BASE "x-mathematica2" , NS_UNICODETOMATHEMATICA2_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-mathematica2",
nsUnicodeToMathematica2Constructor,
},
{
ENCODER_NAME_BASE "x-mathematica3" , NS_UNICODETOMATHEMATICA3_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-mathematica3",
nsUnicodeToMathematica3Constructor,
},
{
ENCODER_NAME_BASE "x-mathematica4" , NS_UNICODETOMATHEMATICA4_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-mathematica4",
nsUnicodeToMathematica4Constructor,
},
{
ENCODER_NAME_BASE "x-mathematica5" , NS_UNICODETOMATHEMATICA5_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-mathematica5",
nsUnicodeToMathematica5Constructor,
},
{
ENCODER_NAME_BASE "x-mtextra" , NS_UNICODETOMTEXTRA_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-mtextra",
nsUnicodeToMTExtraConstructor,
}
};
NS_IMPL_NSGETMODULE(nsUCvMathModule, components)

Просмотреть файл

@ -1,55 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsUnicodeToMTExtra.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "mtextra.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToMTExtra [implementation]
nsUnicodeToMTExtra::nsUnicodeToMTExtra()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

Просмотреть файл

@ -1,61 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef nsUnicodeToMTExtra_h___
#define nsUnicodeToMTExtra_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToMTExtra [declaration]
/**
* A character set converter from Unicode to MathType Extra.
*
*/
class nsUnicodeToMTExtra : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToMTExtra();
};
#endif /* nsUnicodeToMTExtra_h___ */

Просмотреть файл

@ -1,55 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsUnicodeToMathematica1.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "mathematica1.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToMathematica1 [implementation]
nsUnicodeToMathematica1::nsUnicodeToMathematica1()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

Просмотреть файл

@ -1,61 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef nsUnicodeToMathematica1_h___
#define nsUnicodeToMathematica1_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToMathematica1 [declaration]
/**
* A character set converter from Unicode to Math1.
*
*/
class nsUnicodeToMathematica1 : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToMathematica1();
};
#endif /* nsUnicodeToMathematica1_h___ */

Просмотреть файл

@ -1,55 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsUnicodeToMathematica2.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "mathematica2.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToMathematica2 [implementation]
nsUnicodeToMathematica2::nsUnicodeToMathematica2()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

Просмотреть файл

@ -1,61 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef nsUnicodeToMathematica2_h___
#define nsUnicodeToMathematica2_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToMathematica2 [declaration]
/**
* A character set converter from Unicode to Math1.
*
*/
class nsUnicodeToMathematica2 : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToMathematica2();
};
#endif /* nsUnicodeToMathematica2_h___ */

Просмотреть файл

@ -1,55 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsUnicodeToMathematica3.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "mathematica3.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToMathematica3 [implementation]
nsUnicodeToMathematica3::nsUnicodeToMathematica3()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

Просмотреть файл

@ -1,61 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef nsUnicodeToMathematica3_h___
#define nsUnicodeToMathematica3_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToMathematica3 [declaration]
/**
* A character set converter from Unicode to Math1.
*
*/
class nsUnicodeToMathematica3 : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToMathematica3();
};
#endif /* nsUnicodeToMathematica3_h___ */

Просмотреть файл

@ -1,55 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsUnicodeToMathematica4.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "mathematica4.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToMathematica4 [implementation]
nsUnicodeToMathematica4::nsUnicodeToMathematica4()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

Просмотреть файл

@ -1,61 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef nsUnicodeToMathematica4_h___
#define nsUnicodeToMathematica4_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToMathematica4 [declaration]
/**
* A character set converter from Unicode to Math1.
*
*/
class nsUnicodeToMathematica4 : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToMathematica4();
};
#endif /* nsUnicodeToMathematica4_h___ */

Просмотреть файл

@ -1,55 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsUnicodeToMathematica5.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "mathematica5.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToMathematica5 [implementation]
nsUnicodeToMathematica5::nsUnicodeToMathematica5()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

Просмотреть файл

@ -1,61 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef nsUnicodeToMathematica5_h___
#define nsUnicodeToMathematica5_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToMathematica5 [declaration]
/**
* A character set converter from Unicode to Math1.
*
*/
class nsUnicodeToMathematica5 : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToMathematica5();
};
#endif /* nsUnicodeToMathematica5_h___ */

Просмотреть файл

@ -1,55 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsUnicodeToTeXCMEXt1.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "texcmex-t1.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMEXt1 [implementation]
nsUnicodeToTeXCMEXt1::nsUnicodeToTeXCMEXt1()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

Просмотреть файл

@ -1,61 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef nsUnicodeToTeXCMEXt1_h___
#define nsUnicodeToTeXCMEXt1_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMEXt1 [declaration]
/**
* A character set converter from Unicode to TeXCMEXt1 (TeX's Computer Modern Extension).
*
*/
class nsUnicodeToTeXCMEXt1 : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToTeXCMEXt1();
};
#endif /* nsUnicodeToTeXCMEXt1_h___ */

Просмотреть файл

@ -1,55 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsUnicodeToTeXCMEXttf.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "texcmex-ttf.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMEXttf [implementation]
nsUnicodeToTeXCMEXttf::nsUnicodeToTeXCMEXttf()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

Просмотреть файл

@ -1,61 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef nsUnicodeToTeXCMEXttf_h___
#define nsUnicodeToTeXCMEXttf_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMEXttf [declaration]
/**
* A character set converter from Unicode to TeXCMEXttf (TeX's Computer Modern Extension).
*
*/
class nsUnicodeToTeXCMEXttf : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToTeXCMEXttf();
};
#endif /* nsUnicodeToTeXCMEXttf_h___ */

Просмотреть файл

@ -1,55 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsUnicodeToTeXCMMIt1.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "texcmmi-t1.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMMIt1 [implementation]
nsUnicodeToTeXCMMIt1::nsUnicodeToTeXCMMIt1()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable,1)
{
}

Просмотреть файл

@ -1,61 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef nsUnicodeToTeXCMMIt1_h___
#define nsUnicodeToTeXCMMIt1_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMMIt1 [declaration]
/**
* A character set converter from Unicode to TeXCMMIt1 (TeX's Computer Modern Math Italic).
*
*/
class nsUnicodeToTeXCMMIt1 : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToTeXCMMIt1();
};
#endif /* nsUnicodeToTeXCMMIt1_h___ */

Просмотреть файл

@ -1,55 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsUnicodeToTeXCMMIttf.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "texcmmi-ttf.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMMIttf [implementation]
nsUnicodeToTeXCMMIttf::nsUnicodeToTeXCMMIttf()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

Просмотреть файл

@ -1,61 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef nsUnicodeToTeXCMMIttf_h___
#define nsUnicodeToTeXCMMIttf_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMMIttf [declaration]
/**
* A character set converter from Unicode to TeXCMMIttf (TeX's Computer Modern Math Italic).
*
*/
class nsUnicodeToTeXCMMIttf : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToTeXCMMIttf();
};
#endif /* nsUnicodeToTeXCMMIttf_h___ */

Просмотреть файл

@ -1,55 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsUnicodeToTeXCMRt1.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "texcmr-t1.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMRt1 [implementation]
nsUnicodeToTeXCMRt1::nsUnicodeToTeXCMRt1()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

Просмотреть файл

@ -1,61 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef nsUnicodeToTeXCMRt1_h___
#define nsUnicodeToTeXCMRt1_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMRt1 [declaration]
/**
* A character set converter from Unicode to TeXCMRt1 (TeX's Computer Modern Roman).
*
*/
class nsUnicodeToTeXCMRt1 : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToTeXCMRt1();
};
#endif /* nsUnicodeToTeXCMRt1_h___ */

Просмотреть файл

@ -1,55 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsUnicodeToTeXCMRttf.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "texcmr-ttf.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMRttf [implementation]
nsUnicodeToTeXCMRttf::nsUnicodeToTeXCMRttf()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

Просмотреть файл

@ -1,61 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef nsUnicodeToTeXCMRttf_h___
#define nsUnicodeToTeXCMRttf_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMRttf [declaration]
/**
* A character set converter from Unicode to TeXCMRttf (TeX's Computer Modern Roman).
*
*/
class nsUnicodeToTeXCMRttf : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToTeXCMRttf();
};
#endif /* nsUnicodeToTeXCMRttf_h___ */

Просмотреть файл

@ -1,55 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsUnicodeToTeXCMSYt1.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "texcmsy-t1.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMSYt1 [implementation]
nsUnicodeToTeXCMSYt1::nsUnicodeToTeXCMSYt1()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

Просмотреть файл

@ -1,61 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef nsUnicodeToTeXCMSYt1_h___
#define nsUnicodeToTeXCMSYt1_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMSYt1 [declaration]
/**
* A character set converter from Unicode to TeXCMSYt1 (TeX's Computer Modern Symbol).
*
*/
class nsUnicodeToTeXCMSYt1 : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToTeXCMSYt1();
};
#endif /* nsUnicodeToTeXCMSYt1_h___ */

Просмотреть файл

@ -1,55 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsUnicodeToTeXCMSYttf.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "texcmsy-ttf.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMSYttf [implementation]
nsUnicodeToTeXCMSYttf::nsUnicodeToTeXCMSYttf()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

Просмотреть файл

@ -1,61 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef nsUnicodeToTeXCMSYttf_h___
#define nsUnicodeToTeXCMSYttf_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMSYttf [declaration]
/**
* A character set converter from Unicode to TeXCMSYttf (TeX's Computer Modern Symbol).
*
*/
class nsUnicodeToTeXCMSYttf : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToTeXCMSYttf();
};
#endif /* nsUnicodeToTeXCMSYttf_h___ */

Просмотреть файл

@ -1,139 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = EFBC
srcEnd = EFC4
destBegin = 0021
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = EFCD
srcEnd = F005
destBegin = 0046
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = F006
srcEnd = F00F
destBegin = 0000
End of Item 0002
Begin of Item 0003
Format 0
srcBegin = F012
srcEnd = F021
destBegin = 000C
End of Item 0003
Begin of Item 0004
Format 1
srcBegin = EFC7
srcEnd = EFCA
mappingOffset = 0000
Mapping =
002C 002D 002E 002F
End of Item 0004
Begin of Item 0005
Format 1
srcBegin = F024
srcEnd = F02F
mappingOffset = 0004
Mapping =
001E 001F 0020 007F 002A 002B 0044 0045
000A 000B 001C 001D
End of Item 0005
Begin of Item 0006
Format 1
srcBegin = F8E6
srcEnd = F8FE
mappingOffset = 0010
Mapping =
003F FFFD FFFD FFFD FFFD 0030 0042 0040
0032 0036 0034 0038 003C 003A 003E FFFD
0031 0043 0041 0033 0037 0035 0039 003D
003B
End of Item 0006
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0007,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0006,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x001B,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0004 */
/* Total of Format 1 : 0x0003 */
/* Total of Format 2 : 0x0000 */
/* Total of Format 3 : 0x0000 */
0x0000, 0x0111,
/*-------------------------------------------------------*/
/* Offset=0x0006 Start of MapCell Array */
/* 0000 */ 0xEFBC, 0xEFC4, 0x0021,
/* 0001 */ 0xEFCD, 0xF005, 0x0046,
/* 0002 */ 0xF006, 0xF00F, 0x0000,
/* 0003 */ 0xF012, 0xF021, 0x000C,
/* 0004 */ 0xEFC7, 0xEFCA, 0x0000,
/* 0005 */ 0xF024, 0xF02F, 0x0004,
/* 0006 */ 0xF8E6, 0xF8FE, 0x0010,
/*-------------------------------------------------------*/
/* Offset=0x001B Start of MappingTable */
/* 0000 */ 0x002C, 0x002D, 0x002E, 0x002F, 0x001E, 0x001F, 0x0020, 0x007F,
/* 0008 */ 0x002A, 0x002B, 0x0044, 0x0045, 0x000A, 0x000B, 0x001C, 0x001D,
/* 0010 */ 0x003F, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0030, 0x0042, 0x0040,
/* 0018 */ 0x0032, 0x0036, 0x0034, 0x0038, 0x003C, 0x003A, 0x003E, 0xFFFD,
/* 0020 */ 0x0031, 0x0043, 0x0041, 0x0033, 0x0037, 0x0035, 0x0039, 0x003D,
/* 0028 */ 0x003B,
/* End of table Total Length = 0x0044 * 2 */

Просмотреть файл

@ -1,139 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = EFBC
srcEnd = EFC4
destBegin = 0021
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = EFCD
srcEnd = F005
destBegin = 0046
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = F006
srcEnd = F00F
destBegin = 00A1
End of Item 0002
Begin of Item 0003
Format 0
srcBegin = F012
srcEnd = F021
destBegin = 00AF
End of Item 0003
Begin of Item 0004
Format 1
srcBegin = EFC7
srcEnd = EFCA
mappingOffset = 0000
Mapping =
002C 002D 002E 002F
End of Item 0004
Begin of Item 0005
Format 1
srcBegin = F024
srcEnd = F02F
mappingOffset = 0004
Mapping =
00C1 00C2 00C3 00C4 002A 002B 0044 0045
00AD 00AE 00BF 00C0
End of Item 0005
Begin of Item 0006
Format 1
srcBegin = F8E6
srcEnd = F8FE
mappingOffset = 0010
Mapping =
003F FFFD FFFD FFFD FFFD 0030 0042 0040
0032 0036 0034 0038 003C 003A 003E FFFD
0031 0043 0041 0033 0037 0035 0039 003D
003B
End of Item 0006
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0007,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0006,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x001B,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0004 */
/* Total of Format 1 : 0x0003 */
/* Total of Format 2 : 0x0000 */
/* Total of Format 3 : 0x0000 */
0x0000, 0x0111,
/*-------------------------------------------------------*/
/* Offset=0x0006 Start of MapCell Array */
/* 0000 */ 0xEFBC, 0xEFC4, 0x0021,
/* 0001 */ 0xEFCD, 0xF005, 0x0046,
/* 0002 */ 0xF006, 0xF00F, 0x00A1,
/* 0003 */ 0xF012, 0xF021, 0x00AF,
/* 0004 */ 0xEFC7, 0xEFCA, 0x0000,
/* 0005 */ 0xF024, 0xF02F, 0x0004,
/* 0006 */ 0xF8E6, 0xF8FE, 0x0010,
/*-------------------------------------------------------*/
/* Offset=0x001B Start of MappingTable */
/* 0000 */ 0x002C, 0x002D, 0x002E, 0x002F, 0x00C1, 0x00C2, 0x00C3, 0x00C4,
/* 0008 */ 0x002A, 0x002B, 0x0044, 0x0045, 0x00AD, 0x00AE, 0x00BF, 0x00C0,
/* 0010 */ 0x003F, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0030, 0x0042, 0x0040,
/* 0018 */ 0x0032, 0x0036, 0x0034, 0x0038, 0x003C, 0x003A, 0x003E, 0xFFFD,
/* 0020 */ 0x0031, 0x0043, 0x0041, 0x0033, 0x0037, 0x0035, 0x0039, 0x003D,
/* 0028 */ 0x003B,
/* End of table Total Length = 0x0044 * 2 */

Просмотреть файл

@ -1,285 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = 0030
srcEnd = 0039
destBegin = 0030
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = 0041
srcEnd = 005A
destBegin = 0041
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = 0061
srcEnd = 007A
destBegin = 0061
End of Item 0002
Begin of Item 0003
Format 0
srcBegin = 03B1
srcEnd = 03BE
destBegin = 000B
End of Item 0003
Begin of Item 0004
Format 0
srcBegin = 03C3
srcEnd = 03C9
destBegin = 001B
End of Item 0004
Begin of Item 0005
Format 1
srcBegin = 002C
srcEnd = 002F
mappingOffset = 0000
Mapping =
003B FFFD 003A 003D
End of Item 0005
Begin of Item 0006
Format 1
srcBegin = 003C
srcEnd = 003E
mappingOffset = 0004
Mapping =
003C FFFD 003E
End of Item 0006
Begin of Item 0007
Format 2
srcBegin = 0131
destBegin = 007B
End of Item 0007
Begin of Item 0008
Format 2
srcBegin = 025B
destBegin = 0022
End of Item 0008
Begin of Item 0009
Format 2
srcBegin = 0311
destBegin = 007F
End of Item 0009
Begin of Item 000A
Format 1
srcBegin = 0393
srcEnd = 03A9
mappingOffset = 0007
Mapping =
0000 0001 FFFD FFFD FFFD 0002 FFFD FFFD
0003 FFFD FFFD 0004 FFFD 0005 FFFD FFFD
0006 FFFD 0007 0008 FFFD 0009 000A
End of Item 000A
Begin of Item 000B
Format 1
srcBegin = 03C0
srcEnd = 03C2
mappingOffset = 001E
Mapping =
0019 001A 0026
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 03D1
srcEnd = 03D6
mappingOffset = 0021
Mapping =
0023 FFFD FFFD FFFD 0027 0024
End of Item 000C
Begin of Item 000D
Format 2
srcBegin = 03F1
destBegin = 0025
End of Item 000D
Begin of Item 000E
Format 2
srcBegin = 20D7
destBegin = 007E
End of Item 000E
Begin of Item 000F
Format 1
srcBegin = 2113
srcEnd = 2118
mappingOffset = 0027
Mapping =
0060 FFFD FFFD FFFD FFFD 007D
End of Item 000F
Begin of Item 0010
Format 1
srcBegin = 21BC
srcEnd = 21C1
mappingOffset = 002D
Mapping =
0028 0029 FFFD FFFD 002A 002B
End of Item 0010
Begin of Item 0011
Format 2
srcBegin = 2202
destBegin = 0040
End of Item 0011
Begin of Item 0012
Format 2
srcBegin = 22C6
destBegin = 003F
End of Item 0012
Begin of Item 0013
Format 1
srcBegin = 2322
srcEnd = 2323
mappingOffset = 0033
Mapping =
005F 005E
End of Item 0013
Begin of Item 0014
Format 1
srcBegin = 25B9
srcEnd = 25C3
mappingOffset = 0035
Mapping =
002E FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD 002F
End of Item 0014
Begin of Item 0015
Format 1
srcBegin = 266D
srcEnd = 266F
mappingOffset = 0040
Mapping =
005B 005C 005D
End of Item 0015
Begin of Item 0016
Format 2
srcBegin = EEF0
destBegin = 007C
End of Item 0016
Begin of Item 0017
Format 1
srcBegin = EFBA
srcEnd = EFBB
mappingOffset = 0043
Mapping =
002C 002D
End of Item 0017
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0018,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x000B,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0053,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0005 */
/* Total of Format 1 : 0x000B */
/* Total of Format 2 : 0x0008 */
/* Total of Format 3 : 0x0000 */
0x0000, 0x2110, 0x1122, 0x1221, 0x1221, 0x1211, 0x0000,
/*-------------------------------------------------------*/
/* Offset=0x000B Start of MapCell Array */
/* 0000 */ 0x0030, 0x0039, 0x0030,
/* 0001 */ 0x0041, 0x005A, 0x0041,
/* 0002 */ 0x0061, 0x007A, 0x0061,
/* 0003 */ 0x03B1, 0x03BE, 0x000B,
/* 0004 */ 0x03C3, 0x03C9, 0x001B,
/* 0005 */ 0x002C, 0x002F, 0x0000,
/* 0006 */ 0x003C, 0x003E, 0x0004,
/* 0007 */ 0x0131, 0x0000, 0x007B,
/* 0008 */ 0x025B, 0x0000, 0x0022,
/* 0009 */ 0x0311, 0x0000, 0x007F,
/* 000A */ 0x0393, 0x03A9, 0x0007,
/* 000B */ 0x03C0, 0x03C2, 0x001E,
/* 000C */ 0x03D1, 0x03D6, 0x0021,
/* 000D */ 0x03F1, 0x0000, 0x0025,
/* 000E */ 0x20D7, 0x0000, 0x007E,
/* 000F */ 0x2113, 0x2118, 0x0027,
/* 0010 */ 0x21BC, 0x21C1, 0x002D,
/* 0011 */ 0x2202, 0x0000, 0x0040,
/* 0012 */ 0x22C6, 0x0000, 0x003F,
/* 0013 */ 0x2322, 0x2323, 0x0033,
/* 0014 */ 0x25B9, 0x25C3, 0x0035,
/* 0015 */ 0x266D, 0x266F, 0x0040,
/* 0016 */ 0xEEF0, 0x0000, 0x007C,
/* 0017 */ 0xEFBA, 0xEFBB, 0x0043,
/*-------------------------------------------------------*/
/* Offset=0x0053 Start of MappingTable */
/* 0000 */ 0x003B, 0xFFFD, 0x003A, 0x003D, 0x003C, 0xFFFD, 0x003E, 0x0000,
/* 0008 */ 0x0001, 0xFFFD, 0xFFFD, 0xFFFD, 0x0002, 0xFFFD, 0xFFFD, 0x0003,
/* 0010 */ 0xFFFD, 0xFFFD, 0x0004, 0xFFFD, 0x0005, 0xFFFD, 0xFFFD, 0x0006,
/* 0018 */ 0xFFFD, 0x0007, 0x0008, 0xFFFD, 0x0009, 0x000A, 0x0019, 0x001A,
/* 0020 */ 0x0026, 0x0023, 0xFFFD, 0xFFFD, 0xFFFD, 0x0027, 0x0024, 0x0060,
/* 0028 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x007D, 0x0028, 0x0029, 0xFFFD,
/* 0030 */ 0xFFFD, 0x002A, 0x002B, 0x005F, 0x005E, 0x002E, 0xFFFD, 0xFFFD,
/* 0038 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x002F,
/* 0040 */ 0x005B, 0x005C, 0x005D, 0x002C, 0x002D,
/* End of table Total Length = 0x0098 * 2 */

Просмотреть файл

@ -1,288 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = 0030
srcEnd = 0039
destBegin = 0030
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = 0041
srcEnd = 005A
destBegin = 0041
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = 0061
srcEnd = 007A
destBegin = 0061
End of Item 0002
Begin of Item 0003
Format 0
srcBegin = 03B1
srcEnd = 03B9
destBegin = 00AE
End of Item 0003
Begin of Item 0004
Format 0
srcBegin = 03C3
srcEnd = 03C8
destBegin = 00BE
End of Item 0004
Begin of Item 0005
Format 2
srcBegin = 0020
destBegin = 0020
End of Item 0005
Begin of Item 0006
Format 1
srcBegin = 002C
srcEnd = 002F
mappingOffset = 0000
Mapping =
003B FFFD 003A 003D
End of Item 0006
Begin of Item 0007
Format 1
srcBegin = 003C
srcEnd = 003E
mappingOffset = 0004
Mapping =
003C FFFD 003E
End of Item 0007
Begin of Item 0008
Format 2
srcBegin = 0131
destBegin = 007B
End of Item 0008
Begin of Item 0009
Format 2
srcBegin = 025B
destBegin = 0022
End of Item 0009
Begin of Item 000A
Format 2
srcBegin = 0311
destBegin = 00C4
End of Item 000A
Begin of Item 000B
Format 1
srcBegin = 0393
srcEnd = 03A9
mappingOffset = 0007
Mapping =
00A1 00A2 FFFD FFFD FFFD 00A3 FFFD FFFD
00A4 FFFD FFFD 00A5 FFFD 00A6 FFFD FFFD
00A7 FFFD 00A8 00A9 FFFD 00AA 00AD
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 03BA
srcEnd = 03D6
mappingOffset = 001E
Mapping =
0080 00B8 00B9 00BA 00BB FFFD 00BC 00BD
0026 FFFD FFFD FFFD FFFD FFFD FFFD 0021
FFFD FFFD FFFD FFFD FFFD FFFD FFFD 0023
FFFD FFFD FFFD 0027 0024
End of Item 000C
Begin of Item 000D
Format 2
srcBegin = 03F1
destBegin = 0025
End of Item 000D
Begin of Item 000E
Format 2
srcBegin = 20D7
destBegin = 007E
End of Item 000E
Begin of Item 000F
Format 1
srcBegin = 2113
srcEnd = 2118
mappingOffset = 003B
Mapping =
0060 FFFD FFFD FFFD FFFD 007D
End of Item 000F
Begin of Item 0010
Format 1
srcBegin = 21BC
srcEnd = 21C1
mappingOffset = 0041
Mapping =
0028 0029 FFFD FFFD 002A 002B
End of Item 0010
Begin of Item 0011
Format 2
srcBegin = 2202
destBegin = 0040
End of Item 0011
Begin of Item 0012
Format 2
srcBegin = 22C6
destBegin = 003F
End of Item 0012
Begin of Item 0013
Format 1
srcBegin = 2322
srcEnd = 2323
mappingOffset = 0047
Mapping =
005F 005E
End of Item 0013
Begin of Item 0014
Format 1
srcBegin = 25B9
srcEnd = 25C3
mappingOffset = 0049
Mapping =
002E FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD 002F
End of Item 0014
Begin of Item 0015
Format 1
srcBegin = 266D
srcEnd = 266F
mappingOffset = 0054
Mapping =
005B 005C 005D
End of Item 0015
Begin of Item 0016
Format 2
srcBegin = EEF0
destBegin = 007C
End of Item 0016
Begin of Item 0017
Format 1
srcBegin = EFBA
srcEnd = EFBB
mappingOffset = 0057
Mapping =
002C 002D
End of Item 0017
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0018,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x000B,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0053,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0005 */
/* Total of Format 1 : 0x000A */
/* Total of Format 2 : 0x0009 */
/* Total of Format 3 : 0x0000 */
0x0000, 0x1120, 0x1222, 0x1221, 0x1221, 0x1211, 0x0000,
/*-------------------------------------------------------*/
/* Offset=0x000B Start of MapCell Array */
/* 0000 */ 0x0030, 0x0039, 0x0030,
/* 0001 */ 0x0041, 0x005A, 0x0041,
/* 0002 */ 0x0061, 0x007A, 0x0061,
/* 0003 */ 0x03B1, 0x03B9, 0x00AE,
/* 0004 */ 0x03C3, 0x03C8, 0x00BE,
/* 0005 */ 0x0020, 0x0000, 0x0020,
/* 0006 */ 0x002C, 0x002F, 0x0000,
/* 0007 */ 0x003C, 0x003E, 0x0004,
/* 0008 */ 0x0131, 0x0000, 0x007B,
/* 0009 */ 0x025B, 0x0000, 0x0022,
/* 000A */ 0x0311, 0x0000, 0x00C4,
/* 000B */ 0x0393, 0x03A9, 0x0007,
/* 000C */ 0x03BA, 0x03D6, 0x001E,
/* 000D */ 0x03F1, 0x0000, 0x0025,
/* 000E */ 0x20D7, 0x0000, 0x007E,
/* 000F */ 0x2113, 0x2118, 0x003B,
/* 0010 */ 0x21BC, 0x21C1, 0x0041,
/* 0011 */ 0x2202, 0x0000, 0x0040,
/* 0012 */ 0x22C6, 0x0000, 0x003F,
/* 0013 */ 0x2322, 0x2323, 0x0047,
/* 0014 */ 0x25B9, 0x25C3, 0x0049,
/* 0015 */ 0x266D, 0x266F, 0x0054,
/* 0016 */ 0xEEF0, 0x0000, 0x007C,
/* 0017 */ 0xEFBA, 0xEFBB, 0x0057,
/*-------------------------------------------------------*/
/* Offset=0x0053 Start of MappingTable */
/* 0000 */ 0x003B, 0xFFFD, 0x003A, 0x003D, 0x003C, 0xFFFD, 0x003E, 0x00A1,
/* 0008 */ 0x00A2, 0xFFFD, 0xFFFD, 0xFFFD, 0x00A3, 0xFFFD, 0xFFFD, 0x00A4,
/* 0010 */ 0xFFFD, 0xFFFD, 0x00A5, 0xFFFD, 0x00A6, 0xFFFD, 0xFFFD, 0x00A7,
/* 0018 */ 0xFFFD, 0x00A8, 0x00A9, 0xFFFD, 0x00AA, 0x00AD, 0x0080, 0x00B8,
/* 0020 */ 0x00B9, 0x00BA, 0x00BB, 0xFFFD, 0x00BC, 0x00BD, 0x0026, 0xFFFD,
/* 0028 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0021, 0xFFFD, 0xFFFD,
/* 0030 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0023, 0xFFFD, 0xFFFD,
/* 0038 */ 0xFFFD, 0x0027, 0x0024, 0x0060, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0040 */ 0x007D, 0x0028, 0x0029, 0xFFFD, 0xFFFD, 0x002A, 0x002B, 0x005F,
/* 0048 */ 0x005E, 0x002E, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0050 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x002F, 0x005B, 0x005C, 0x005D, 0x002C,
/* 0058 */ 0x002D,
/* End of table Total Length = 0x00AC * 2 */

Просмотреть файл

@ -1,207 +0,0 @@
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = 0023
srcEnd = 003B
destBegin = 0023
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = 003F
srcEnd = 005B
destBegin = 003F
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = 0061
srcEnd = 007A
destBegin = 0061
End of Item 0002
Begin of Item 0003
Format 2
srcBegin = 0021
destBegin = 0021
End of Item 0003
Begin of Item 0004
Format 2
srcBegin = 003D
destBegin = 003D
End of Item 0004
Begin of Item 0005
Format 2
srcBegin = 005D
destBegin = 005D
End of Item 0005
Begin of Item 0006
Format 2
srcBegin = 00A1
destBegin = 003C
End of Item 0006
Begin of Item 0007
Format 1
srcBegin = 00BF
srcEnd = 00C6
mappingOffset = 0000
Mapping =
003E FFFD FFFD FFFD FFFD FFFD FFFD 001D
End of Item 0007
Begin of Item 0008
Format 1
srcBegin = 00D8
srcEnd = 00E6
mappingOffset = 0008
Mapping =
001F FFFD FFFD FFFD FFFD FFFD FFFD 0019
FFFD FFFD FFFD FFFD FFFD FFFD 001A
End of Item 0008
Begin of Item 0009
Format 2
srcBegin = 00F8
destBegin = 001C
End of Item 0009
Begin of Item 000A
Format 2
srcBegin = 0131
destBegin = 0010
End of Item 000A
Begin of Item 000B
Format 1
srcBegin = 0152
srcEnd = 0153
mappingOffset = 0017
Mapping =
001E 001B
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 0300
srcEnd = 030C
mappingOffset = 0019
Mapping =
0012 0013 005E 007E FFFD 0016 0015 005F
007F FFFD 0017 007D 0014
End of Item 000C
Begin of Item 000D
Format 2
srcBegin = 0327
destBegin = 0018
End of Item 000D
Begin of Item 000E
Format 2
srcBegin = 0337
destBegin = 0020
End of Item 000E
Begin of Item 000F
Format 1
srcBegin = 0393
srcEnd = 03A9
mappingOffset = 0026
Mapping =
0000 0001 FFFD FFFD FFFD 0002 FFFD FFFD
0003 FFFD FFFD 0004 FFFD 0005 FFFD FFFD
0006 FFFD 0007 0008 FFFD 0009 000A
End of Item 000F
Begin of Item 0010
Format 1
srcBegin = 2013
srcEnd = 201D
mappingOffset = 003D
Mapping =
007B 007C FFFD FFFD FFFD 0060 FFFD FFFD
FFFD 005C 0022
End of Item 0010
Begin of Item 0011
Format 2
srcBegin = EEF0
destBegin = 0011
End of Item 0011
Begin of Item 0012
Format 1
srcBegin = FB00
srcEnd = FB04
mappingOffset = 0048
Mapping =
000B 000C 000D 000E 000F
End of Item 0012
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0013,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0009,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0042,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0003 */
/* Total of Format 1 : 0x0007 */
/* Total of Format 2 : 0x0009 */
/* Total of Format 3 : 0x0000 */
0x2000, 0x1222, 0x1221, 0x1221, 0x0121,
/*-------------------------------------------------------*/
/* Offset=0x0009 Start of MapCell Array */
/* 0000 */ 0x0023, 0x003B, 0x0023,
/* 0001 */ 0x003F, 0x005B, 0x003F,
/* 0002 */ 0x0061, 0x007A, 0x0061,
/* 0003 */ 0x0021, 0x0000, 0x0021,
/* 0004 */ 0x003D, 0x0000, 0x003D,
/* 0005 */ 0x005D, 0x0000, 0x005D,
/* 0006 */ 0x00A1, 0x0000, 0x003C,
/* 0007 */ 0x00BF, 0x00C6, 0x0000,
/* 0008 */ 0x00D8, 0x00E6, 0x0008,
/* 0009 */ 0x00F8, 0x0000, 0x001C,
/* 000A */ 0x0131, 0x0000, 0x0010,
/* 000B */ 0x0152, 0x0153, 0x0017,
/* 000C */ 0x0300, 0x030C, 0x0019,
/* 000D */ 0x0327, 0x0000, 0x0018,
/* 000E */ 0x0337, 0x0000, 0x0020,
/* 000F */ 0x0393, 0x03A9, 0x0026,
/* 0010 */ 0x2013, 0x201D, 0x003D,
/* 0011 */ 0xEEF0, 0x0000, 0x0011,
/* 0012 */ 0xFB00, 0xFB04, 0x0048,
/*-------------------------------------------------------*/
/* Offset=0x0042 Start of MappingTable */
/* 0000 */ 0x003E, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x001D,
/* 0008 */ 0x001F, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0019,
/* 0010 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x001A, 0x001E,
/* 0018 */ 0x001B, 0x0012, 0x0013, 0x005E, 0x007E, 0xFFFD, 0x0016, 0x0015,
/* 0020 */ 0x005F, 0x007F, 0xFFFD, 0x0017, 0x007D, 0x0014, 0x0000, 0x0001,
/* 0028 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x0002, 0xFFFD, 0xFFFD, 0x0003, 0xFFFD,
/* 0030 */ 0xFFFD, 0x0004, 0xFFFD, 0x0005, 0xFFFD, 0xFFFD, 0x0006, 0xFFFD,
/* 0038 */ 0x0007, 0x0008, 0xFFFD, 0x0009, 0x000A, 0x007B, 0x007C, 0xFFFD,
/* 0040 */ 0xFFFD, 0xFFFD, 0x0060, 0xFFFD, 0xFFFD, 0xFFFD, 0x005C, 0x0022,
/* 0048 */ 0x000B, 0x000C, 0x000D, 0x000E, 0x000F,
/* End of table Total Length = 0x008F * 2 */

Просмотреть файл

@ -1,242 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = 0023
srcEnd = 003B
destBegin = 0023
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = 003F
srcEnd = 005B
destBegin = 003F
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = 0061
srcEnd = 007A
destBegin = 0061
End of Item 0002
Begin of Item 0003
Format 1
srcBegin = 0020
srcEnd = 0021
mappingOffset = 0000
Mapping =
0020 0021
End of Item 0003
Begin of Item 0004
Format 2
srcBegin = 003D
destBegin = 003D
End of Item 0004
Begin of Item 0005
Format 2
srcBegin = 005D
destBegin = 005D
End of Item 0005
Begin of Item 0006
Format 2
srcBegin = 00A1
destBegin = 003C
End of Item 0006
Begin of Item 0007
Format 1
srcBegin = 00BF
srcEnd = 00C6
mappingOffset = 0002
Mapping =
003E FFFD FFFD FFFD FFFD FFFD FFFD 00C0
End of Item 0007
Begin of Item 0008
Format 1
srcBegin = 00D8
srcEnd = 00E6
mappingOffset = 000A
Mapping =
00C2 FFFD FFFD FFFD FFFD FFFD FFFD 00BC
FFFD FFFD FFFD FFFD FFFD FFFD 00BD
End of Item 0008
Begin of Item 0009
Format 2
srcBegin = 00F8
destBegin = 00BF
End of Item 0009
Begin of Item 000A
Format 2
srcBegin = 0131
destBegin = 00B3
End of Item 000A
Begin of Item 000B
Format 1
srcBegin = 0152
srcEnd = 0153
mappingOffset = 0019
Mapping =
00C1 00BE
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 0300
srcEnd = 030B
mappingOffset = 001B
Mapping =
00B5 00B6 005E 007E FFFD 00B9 00B8 005F
00C4 FFFD 00BA 007D
End of Item 000C
Begin of Item 000D
Format 2
srcBegin = 0327
destBegin = 00BB
End of Item 000D
Begin of Item 000E
Format 2
srcBegin = 0337
destBegin = 00C3
End of Item 000E
Begin of Item 000F
Format 1
srcBegin = 0393
srcEnd = 03A9
mappingOffset = 0027
Mapping =
00A1 00A2 FFFD FFFD FFFD 00A3 FFFD FFFD
00A4 FFFD FFFD 00A5 FFFD 00A6 FFFD FFFD
00A7 FFFD 00A8 00A9 FFFD 00AA 00AD
End of Item 000F
Begin of Item 0010
Format 1
srcBegin = 2013
srcEnd = 201D
mappingOffset = 003E
Mapping =
007B 007C FFFD FFFD FFFD 0060 FFFD FFFD
FFFD 005C 0022
End of Item 0010
Begin of Item 0011
Format 2
srcBegin = EEF0
destBegin = 00B4
End of Item 0011
Begin of Item 0012
Format 1
srcBegin = FB00
srcEnd = FB04
mappingOffset = 0049
Mapping =
00AE 00AF 00B0 00B1 00B2
End of Item 0012
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0013,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0009,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0042,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0003 */
/* Total of Format 1 : 0x0008 */
/* Total of Format 2 : 0x0008 */
/* Total of Format 3 : 0x0000 */
0x1000, 0x1222, 0x1221, 0x1221, 0x0121,
/*-------------------------------------------------------*/
/* Offset=0x0009 Start of MapCell Array */
/* 0000 */ 0x0023, 0x003B, 0x0023,
/* 0001 */ 0x003F, 0x005B, 0x003F,
/* 0002 */ 0x0061, 0x007A, 0x0061,
/* 0003 */ 0x0020, 0x0021, 0x0000,
/* 0004 */ 0x003D, 0x0000, 0x003D,
/* 0005 */ 0x005D, 0x0000, 0x005D,
/* 0006 */ 0x00A1, 0x0000, 0x003C,
/* 0007 */ 0x00BF, 0x00C6, 0x0002,
/* 0008 */ 0x00D8, 0x00E6, 0x000A,
/* 0009 */ 0x00F8, 0x0000, 0x00BF,
/* 000A */ 0x0131, 0x0000, 0x00B3,
/* 000B */ 0x0152, 0x0153, 0x0019,
/* 000C */ 0x0300, 0x030B, 0x001B,
/* 000D */ 0x0327, 0x0000, 0x00BB,
/* 000E */ 0x0337, 0x0000, 0x00C3,
/* 000F */ 0x0393, 0x03A9, 0x0027,
/* 0010 */ 0x2013, 0x201D, 0x003E,
/* 0011 */ 0xEEF0, 0x0000, 0x00B4,
/* 0012 */ 0xFB00, 0xFB04, 0x0049,
/*-------------------------------------------------------*/
/* Offset=0x0042 Start of MappingTable */
/* 0000 */ 0x0020, 0x0021, 0x003E, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0008 */ 0xFFFD, 0x00C0, 0x00C2, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0010 */ 0xFFFD, 0x00BC, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0018 */ 0x00BD, 0x00C1, 0x00BE, 0x00B5, 0x00B6, 0x005E, 0x007E, 0xFFFD,
/* 0020 */ 0x00B9, 0x00B8, 0x005F, 0x00C4, 0xFFFD, 0x00BA, 0x007D, 0x00A1,
/* 0028 */ 0x00A2, 0xFFFD, 0xFFFD, 0xFFFD, 0x00A3, 0xFFFD, 0xFFFD, 0x00A4,
/* 0030 */ 0xFFFD, 0xFFFD, 0x00A5, 0xFFFD, 0x00A6, 0xFFFD, 0xFFFD, 0x00A7,
/* 0038 */ 0xFFFD, 0x00A8, 0x00A9, 0xFFFD, 0x00AA, 0x00AD, 0x007B, 0x007C,
/* 0040 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x0060, 0xFFFD, 0xFFFD, 0xFFFD, 0x005C,
/* 0048 */ 0x0022, 0x00AE, 0x00AF, 0x00B0, 0x00B1, 0x00B2,
/* End of table Total Length = 0x0090 * 2 */

Просмотреть файл

@ -1,334 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = EF3F
srcEnd = EF46
destBegin = 0053
End of Item 0000
Begin of Item 0001
Format 1
srcBegin = 007B
srcEnd = 007D
mappingOffset = 0000
Mapping =
0066 FFFD 0067
End of Item 0001
Begin of Item 0002
Format 1
srcBegin = 00A7
srcEnd = 00B7
mappingOffset = 0003
Mapping =
0078 FFFD FFFD FFFD FFFD 003A FFFD FFFD
FFFD FFFD 0006 FFFD FFFD FFFD FFFD 007B
0001
End of Item 0002
Begin of Item 0003
Format 2
srcBegin = 00D7
destBegin = 0002
End of Item 0003
Begin of Item 0004
Format 2
srcBegin = 00F7
destBegin = 0004
End of Item 0004
Begin of Item 0005
Format 2
srcBegin = 0338
destBegin = 0036
End of Item 0005
Begin of Item 0006
Format 1
srcBegin = 2020
srcEnd = 2021
mappingOffset = 0014
Mapping =
0079 007A
End of Item 0006
Begin of Item 0007
Format 2
srcBegin = 2032
destBegin = 0030
End of Item 0007
Begin of Item 0008
Format 1
srcBegin = 210B
srcEnd = 211C
mappingOffset = 0016
Mapping =
0048 FFFD FFFD FFFD FFFD 0049 003D 004C
FFFD FFFD FFFD FFFD FFFD FFFD FFFD FFFD
0052 003C
End of Item 0008
Begin of Item 0009
Format 1
srcBegin = 212C
srcEnd = 2135
mappingOffset = 0028
Mapping =
0042 FFFD FFFD FFFD 0045 0046 FFFD 004D
FFFD 0040
End of Item 0009
Begin of Item 000A
Format 1
srcBegin = 2190
srcEnd = 2199
mappingOffset = 0032
Mapping =
0020 0022 0021 0023 0024 006C 002D 0025
0026 002E
End of Item 000A
Begin of Item 000B
Format 1
srcBegin = 21D0
srcEnd = 21D5
mappingOffset = 003C
Mapping =
0028 002A 0029 002B 002C 006D
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 2200
srcEnd = 222B
mappingOffset = 0042
Mapping =
0038 FFFD FFFD 0039 FFFD 003B FFFD 0072
0032 FFFD FFFD 0033 FFFD FFFD FFFD FFFD
0071 FFFD 0000 0007 FFFD FFFD 006E FFFD
000E 000F 0070 FFFD FFFD 002F 0031 FFFD
FFFD FFFD FFFD 006A FFFD 006B FFFD 005E
005F 005C 005B 0073
End of Item 000C
Begin of Item 000D
Format 1
srcBegin = 223C
srcEnd = 224D
mappingOffset = 006E
Mapping =
0018 FFFD FFFD FFFD 006F FFFD 0027 0010
FFFD 0019 FFFD FFFD FFFD FFFD FFFD FFFD
FFFD 0011
End of Item 000D
Begin of Item 000E
Format 1
srcBegin = 2264
srcEnd = 226B
mappingOffset = 0080
Mapping =
0014 0015 FFFD FFFD FFFD FFFD 001C 001D
End of Item 000E
Begin of Item 000F
Format 1
srcBegin = 227A
srcEnd = 22A5
mappingOffset = 0088
Mapping =
001E 001F 0016 0017 FFFD FFFD FFFD FFFD
001A 001B FFFD FFFD 0012 0013 FFFD FFFD
FFFD FFFD FFFD FFFD 005D FFFD FFFD 0076
0077 0075 0074 0008 0009 000A 000B 000C
FFFD FFFD FFFD FFFD FFFD FFFD FFFD FFFD
0060 0061 003E 003F
End of Item 000F
Begin of Item 0010
Format 1
srcBegin = 22C4
srcEnd = 22C6
mappingOffset = 00B4
Mapping =
0005 FFFD 0003
End of Item 0010
Begin of Item 0011
Format 1
srcBegin = 2308
srcEnd = 230B
mappingOffset = 00B7
Mapping =
0064 0065 0062 0063
End of Item 0011
Begin of Item 0012
Format 1
srcBegin = 2329
srcEnd = 232A
mappingOffset = 00BB
Mapping =
0068 0069
End of Item 0012
Begin of Item 0013
Format 1
srcBegin = 25B3
srcEnd = 25BD
mappingOffset = 00BD
Mapping =
0034 FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD 0035
End of Item 0013
Begin of Item 0014
Format 2
srcBegin = 25CB
destBegin = 000D
End of Item 0014
Begin of Item 0015
Format 1
srcBegin = 2660
srcEnd = 2663
mappingOffset = 00C8
Mapping =
007F 007E 007D 007C
End of Item 0015
Begin of Item 0016
Format 1
srcBegin = EF35
srcEnd = EF3E
mappingOffset = 00CC
Mapping =
0041 0043 0044 0047 004A 004B 004E 004F
0050 0051
End of Item 0016
Begin of Item 0017
Format 2
srcBegin = EFB9
destBegin = 0037
End of Item 0017
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0018,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x000B,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0053,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0001 */
/* Total of Format 1 : 0x0011 */
/* Total of Format 2 : 0x0006 */
/* Total of Format 3 : 0x0000 */
0x2110, 0x2122, 0x1111, 0x1111, 0x1111, 0x2112, 0x0000,
/*-------------------------------------------------------*/
/* Offset=0x000B Start of MapCell Array */
/* 0000 */ 0xEF3F, 0xEF46, 0x0053,
/* 0001 */ 0x007B, 0x007D, 0x0000,
/* 0002 */ 0x00A7, 0x00B7, 0x0003,
/* 0003 */ 0x00D7, 0x0000, 0x0002,
/* 0004 */ 0x00F7, 0x0000, 0x0004,
/* 0005 */ 0x0338, 0x0000, 0x0036,
/* 0006 */ 0x2020, 0x2021, 0x0014,
/* 0007 */ 0x2032, 0x0000, 0x0030,
/* 0008 */ 0x210B, 0x211C, 0x0016,
/* 0009 */ 0x212C, 0x2135, 0x0028,
/* 000A */ 0x2190, 0x2199, 0x0032,
/* 000B */ 0x21D0, 0x21D5, 0x003C,
/* 000C */ 0x2200, 0x222B, 0x0042,
/* 000D */ 0x223C, 0x224D, 0x006E,
/* 000E */ 0x2264, 0x226B, 0x0080,
/* 000F */ 0x227A, 0x22A5, 0x0088,
/* 0010 */ 0x22C4, 0x22C6, 0x00B4,
/* 0011 */ 0x2308, 0x230B, 0x00B7,
/* 0012 */ 0x2329, 0x232A, 0x00BB,
/* 0013 */ 0x25B3, 0x25BD, 0x00BD,
/* 0014 */ 0x25CB, 0x0000, 0x000D,
/* 0015 */ 0x2660, 0x2663, 0x00C8,
/* 0016 */ 0xEF35, 0xEF3E, 0x00CC,
/* 0017 */ 0xEFB9, 0x0000, 0x0037,
/*-------------------------------------------------------*/
/* Offset=0x0053 Start of MappingTable */
/* 0000 */ 0x0066, 0xFFFD, 0x0067, 0x0078, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0008 */ 0x003A, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0006, 0xFFFD, 0xFFFD,
/* 0010 */ 0xFFFD, 0xFFFD, 0x007B, 0x0001, 0x0079, 0x007A, 0x0048, 0xFFFD,
/* 0018 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x0049, 0x003D, 0x004C, 0xFFFD, 0xFFFD,
/* 0020 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0052, 0x003C,
/* 0028 */ 0x0042, 0xFFFD, 0xFFFD, 0xFFFD, 0x0045, 0x0046, 0xFFFD, 0x004D,
/* 0030 */ 0xFFFD, 0x0040, 0x0020, 0x0022, 0x0021, 0x0023, 0x0024, 0x006C,
/* 0038 */ 0x002D, 0x0025, 0x0026, 0x002E, 0x0028, 0x002A, 0x0029, 0x002B,
/* 0040 */ 0x002C, 0x006D, 0x0038, 0xFFFD, 0xFFFD, 0x0039, 0xFFFD, 0x003B,
/* 0048 */ 0xFFFD, 0x0072, 0x0032, 0xFFFD, 0xFFFD, 0x0033, 0xFFFD, 0xFFFD,
/* 0050 */ 0xFFFD, 0xFFFD, 0x0071, 0xFFFD, 0x0000, 0x0007, 0xFFFD, 0xFFFD,
/* 0058 */ 0x006E, 0xFFFD, 0x000E, 0x000F, 0x0070, 0xFFFD, 0xFFFD, 0x002F,
/* 0060 */ 0x0031, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x006A, 0xFFFD, 0x006B,
/* 0068 */ 0xFFFD, 0x005E, 0x005F, 0x005C, 0x005B, 0x0073, 0x0018, 0xFFFD,
/* 0070 */ 0xFFFD, 0xFFFD, 0x006F, 0xFFFD, 0x0027, 0x0010, 0xFFFD, 0x0019,
/* 0078 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0011,
/* 0080 */ 0x0014, 0x0015, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x001C, 0x001D,
/* 0088 */ 0x001E, 0x001F, 0x0016, 0x0017, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0090 */ 0x001A, 0x001B, 0xFFFD, 0xFFFD, 0x0012, 0x0013, 0xFFFD, 0xFFFD,
/* 0098 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x005D, 0xFFFD, 0xFFFD, 0x0076,
/* 00A0 */ 0x0077, 0x0075, 0x0074, 0x0008, 0x0009, 0x000A, 0x000B, 0x000C,
/* 00A8 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00B0 */ 0x0060, 0x0061, 0x003E, 0x003F, 0x0005, 0xFFFD, 0x0003, 0x0064,
/* 00B8 */ 0x0065, 0x0062, 0x0063, 0x0068, 0x0069, 0x0034, 0xFFFD, 0xFFFD,
/* 00C0 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0035,
/* 00C8 */ 0x007F, 0x007E, 0x007D, 0x007C, 0x0041, 0x0043, 0x0044, 0x0047,
/* 00D0 */ 0x004A, 0x004B, 0x004E, 0x004F, 0x0050, 0x0051,
/* End of table Total Length = 0x0129 * 2 */

Просмотреть файл

@ -1,311 +0,0 @@
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = EF3F
srcEnd = EF46
destBegin = 0053
End of Item 0000
Begin of Item 0001
Format 2
srcBegin = 005C
destBegin = 006E
End of Item 0001
Begin of Item 0002
Format 1
srcBegin = 007B
srcEnd = 007D
mappingOffset = 0000
Mapping =
0066 FFFD 0067
End of Item 0002
Begin of Item 0003
Format 1
srcBegin = 00A0
srcEnd = 00B6
mappingOffset = 0003
Mapping =
00A0 FFFD FFFD FFFD FFFD FFFD FFFD 0078
FFFD FFFD FFFD FFFD 003A FFFD FFFD FFFD
FFFD 00A7 FFFD FFFD FFFD FFFD 007B
End of Item 0003
Begin of Item 0004
Format 2
srcBegin = 00D7
destBegin = 00A3
End of Item 0004
Begin of Item 0005
Format 2
srcBegin = 00F7
destBegin = 00A5
End of Item 0005
Begin of Item 0006
Format 2
srcBegin = 0338
destBegin = 0036
End of Item 0006
Begin of Item 0007
Format 1
srcBegin = 2020
srcEnd = 2021
mappingOffset = 001A
Mapping =
0079 007A
End of Item 0007
Begin of Item 0008
Format 2
srcBegin = 2032
destBegin = 0030
End of Item 0008
Begin of Item 0009
Format 1
srcBegin = 210B
srcEnd = 211C
mappingOffset = 001C
Mapping =
0048 FFFD FFFD FFFD FFFD 0049 003D 004C
FFFD FFFD FFFD FFFD FFFD FFFD FFFD FFFD
0052 003C
End of Item 0009
Begin of Item 000A
Format 1
srcBegin = 212C
srcEnd = 2135
mappingOffset = 002E
Mapping =
0042 FFFD FFFD FFFD 0045 0046 FFFD 004D
FFFD 0040
End of Item 000A
Begin of Item 000B
Format 1
srcBegin = 2190
srcEnd = 2199
mappingOffset = 0038
Mapping =
00C3 0022 0021 0023 0024 006C 002D 0025
0026 002E
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 21D0
srcEnd = 21D5
mappingOffset = 0042
Mapping =
0028 002A 0029 002B 002C 006D
End of Item 000C
Begin of Item 000D
Format 1
srcBegin = 2200
srcEnd = 222B
mappingOffset = 0048
Mapping =
0038 FFFD FFFD 0039 FFFD 003B FFFD 0072
0032 FFFD FFFD 0033 FFFD FFFD FFFD FFFD
0071 FFFD 00A1 00A8 FFFD FFFD FFFD 00A4
00B1 00B2 0070 FFFD FFFD 002F 0031 FFFD
FFFD FFFD FFFD 006A FFFD 006B FFFD 005E
005F 005C 005B 0073
End of Item 000D
Begin of Item 000E
Format 1
srcBegin = 223C
srcEnd = 224D
mappingOffset = 0074
Mapping =
00BB FFFD FFFD FFFD 006F FFFD FFFD 0027
FFFD FFFD FFFD FFFD 00BC FFFD FFFD FFFD
FFFD 00B3
End of Item 000E
Begin of Item 000F
Format 1
srcBegin = 2261
srcEnd = 226B
mappingOffset = 0086
Mapping =
00B4 FFFD FFFD 00B7 00B8 FFFD FFFD FFFD
FFFD 00BF 00C0
End of Item 000F
Begin of Item 0010
Format 1
srcBegin = 227A
srcEnd = 22A5
mappingOffset = 0091
Mapping =
00C1 00C2 00B9 00BA FFFD FFFD FFFD FFFD
00BD 00BE FFFD FFFD 00B5 00B6 FFFD FFFD
FFFD FFFD FFFD FFFD 005D FFFD FFFD 0076
0077 0075 0074 00A9 00AA 00AD 00AE 00AF
FFFD FFFD FFFD FFFD FFFD FFFD FFFD FFFD
0060 0061 003E 003F
End of Item 0010
Begin of Item 0011
Format 1
srcBegin = 22C4
srcEnd = 22C5
mappingOffset = 00BD
Mapping =
00A6 00A2
End of Item 0011
Begin of Item 0012
Format 1
srcBegin = 2308
srcEnd = 230B
mappingOffset = 00BF
Mapping =
0064 0065 0062 0063
End of Item 0012
Begin of Item 0013
Format 1
srcBegin = 2329
srcEnd = 232A
mappingOffset = 00C3
Mapping =
0068 0069
End of Item 0013
Begin of Item 0014
Format 1
srcBegin = 25B3
srcEnd = 25BD
mappingOffset = 00C5
Mapping =
0034 FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD 0035
End of Item 0014
Begin of Item 0015
Format 2
srcBegin = 25CB
destBegin = 00B0
End of Item 0015
Begin of Item 0016
Format 1
srcBegin = 2660
srcEnd = 2663
mappingOffset = 00D0
Mapping =
00C4 007E 007D 007C
End of Item 0016
Begin of Item 0017
Format 1
srcBegin = EF35
srcEnd = EF3E
mappingOffset = 00D4
Mapping =
0041 0043 0044 0047 004A 004B 004E 004F
0050 0051
End of Item 0017
Begin of Item 0018
Format 2
srcBegin = EFB9
destBegin = 0037
End of Item 0018
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0019,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x000B,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0056,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0001 */
/* Total of Format 1 : 0x0011 */
/* Total of Format 2 : 0x0007 */
/* Total of Format 3 : 0x0000 */
0x1120, 0x1222, 0x1112, 0x1111, 0x1111, 0x1121, 0x0002,
/*-------------------------------------------------------*/
/* Offset=0x000B Start of MapCell Array */
/* 0000 */ 0xEF3F, 0xEF46, 0x0053,
/* 0001 */ 0x005C, 0x0000, 0x006E,
/* 0002 */ 0x007B, 0x007D, 0x0000,
/* 0003 */ 0x00A0, 0x00B6, 0x0003,
/* 0004 */ 0x00D7, 0x0000, 0x00A3,
/* 0005 */ 0x00F7, 0x0000, 0x00A5,
/* 0006 */ 0x0338, 0x0000, 0x0036,
/* 0007 */ 0x2020, 0x2021, 0x001A,
/* 0008 */ 0x2032, 0x0000, 0x0030,
/* 0009 */ 0x210B, 0x211C, 0x001C,
/* 000A */ 0x212C, 0x2135, 0x002E,
/* 000B */ 0x2190, 0x2199, 0x0038,
/* 000C */ 0x21D0, 0x21D5, 0x0042,
/* 000D */ 0x2200, 0x222B, 0x0048,
/* 000E */ 0x223C, 0x224D, 0x0074,
/* 000F */ 0x2261, 0x226B, 0x0086,
/* 0010 */ 0x227A, 0x22A5, 0x0091,
/* 0011 */ 0x22C4, 0x22C5, 0x00BD,
/* 0012 */ 0x2308, 0x230B, 0x00BF,
/* 0013 */ 0x2329, 0x232A, 0x00C3,
/* 0014 */ 0x25B3, 0x25BD, 0x00C5,
/* 0015 */ 0x25CB, 0x0000, 0x00B0,
/* 0016 */ 0x2660, 0x2663, 0x00D0,
/* 0017 */ 0xEF35, 0xEF3E, 0x00D4,
/* 0018 */ 0xEFB9, 0x0000, 0x0037,
/*-------------------------------------------------------*/
/* Offset=0x0056 Start of MappingTable */
/* 0000 */ 0x0066, 0xFFFD, 0x0067, 0x00A0, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0008 */ 0xFFFD, 0xFFFD, 0x0078, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x003A,
/* 0010 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00A7, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0018 */ 0xFFFD, 0x007B, 0x0079, 0x007A, 0x0048, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0020 */ 0xFFFD, 0x0049, 0x003D, 0x004C, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0028 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0052, 0x003C, 0x0042, 0xFFFD,
/* 0030 */ 0xFFFD, 0xFFFD, 0x0045, 0x0046, 0xFFFD, 0x004D, 0xFFFD, 0x0040,
/* 0038 */ 0x00C3, 0x0022, 0x0021, 0x0023, 0x0024, 0x006C, 0x002D, 0x0025,
/* 0040 */ 0x0026, 0x002E, 0x0028, 0x002A, 0x0029, 0x002B, 0x002C, 0x006D,
/* 0048 */ 0x0038, 0xFFFD, 0xFFFD, 0x0039, 0xFFFD, 0x003B, 0xFFFD, 0x0072,
/* 0050 */ 0x0032, 0xFFFD, 0xFFFD, 0x0033, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0058 */ 0x0071, 0xFFFD, 0x00A1, 0x00A8, 0xFFFD, 0xFFFD, 0xFFFD, 0x00A4,
/* 0060 */ 0x00B1, 0x00B2, 0x0070, 0xFFFD, 0xFFFD, 0x002F, 0x0031, 0xFFFD,
/* 0068 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x006A, 0xFFFD, 0x006B, 0xFFFD, 0x005E,
/* 0070 */ 0x005F, 0x005C, 0x005B, 0x0073, 0x00BB, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0078 */ 0x006F, 0xFFFD, 0xFFFD, 0x0027, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0080 */ 0x00BC, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00B3, 0x00B4, 0xFFFD,
/* 0088 */ 0xFFFD, 0x00B7, 0x00B8, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00BF,
/* 0090 */ 0x00C0, 0x00C1, 0x00C2, 0x00B9, 0x00BA, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0098 */ 0xFFFD, 0x00BD, 0x00BE, 0xFFFD, 0xFFFD, 0x00B5, 0x00B6, 0xFFFD,
/* 00A0 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x005D, 0xFFFD, 0xFFFD,
/* 00A8 */ 0x0076, 0x0077, 0x0075, 0x0074, 0x00A9, 0x00AA, 0x00AD, 0x00AE,
/* 00B0 */ 0x00AF, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00B8 */ 0xFFFD, 0x0060, 0x0061, 0x003E, 0x003F, 0x00A6, 0x00A2, 0x0064,
/* 00C0 */ 0x0065, 0x0062, 0x0063, 0x0068, 0x0069, 0x0034, 0xFFFD, 0xFFFD,
/* 00C8 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0035,
/* 00D0 */ 0x00C4, 0x007E, 0x007D, 0x007C, 0x0041, 0x0043, 0x0044, 0x0047,
/* 00D8 */ 0x004A, 0x004B, 0x004E, 0x004F, 0x0050, 0x0051,
/* End of table Total Length = 0x0134 * 2 */

Просмотреть файл

@ -1,662 +0,0 @@
#!/bin/perl
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is Mozilla MathML Project.
#
# The Initial Developer of the Original Code is
# The University Of Queensland.
# Portions created by the Initial Developer are Copyright (C) 2001
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Roger B. Sidje <rbs@maths.uq.edu.au> - Original Author
#
# Alternatively, the contents of this file may be used under the terms of
# either of the GNU General Public License Version 2 or later (the "GPL"),
# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
# RBS - Last Modified: March 14, 2001.
#
# Usage: perl encode.pl font-encoding-table.html [-t truetype | type1]
#
require 'getopts.pl';
our($opt_h, $opt_f, $opt_t);
#
require 'mathfont.pl';
my($DEBUG) = 1;
# where is the MathML DTD file?
my($DTDfile) = "C:\\Mozilla\\src\\mozilla\\layout\\mathml\\content\\src\\mathml.dtd";
# where to load the PUA file?
my($PUAfile) = "C:\\Mozilla\\src\\mozilla\\layout\\mathml\\base\\src\\mathfontPUA.properties";
# where to save the PUA file if new assignments to the PUA are made?
my($newPUAfile) = $PUAfile;
# get the basename of the script
my($progname) = $0 =~ /([^\/\\]+)$/;
sub usage
{
my($comment) = @_;
my($usage) = <<__USAGE__;
Usage: perl $progname [-h] -f fontfile.html [-t truetype | type1]
Purpose
This script takes in input a Mozilla's MathFont Encoding Table and
outputs the data needed to support the font, i.e., the data for the
ucvmath module and the data for the MathFont Property File.
Options
-h (help, this message)
-f fontfile.html
The file that contains the font's encoding table. To see examples,
launch 'view-source' on the .html files of the default
fonts at: http://www.mozilla.org/projects/mathml/fonts/encoding/
These .html files are *exactly* the files passed to this script
with this -f option. For example, to get the data currently used
by Mozilla for the Math1 font, this script was executed as:
encode.pl -f math1.html
The script parses the .html file to extract the mapping enclosed in
<!--cmap-->
...
<!--/cmap-->
Not only does this ease maintenance, but it also means that the website
reflects the latest updates. Note however that the MathFont Property
Files are also hand-tuned to refine the results and to add further
customization. Such refinements should not be done on the files generated
by this script directly (see below). Otherwise you will overwrite and
thus lose your changes if you run the script again.
-t encodingtype
This option should not be used if the TrueType and Type1 versions
have the same encoding. If there are different encodings, use
-t truetype : to process the TrueType encoding table inside the file
-t type1 : to process the Type1 encoding table inside the file
OUTPUT:
Given the fontfile.html on input, three files are created on output:
1. a file called fontname-ucvmath.txt : this is the data to pass to
"umaptable" for the ucvmath module.
For example, running "encode.pl -f math1.html" produces math1-ucvmath.txt.
Then, running "umaptable -uf < math1-ucvmath.txt > mathematica1.uf" will
produce the resulting file that is currently in mozilla/intl/uconv/ucvmath.
"umaptable" is a standalone C program that can be built from
mozilla/intl/uconv/tools and the executable copied where you want.
2. fontname-properties.txt : this is the data for the MathFont Property File.
Continuing with the example of Math1, a file called math1-properties.txt
will be created. Then after hand-tuning (if necessary), the file is copied
to its final destination:
mozilla/layout/mathml/base/src/mathfontMath1.properties
3. fontname-encoding.html : the is a prettified output that shows the
resulting mappings. For the example of Math1, this is the file that is at:
http://www.mozilla.org/projects/mathml/fonts/encoding/math1-encoding.html
4. Furthermore, since new assignments can be made to the PUA during
processing, the mathfontPUA.properties file is updated with any new
assignments that may have been made.
__USAGE__
$comment = "\nBad usage: $comment\n" if $comment;
die "$comment\n$usage";
}
#
&usage("Missing arguments") if !&Getopts('hf:t:');
&usage("") if $opt_h; # help option
# The file that contains MathFont Encoding Table(s)
my($encoding_file) = $opt_f;
&usage("Missing file") unless $opt_f;
$encoding_file = "encoding\\" . $encoding_file;
# The encoding type should be:
# . "" (empty), if there is only one encoding for both TrueType and Type1
# . "truetype", to process the TrueType encoding table inside the file
# . "type1", to process the Type1 encoding table inside the file
my($encoding_type) = $opt_t;
&usage("Unexpected type") unless $encoding_type eq "" ||
$encoding_type eq "type1" ||
$encoding_type eq "truetype";
# Processing starts here
#######################################################################
# global variables -- in capitals
# $UNIDATA{$unicode} holds a whitespace-separated list of entities and
# annotated unicode points that all resolve to that $unicode point.
# %UNIDATA is declared in mathfont.pl
# $GLYPHDATA{$glyph} holds a whitespace-separated list of entities and
# annotated unicode points that all resolve to that $glyph index.
my(%GLYPHDATA);
# $MAP{$glyph} holds the ultimate resolved unicode point of the $glyph
# (could be a PUA value).
my(%MAP);
# load current assignments to the PUA
&load_PUA($PUAfile);
# parse the supplied encoding data
my($fontfamily) = &parse_mapping_table($encoding_file, $encoding_type);
# resolve all mappings
&generate_mapping_data($fontfamily);
# save the PUA to preserve any new assignments
&save_PUA($PUAfile, $newPUAfile);
# dump results
&output_stretchy_data($fontfamily, $encoding_type);
&output_mapping_data($fontfamily, $encoding_type);
&output_encoding_map($fontfamily, $encoding_type);
exit(0);
#########################################################################
# parse_mapping_table:
#
# Parse a file containing the mapping between glyph indices and
# unicode points. The file is formatted as:
# <!--cmap:FontFamilyName(:truetype|:type1)-->
# 0xNN 0xNNNN #optional trailing comment
# 0xNN 0xNNNN:0
# 0xNN 0xNNNN:1
# -0xNN
# 0xNN 0xNNNN:T, 0xABCD
# 0xNN 0xNNNN:G, 0xABCD
# 0xNN >PUA #required comment with &entity;
# ...etc
# <!--/cmap:FontFamilyName(:truetype|:type1)-->
#
# Note that there is an enclosing: <cmap> ... </cmap> with the *required*
# FontFamilyName and the optional type (exactly 'truetype' or 'type1').
#
# The first field may contain a dash '-', in which case the line is skipped.
# The second field is the glyph index.
# The third field is a comma-delimited list of its associated unicode points
# with annotations w.r.t their applicability ('T', 'L', 'M', 'B', 'R', '0'-'9').
#
# Partial glyphs can apply to different chars. The annotation for '0' is
# optional, i.e., it is assumed if no other annotation has been specified.
# The list can run over many lines provided the preceding line ends
# with a comma.
#
# If the keyword '>PUA' is present, or the unicode point is in plane 1,
# a PUA code is assigned, and is associated with the required '&entity;'
# that must be provided in the comment field.
#########################################################################
sub parse_mapping_table
{
my($file, $type) = @_;
local(*FILE);
open(FILE, $file) || die "Cannot find $file\n";
my($data) = join("", <FILE>);
close(FILE);
my($fontfamily);
$type = ':' . $type if $type;
if ($data =~ m|<!--cmap:([^>]+?)$type-->(.+?)<!--/cmap:([^>]+?)$type-->|s) {
die "ERROR *** Bad mapping: mistmatching tags $type start:$1 end:$3" unless $1 eq $3;
($fontfamily, $data) = ($1, $2);
die "ERROR *** No specified font type $1" if $fontfamily =~ /:/;
}
else {
die "ERROR *** Bad mapping: data must be enclosed in the <cmap> tag";
}
my($isContinuation) = 0;
my($line, $glyph, $comment, $oldline, $oldcomment);
my (@lines) = split("\n", $data);
foreach $line (@lines) {
# skip bogus lines
next if $line =~ m/^-/;
# remove leading and trailing whitespace
$line =~ s/^\s+//; $line =~ s/\s+$//;
# cache comments in case the keyword '>PUA' is present
$comment = ($line =~ m/#(.*)/) ? $1 : "";
$line =~ s/\s*#.*//;
# see if this is the continuation of a longer line
if ($isContinuation) {
$line = $oldline . ' ' . $line;
$comment = $oldcomment . ' ' . $comment;
$isContinuation = 0;
}
# if the line ends with a comma, the next line is a continuation
if ($line =~ m/,$/) {
$oldline = $line;
$oldcomment = $comment;
$isContinuation = 1;
next;
}
# get the mapping on the line
next unless ($line =~ m/^(0x..)\s+(.+)$/);
($glyph, $data) = ($1, $2);
# see if this a '>PUA' or plane 1 character
if (($data eq '>PUA') || ($data =~ m/^0x1..../)) {
my($entitylist) = '';
while ($comment =~ /&(.+?);/g) {
$entitylist .= ' ' . $1;
}
$entitylist =~ s/^\s//;
die "ERROR *** No entities found: $line" unless $entitylist;
$GLYPHDATA{$glyph} = $entitylist;
# continue to next line
next;
}
# skip bogus lines where uncertainties still remain
$data .= ' ';
next unless $data =~ /^0x....\s*[, ]/ || $data =~ /^0x....:[TLMBRG0-9]\s*[, ]/;
chop($data);
# convert from comma-delimited to whitespace-delimited
$data =~ s/\s*,\s*/ /g;
# add explicit 0 at size0
$data =~ s/(0x....) /$1:0 /;
$data =~ s/(0x....)$/$1:0/;
# $GLYPHDATA{$glyph} is a list of referrers to that glyph
$GLYPHDATA{$glyph} = $data;
}
# check for correctness
&verify_mapping_table();
return $fontfamily;
}
#########################################################################
# verify_mapping_table:
#
# helper to check that some common mistakes were not made when
# setting up the encoding table.
#########################################################################
sub verify_mapping_table
{
my($glyph, $entry, $tmp);
foreach $glyph (keys %GLYPHDATA) {
my(@data) = split(' ', $GLYPHDATA{$glyph});
foreach $entry (@data) {
# verify that $entry wasn't listed twice on distinct lines
foreach $tmp (keys %GLYPHDATA) {
next if $tmp eq $glyph;
next unless $GLYPHDATA{$tmp} =~ /\b$entry\b/;
die "ERROR *** Duplicate: $glyph $GLYPHDATA{$glyph} vs. $tmp $GLYPHDATA{$tmp}";
}
# verify that $entry wasn't listed twice on the same line
$tmp = $GLYPHDATA{$glyph};
$tmp =~ s/\b$entry\b//;
next unless $tmp =~ /\b$entry\b/;
die "ERROR *** Duplicate: $glyph $GLYPHDATA{$glyph}";
}
}
}
#########################################################################
# generate_mapping_data:
#
# This routine resolves the unicode points (PUA and non-PUA) of all
# elements. Upon completion, the assignments for all entities, annotated
# unicode points, and glyph indices are known.
#########################################################################
sub generate_mapping_data
{
my($font) = @_;
my($glyph);
foreach $glyph (sort keys %GLYPHDATA) {
# $GLYPHDATA{$glyph} is a list of referrers to that glyph
# see if one of the referrers is already resolved
my($entry);
my($unicode) = '';
my(@data) = split(' ', $GLYPHDATA{$glyph});
foreach $entry (@data) {
# see if this entry is the unicode associated to size0
if ($entry =~ /(0x....):0/) {
$unicode = $1;
last;
}
# see if this entry is already associated to a unicode point
$unicode = get_unicode($entry);
last if $unicode;
}
# if we found one entry that was already resolved, make
# everybody on the list resolve to that unicode point
if ($unicode) {
foreach $entry (@data) {
next if $entry =~ /0x....:0/;
if (defined $UNIDATA{$unicode}) {
$UNIDATA{$unicode} .= " $entry"
unless $UNIDATA{$unicode} =~ /\b$entry\b/;
}
else {
$UNIDATA{$unicode} = $entry;
}
}
}
else {
# make a new assignment to the PUA for this encoding point
$unicode = &assign_PUA($GLYPHDATA{$glyph});
}
# now, we know the unicode point of the glyph
die "ERROR *** Duplicate $glyph" if defined $MAP{$glyph};
$MAP{$glyph} = $unicode;
}
# check that all went well
verify_mapping_data();
}
#########################################################################
# verify_mapping_data:
#
# helper to check the validity of the resolved mapping.
#########################################################################
sub verify_mapping_data
{
my($unicode, $entry, $tmp);
foreach $unicode (keys %UNIDATA) {
my(@data) = split(' ', $UNIDATA{$unicode});
foreach $entry (@data) {
# verify that $entry wasn't assigned twice on distinct slots
foreach $tmp (keys %UNIDATA) {
next if $tmp eq $unicode;
# we don't care about different mappings outside the PUA because
# these are not kept in the mathfontPUA.properties file
next unless &is_pua($tmp) && &is_pua($unicode);
next unless $UNIDATA{$tmp} =~ /\b$entry\b/;
# if we reach here, different mappings in the PUA were found
# for the same annotated code point, something is wrong
die "ERROR *** Duplicate: $unicode $UNIDATA{$unicode} vs. $tmp $UNIDATA{$tmp}";
}
# verify that $entry wasn't listed twice on the same slot
$tmp = $UNIDATA{$unicode};
$tmp =~ s/\b$entry\b//;
next unless $tmp =~ /\b$entry\b/;
die "ERROR *** Duplicate: $unicode $UNIDATA{$unicode}";
}
}
}
sub is_pua
{
my($value) = @_;
if ($value =~ s/^0x//) {
my($numeric) = hex($value);
return 1 if $numeric >= 0xE000 && $numeric <= 0xF8FF;
}
return 0;
}
#########################################################################
# output_mapping_data:
#
# output the mapping data that goes in the ucvmath module
#########################################################################
sub output_mapping_data
{
my($font, $type) = @_;
$type = "-$type" if $type;
my($file) = "$font-ucvmath$type.txt";
$file =~ s/ //g;
$file = lc($file);
print "Saving mapping data of $font in: $file\n";
local(*FILE);
open(FILE, ">$file") || die "Cannot open $file\n";
my($glyph);
foreach $glyph (sort keys %MAP) {
print FILE "$glyph $MAP{$glyph}\n";
}
close(FILE);
}
#########################################################################
# output_stretchy_data:
#
# output the list of stretchy data in the compact format expected by
# the MathFont Property File.
#########################################################################
sub output_stretchy_data
{
my($font, $type) = @_;
$type = "-$type" if $type;
my($file) = "$font-properties$type.txt";
$file =~ s/ //g;
$file = lc($file);
print "Saving properties of $font in: $file\n";
&load_DTD($DTDfile);
my($pattern);
my(@patterns) = qw {
(\S+):[TL]
(\S+):M
(\S+):[BR]
(\S+):G
};
my($unicode, $glyph, $label);
# construct the _transpose_ of the GLYPHDATA table so that upon
# completion, $table{unicode} = list of its associated glyph
# indices with the annotations flipped on the other side
my(%table);
foreach $glyph (%GLYPHDATA) {
my(@data) = split(' ', $GLYPHDATA{$glyph});
foreach $unicode (@data) {
# the '0x' prefix is not kept here
next unless $unicode =~ m|0x(....):(.)|;
($unicode, $label) = ($1, $2);
if (defined $table{$unicode}) {
$table{$unicode} .= " $glyph:$label";
}
else {
$table{$unicode} = "$glyph:$label";
}
}
}
# now, replace the glyph indices with their resolved unicode points
my($parts, $sizes, $comment);
local(*FILE);
open(FILE, ">$file") || die "Cannot open $file\n";
foreach $unicode (sort keys %table) {
my($isMutable) = 0;
# partial glyphs
$parts = '';
foreach $pattern (@patterns) {
if ($table{$unicode} =~ m/$pattern/) {
$glyph = $1;
$parts .= &indirect_pua($MAP{$glyph});
$isMutable = 1;
}
else {
$parts .= '\uFFFD';
}
}
# glyphs of larger sizes
my($sizes) = "\\u$unicode"; # size0 is the char itself
$label = '1';
while ($table{$unicode} =~ m/(\S+):$label/) {
$glyph = $1;
$sizes .= &indirect_pua($MAP{$glyph});
++$label;
$isMutable = 1;
}
# ignore this character if it is not mutable
next unless $isMutable;
# entry for the list of glyphs
$comment = $ENTITY{"0x$unicode"};
if ($DEBUG) {
print FILE "\\u$unicode = $parts$sizes $comment\n";
}
else {
print FILE "$comment\n\\u$unicode = $parts$sizes\n";
}
}
close(FILE);
}
sub indirect_pua
{
my($unicode) = @_;
# see if this code is the PUA
my($numeric) = hex($unicode);
die "ERROR *** Forbidden mapping" if $numeric == 0xF8FF;
if ($numeric >= 0xE000 && $numeric <= 0xF8FF) {
# return the flag to indicate to lookup in the PUA
return '\uF8FF';
}
# re-use the existing unicode point
$unicode =~ s/0x/\\u/;
return $unicode;
}
#########################################################################
# output_encoding_map:
#
# output the encoding map in html format for visual comparison with the
# graphical character map.
#########################################################################
sub output_encoding_map
{
my($font, $type) = @_;
$type = "-$type" if $type;
my($shorttype) = '';
$shorttype = '-t1' if $type eq '-type1';
$shorttype = '-ttf' if $type eq '-truetype';
my($file) = "$font$shorttype-encoding.html";
$file =~ s/ //g;
$file = lc($file);
print "Saving visual encoding result of $font in: $file\n";
local(*FILE);
open(FILE, ">$file") || die "Cannot open $file\n";
# header
print FILE "<html>\n"
. "<head>\n"
. " <title>$font$type - Visual Encoding Result</title>\n"
. " <style type='text/css'>.glyph {font-family: $font} </style>\n"
. "</head>\n"
. "<body>\n"
. "<h2>$font$type - Visual Encoding Result</h2>\n\n";
# column indices
print FILE "<table border='1' cellpadding='4'>\n<tr align='center'><td> </td>";
my($i, $j);
for ($j = 0; $j <= 15; ++$j) {
print FILE sprintf("<td bgcolor='silver'>%X </td>", $j);
}
print FILE "</tr>\n";
# cmap array
for ($i = 0; $i <= 15; ++$i) {
print FILE sprintf("<tr align='center'><td>%X </td>", $i);
for ($j = 0; $j <= 15; ++$j) {
my($glyph) = sprintf("0x%X%X", $i, $j);
if (defined $GLYPHDATA{$glyph}) {
my($unicode) = $MAP{$glyph};
my($data) = $GLYPHDATA{$glyph};
$unicode =~ s|0(x....)|&#$1;|;
$data =~ s| |<br />|g;
$data =~ s|(0x....):(.)|<font color='darkblue'>$1</font>:<font color='brown'>$2</font>|g;
print FILE "<td>"
. "<font size='-1' color='#666666'>$MAP{$glyph}</font><br />"
. "<span class='glyph'>$unicode</span><br />"
. $data
. "</td>";
}
else {
print FILE '<td>&nbsp;</td>';
}
}
print FILE "</tr>\n";
}
# footer
print FILE "</table>\n\n</body>\n</html>\n";
close(FILE);
}
#########################################################################
# load_DTD:
#
# load the mathml DTD so that we can comment outputs with entities
#########################################################################
sub load_DTD
{
my($file) = @_;
local(*FILE);
open(FILE, $file) || die "Cannot open $file\n";
while (<FILE>) {
while (/<!ENTITY\s+(\S+)\s+'&#x([^>]+);'>/g) {
my($entity, $unicode) = ($1, "0x$2");
$entity = chr(hex($unicode)) if hex($unicode) <= 0xFF;
if (defined $ENTITY{$unicode}) {
$ENTITY{$unicode} .= ", $entity";
}
else {
$ENTITY{$unicode} = "# $entity";
}
}
}
close(FILE);
}

Просмотреть файл

@ -1,253 +0,0 @@
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is Mozilla MathML Project.
#
# The Initial Developer of the Original Code is
# The University Of Queensland.
# Portions created by the Initial Developer are Copyright (C) 2001
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Roger B. Sidje <rbs@maths.uq.edu.au> - Original Author
#
# Alternatively, the contents of this file may be used under the terms of
# either of the GNU General Public License Version 2 or later (the "GPL"),
# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
# Utilities to save and retrieve the PUA
# RBS - Last Modified: March 20, 2001.
# $UNIDATA{$unicode} holds a whitespace-separated list of entities and
# annotated unicode points that all resolve to that $unicode point
#######################################################################
# Initialize the starting point from where we want to make assignments
# to the PUA (0xE000 - 0xF8FF).
# Issues:
# De-facto zones owned by others:
# . Mozilla: 0xF780 - 0xF7FF for the "User Defined" font (bug 6588)
# . Apple: 0xF8A1 - 0xF8FF for Apple specific chars
# . Microsoft: 0xE000 - 0xEDE7 for CJK's EUDCs (i.e., Chinese/Japanese/Korean's
# end user defined characters)
# . Linux: 0xF000 - 0xF8FF for DEC VT100 graphics chars and console chars
# Hopefully we won't get into troubles within the <math>...</math> environment!
$UNIDATA{'PUA'} = '0xEEEE';
#########################################################################
# load_PUA:
#
# To avoid collisions, populate the PUA with code points that are already
# taken (or reserved) so that we don't pick them up again
#########################################################################
sub load_PUA
{
my($mathfontPUAproperties) = @_;
local(*FILE);
my($pua, $owner);
open(FILE, $mathfontPUAproperties) || die "Cannot open $mathfontPUAproperties\n";
while (<FILE>) {
if (m/^\\u(\S+)\s*=\s*\\u(\S+)/) {
# 1) the annotated unicode point is on the left hand side
# 2) the assignment to the PUA is on the right hand side
($owner, $pua) = ("0x$1", "0x$2");
# convert dot-to-colon for compatibility with the encoding file
$owner =~ s/\./:/;
if (defined $UNIDATA{$pua}) {
$UNIDATA{$pua} .= ' ' . $owner;
}
else {
$UNIDATA{$pua} = $owner;
}
}
elsif (m/^#>\\u(\S+)\s*=\s*([^#]*)/) {
# 1) the assignment to the PUA is on the LHS, 2) the entity list is
# on the RHS, the list can be empty (a _special case_ where it is not
# yet known if there is an entity for that PUA code point)
($pua, $owner) = ("0x$1", $2);
$owner =~ s/\s*,\s*/ /g; # convert to whitespace-separated
$owner =~ s/\s+$//;
# don't bother with empty owner
next unless $owner;
if (defined $UNIDATA{$pua}) {
$UNIDATA{$pua} .= ' ' . $owner
}
else {
$UNIDATA{$pua} = $owner;
}
}
}
close(FILE);
}
#########################################################################
# save_PUA:
#
# When we are done with the PUA, save it to preserve our changes
#########################################################################
sub save_PUA
{
my($old_mathfontPUAproperties, $new_mathfontPUAproperties) = @_;
# first, load the PUA again because we want to preserve the same
# ordering, comments, etc, that are there -- like in a context-diff...
local(*FILE);
open(FILE, $old_mathfontPUAproperties) || die "Cannot open $old_mathfontPUAproperties\n";
my(@lines) = <FILE>;
close(FILE);
my(%saved);
my($line, $pua, $owner);
open(FILE, ">$new_mathfontPUAproperties") || die "Cannot open $new_mathfontPUAproperties\n";
foreach $line (@lines) {
$line =~ s/\cM\n/\n/; # dos2unix end of line
# update section 1
if ($line =~ m/^\\u(\S+)\s*=\s*\\u(\S+)/) {
# mark this data as saved
$saved{"\\u$1"} = "\\u$2";
}
elsif ($line =~ m/^#>EndSection1/) {
# output the new assignments that have been made
foreach $pua (sort keys %UNIDATA) {
# sanity check: the only foreign key should be the special 'PUA'
next if $pua eq 'PUA';
# assignments outside the PUA are not saved
my($numeric) = hex($pua);
next unless ($numeric >= 0xE000 && $numeric <= 0xF8FF);
$tmp = $UNIDATA{$pua};
die("something is wrong somewhere: $pua") unless $pua =~ m/^0x(....)$/;
$pua = "\\u$1";
foreach $owner (split(' ', $tmp)) {
# skip entries that are intended for section 2
next unless $owner =~ m/^0x(....:.)$/;
$owner = "\\u$1";
# convert colon-to-dot for compatibility with the property file
$owner =~ s/:/\./;
# skip entries that are already saved
next if defined $saved{$owner};
# mark this data as saved
$saved{$owner} = $pua;
print FILE "$owner = $pua\n";
}
}
}
# update section 2
elsif ($line =~ m/^#>\\u(\S+)\s*=\s*([^#]*)(.*)/) {
($pua, $owner, $tmp) = ($1, $2, $3);
# the owner list may have expanded, update and keep the comment
$owner = $UNIDATA{"0x$pua"};
$tmp = ' ' . $tmp if $tmp;
# remove references handled in section1, there could be a mix of owners
# no check for empty owner to preserve what was already saved
$owner =~ s/\s*0x....:.//g;
$owner =~ s/^\s+//; $owner =~ s/\s+$//;
$owner =~ s/ /, /g; # saved as comma-separated
$line = "#>\\u$pua = $owner$tmp\n";
# mark this data as saved
$saved{"\\u$pua"} = $owner;
}
elsif ($line =~ m/^#>EndSection2/) {
# output the new assignments that have been made
foreach $pua (keys %UNIDATA) {
# sanity check: the only foreign key should be the special 'PUA'
next if $pua eq 'PUA';
($owner, $tmp) = ($1, $2) if $UNIDATA{$pua} =~ /([^#]+)(.*)/;
die("something is wrong somewhere: $pua") unless $pua =~ m/^0x(....)$/;
$pua = "\\u$1";
$owner =~ s/\s+$//;
$tmp = ' ' . $tmp if $tmp;
# skip entries that were saved above
next if defined $saved{$pua};
# remove references handled in section1, there could be a mix of owners
my($count) = $owner =~ s/\s*0x....:.//g;
# if ($count) {
$owner =~ s/^\s+//;
next unless $owner;
# }
die("something is wrong somewhere: $owner") unless $owner =~ m/^[A-Za-z]/;
# mark this data as saved
$owner =~ s/ /, /g; # saved as comma-separated
$saved{$pua} = $owner;
print FILE "#>$pua = $owner$tmp\n";
}
}
print FILE $line;
}
close(FILE);
}
#########################################################################
# assign_PUA:
#
# all the elements on the given whitespace-separated list are assigned to
# the same slot in the PUA. The list can contain a mix of entities and
# annotated Unicode points.
#########################################################################
sub assign_PUA
{
my($owners, $comment) = @_;
# verify that nobody is already associated to a unicode point
foreach $entry (split(' ', $owners)) {
foreach (values %UNIDATA) {
die "ERROR *** Redefinition of $entry" if /\b$entry\b/;
}
}
# get a new slot in the PUA
my($pua) = $UNIDATA{'PUA'}; # this holds the current slot in the PUA
my($numeric) = hex($pua);
while (defined $UNIDATA{$pua}) {
$pua = sprintf("0x%04X", ++$numeric);
}
die "ERROR *** PUA is fulled!!!" unless $numeric <= 0xF8FF;
$UNIDATA{'PUA'} = $pua; # cache current slot in the PUA
# all the owners given on the list should resolve to the same code point
if (defined $UNIDATA{$pua}) {
$UNIDATA{$pua} .= $owners . ' ' . $UNIDATA{$pua} . $comment;
}
else {
$UNIDATA{$pua} = $owners . $comment;
}
return $pua;
}
# lookup the unicode of an entry
sub get_unicode
{
my($entry) = @_;
my($unicode);
foreach $unicode (keys %UNIDATA) {
return $unicode if $UNIDATA{$unicode} =~ /\b$entry\b/;
}
return '';
}
1;

Просмотреть файл

@ -292,10 +292,6 @@ COMPONENT_LIBS += \
$(NULL)
endif
ifdef MOZ_MATHML
COMPONENT_LIBS += ucvmath
endif
ifdef MOZ_ENABLE_GTK2
COMPONENT_LIBS += widget_gtk2
ifdef MOZ_PREF_EXTENSIONS

Просмотреть файл

@ -67,12 +67,6 @@
#define UNIVERSALCHARDET_MODULE
#endif
#ifdef MOZ_MATHML
#define MATHML_MODULES MODULE(nsUCvMathModule)
#else
#define MATHML_MODULES
#endif
#define GFX_MODULES MODULE(nsGfxModule)
#ifdef XP_WIN
@ -255,7 +249,6 @@
#define XUL_MODULES \
MODULE(xpconnect) \
MATHML_MODULES \
MODULE(nsUConvModule) \
MODULE(nsI18nModule) \
MODULE(nsChardetModule) \

Просмотреть файл

@ -1214,7 +1214,6 @@ if [ "$MOZ_MATHML" ]; then
content/mathml/Makefile
content/mathml/content/Makefile
content/mathml/content/src/Makefile
intl/uconv/ucvmath/Makefile
layout/mathml/Makefile
"
fi