gecko/gfx/thebes/gfxUnicodeScriptCodes.h
Jonathan Kew 6f8dbeb979 bug 695857 - update harfbuzz code and adapt gfx/thebes for revised harfbuzz API. r=jdaggett
harfbuzz library code from upstream harfbuzz-ng commit f51e167436a51b890ffe3f7f7920498fa287acd9;
replaced HB_SCRIPT_* with MOZ_SCRIPT_* codes in gfx;
adapted for changes to HB function signatures.
2012-02-14 08:03:01 +00:00

190 lines
5.7 KiB
C

/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* ***** 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 Foundation code.
*
* The Initial Developer of the Original Code is Mozilla Foundation.
* Portions created by the Initial Developer are Copyright (C) 2009-2010
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Jonathan Kew <jfkthame@gmail.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either 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.
*
* Derived from the Unicode Character Database by genUnicodeScriptData.pl
*
* For Unicode terms of use, see http://www.unicode.org/terms_of_use.html
*
* ***** END LICENSE BLOCK ***** */
/*
* Created on Mon Feb 13 09:25:50 2012 from UCD data files with version info:
*
# Date: 2012-01-26, 22:03:00 GMT [KW]
#
# Unicode Character Database
# Copyright (c) 1991-2012 Unicode, Inc.
# For terms of use, see http://www.unicode.org/terms_of_use.html
#
# For documentation, see NamesList.html,
# UAX #38, "Unicode Han Database (Unihan)," and
# UAX #44, "Unicode Character Database."
#
This directory contains final data files
for the Unicode Character Database (UCD) for Unicode 6.1.0.
# Scripts-6.1.0.txt
# Date: 2011-11-27, 05:10:50 GMT [MD]
# EastAsianWidth-6.1.0.txt
# Date: 2011-09-19, 18:46:00 GMT [KW]
# BidiMirroring-6.1.0.txt
# Date: 2011-12-20, 19:31:00 GMT [KW, LI]
# HangulSyllableType-6.1.0.txt
# Date: 2011-08-25, 00:02:18 GMT [MD]
*
* * * * * This file contains MACHINE-GENERATED DATA, do not edit! * * * * *
*/
#ifndef GFX_UNICODE_SCRIPT_CODES
#define GFX_UNICODE_SCRIPT_CODES
enum {
MOZ_SCRIPT_COMMON = 0,
MOZ_SCRIPT_INHERITED = 1,
MOZ_SCRIPT_ARABIC = 2,
MOZ_SCRIPT_ARMENIAN = 3,
MOZ_SCRIPT_BENGALI = 4,
MOZ_SCRIPT_BOPOMOFO = 5,
MOZ_SCRIPT_CHEROKEE = 6,
MOZ_SCRIPT_COPTIC = 7,
MOZ_SCRIPT_CYRILLIC = 8,
MOZ_SCRIPT_DESERET = 9,
MOZ_SCRIPT_DEVANAGARI = 10,
MOZ_SCRIPT_ETHIOPIC = 11,
MOZ_SCRIPT_GEORGIAN = 12,
MOZ_SCRIPT_GOTHIC = 13,
MOZ_SCRIPT_GREEK = 14,
MOZ_SCRIPT_GUJARATI = 15,
MOZ_SCRIPT_GURMUKHI = 16,
MOZ_SCRIPT_HAN = 17,
MOZ_SCRIPT_HANGUL = 18,
MOZ_SCRIPT_HEBREW = 19,
MOZ_SCRIPT_HIRAGANA = 20,
MOZ_SCRIPT_KANNADA = 21,
MOZ_SCRIPT_KATAKANA = 22,
MOZ_SCRIPT_KHMER = 23,
MOZ_SCRIPT_LAO = 24,
MOZ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EPCHA = 68,
MOZ_SCRIPT_REJANG = 69,
MOZ_SCRIPT_SUNDANESE = 70,
MOZ_SCRIPT_SAURASHTRA = 71,
MOZ_SCRIPT_CHAM = 72,
MOZ_SCRIPT_OL_CHIKI = 73,
MOZ_SCRIPT_VAI = 74,
MOZ_SCRIPT_CARIAN = 75,
MOZ_SCRIPT_LYCIAN = 76,
MOZ_SCRIPT_LYDIAN = 77,
MOZ_SCRIPT_AVESTAN = 78,
MOZ_SCRIPT_BAMUM = 79,
MOZ_SCRIPT_EGYPTIAN_HIEROGLYPHS = 80,
MOZ_SCRIPT_IMPERIAL_ARAMAIC = 81,
MOZ_SCRIPT_INSCRIPTIONAL_PAHLAVI = 82,
MOZ_SCRIPT_INSCRIPTIONAL_PARTHIAN = 83,
MOZ_SCRIPT_JAVANESE = 84,
MOZ_SCRIPT_KAITHI = 85,
MOZ_SCRIPT_LISU = 86,
MOZ_SCRIPT_MEETEI_MAYEK = 87,
MOZ_SCRIPT_OLD_SOUTH_ARABIAN = 88,
MOZ_SCRIPT_OLD_TURKIC = 89,
MOZ_SCRIPT_SAMARITAN = 90,
MOZ_SCRIPT_TAI_THAM = 91,
MOZ_SCRIPT_TAI_VIET = 92,
MOZ_SCRIPT_BATAK = 93,
MOZ_SCRIPT_BRAHMI = 94,
MOZ_SCRIPT_MANDAIC = 95,
MOZ_SCRIPT_CHAKMA = 96,
MOZ_SCRIPT_MEROITIC_CURSIVE = 97,
MOZ_SCRIPT_MEROITIC_HIEROGLYPHS = 98,
MOZ_SCRIPT_MIAO = 99,
MOZ_SCRIPT_SHARADA = 100,
MOZ_SCRIPT_SORA_SOMPENG = 101,
MOZ_SCRIPT_TAKRI = 102,
MOZ_SCRIPT_INVALID = -1
};
#endif
/*
* * * * * This file contains MACHINE-GENERATED DATA, do not edit! * * * * *
*/