2000-07-11 10:12:20 +04:00
|
|
|
/***************************************************************************/
|
|
|
|
/* */
|
2000-10-17 07:38:43 +04:00
|
|
|
/* ttnameid.h */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* */
|
2000-07-14 10:16:47 +04:00
|
|
|
/* TrueType name ID definitions (specification only). */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* */
|
2015-01-17 22:41:43 +03:00
|
|
|
/* Copyright 1996-2015 by */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
|
|
|
/* */
|
|
|
|
/* This file is part of the FreeType project, and may only be used, */
|
|
|
|
/* modified, and distributed under the terms of the FreeType project */
|
|
|
|
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
|
|
|
|
/* this file you indicate that you have read the license and */
|
|
|
|
/* understand and accept it fully. */
|
|
|
|
/* */
|
|
|
|
/***************************************************************************/
|
|
|
|
|
1999-12-17 02:11:37 +03:00
|
|
|
|
2000-12-01 02:12:33 +03:00
|
|
|
#ifndef __TTNAMEID_H__
|
|
|
|
#define __TTNAMEID_H__
|
1999-12-17 02:11:37 +03:00
|
|
|
|
|
|
|
|
2000-12-09 03:45:38 +03:00
|
|
|
#include <ft2build.h>
|
|
|
|
|
|
|
|
|
|
|
|
FT_BEGIN_HEADER
|
2000-08-01 17:17:04 +04:00
|
|
|
|
|
|
|
|
2008-06-02 11:24:36 +04:00
|
|
|
/*************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* <Section> */
|
|
|
|
/* truetype_tables */
|
|
|
|
/* */
|
|
|
|
|
|
|
|
|
2000-07-11 10:12:20 +04:00
|
|
|
/*************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* Possible values for the `platform' identifier code in the name */
|
|
|
|
/* records of the TTF `name' table. */
|
|
|
|
/* */
|
2002-09-05 19:10:54 +04:00
|
|
|
/*************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
*
|
|
|
|
* @enum:
|
|
|
|
* TT_PLATFORM_XXX
|
|
|
|
*
|
|
|
|
* @description:
|
|
|
|
* A list of valid values for the `platform_id' identifier code in
|
2003-07-25 09:57:21 +04:00
|
|
|
* @FT_CharMapRec and @FT_SfntName structures.
|
2002-09-05 19:10:54 +04:00
|
|
|
*
|
|
|
|
* @values:
|
|
|
|
* TT_PLATFORM_APPLE_UNICODE ::
|
|
|
|
* Used by Apple to indicate a Unicode character map and/or name entry.
|
|
|
|
* See @TT_APPLE_ID_XXX for corresponding `encoding_id' values. Note
|
|
|
|
* that name entries in this format are coded as big-endian UCS-2
|
|
|
|
* character codes _only_.
|
|
|
|
*
|
|
|
|
* TT_PLATFORM_MACINTOSH ::
|
|
|
|
* Used by Apple to indicate a MacOS-specific charmap and/or name entry.
|
|
|
|
* See @TT_MAC_ID_XXX for corresponding `encoding_id' values. Note that
|
|
|
|
* most TrueType fonts contain an Apple roman charmap to be usable on
|
|
|
|
* MacOS systems (even if they contain a Microsoft charmap as well).
|
|
|
|
*
|
|
|
|
* TT_PLATFORM_ISO ::
|
2010-07-09 07:25:04 +04:00
|
|
|
* This value was used to specify ISO/IEC 10646 charmaps. It is however
|
2002-09-05 19:10:54 +04:00
|
|
|
* now deprecated. See @TT_ISO_ID_XXX for a list of corresponding
|
|
|
|
* `encoding_id' values.
|
|
|
|
*
|
|
|
|
* TT_PLATFORM_MICROSOFT ::
|
|
|
|
* Used by Microsoft to indicate Windows-specific charmaps. See
|
|
|
|
* @TT_MS_ID_XXX for a list of corresponding `encoding_id' values.
|
|
|
|
* Note that most fonts contain a Unicode charmap using
|
2006-05-12 12:00:13 +04:00
|
|
|
* (TT_PLATFORM_MICROSOFT, @TT_MS_ID_UNICODE_CS).
|
2002-09-05 19:10:54 +04:00
|
|
|
*
|
|
|
|
* TT_PLATFORM_CUSTOM ::
|
|
|
|
* Used to indicate application-specific charmaps.
|
|
|
|
*
|
|
|
|
* TT_PLATFORM_ADOBE ::
|
|
|
|
* This value isn't part of any font format specification, but is used
|
|
|
|
* by FreeType to report Adobe-specific charmaps in an @FT_CharMapRec
|
|
|
|
* structure. See @TT_ADOBE_ID_XXX.
|
|
|
|
*/
|
* massive re-formatting changes to many, many source files. I don't
want to list them all here. The operations performed were all logical
transformations of the sources:
- trying to convert all enums and constants to CAPITALIZED_STYLE, with
#define definitions like
#define my_old_constants MY_NEW_CONSTANT
- big, big update of the documentation comments
* include/freetype/freetype.h, src/base/ftobjs.c, src/smooth/ftsmooth.c,
include/freetype/ftimage.h: adding support for LCD-optimized rendering
though the new constants/enums:
FT_RENDER_MODE_LCD, FT_RENDER_MODE_LCD_V
FT_PIXEL_MODE_LCD, FT_PIXEL_MODE_LCD_V
this is still work in progress, don't expect everything to work correctly
though most of the features have been implemented.
* adding new FT_LOAD_XXX flags, used to specify both hinting and rendering
targets:
FT_LOAD_TARGET_NORMAL :: anti-aliased hinting & rendering
FT_LOAD_TARGET_MONO :: monochrome bitmaps
FT_LOAD_TARGET_LCD :: horizontal RGB/BGR decimated hinting & rendering
FT_LOAD_TARGET_LCD_V :: vertical RGB/BGR decimated hinting & rendering
note that FT_LOAD_TARGET_NORMAL is 0, which means that the default
behaviour of the font engine is _unchanged_.
2002-08-28 00:20:29 +04:00
|
|
|
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_PLATFORM_APPLE_UNICODE 0
|
|
|
|
#define TT_PLATFORM_MACINTOSH 1
|
|
|
|
#define TT_PLATFORM_ISO 2 /* deprecated */
|
|
|
|
#define TT_PLATFORM_MICROSOFT 3
|
Updating to OpenType 1.3.
* include/freetype/internal/tttypes.h (TT_CMap0, TT_CMap2, TT_CMap4,
TT_CMap6): Adding field `language'.
(TT_CMapTable): Removing field `language'.
Type of `length' field changed to FT_ULong.
Adding fields for cmaps format 8, 10, and 12.
(TT_CMapGroup): New auxiliary structure.
(TT_CMap8_12, TT_CMap10): New structures.
* include/freetype/tttables.h (TT_HoriHeader, TT_VertHeader):
Removed last element of `Reserved' array.
* include/freetype/ttnameid.h (TT_PLATFORM_CUSTOM, TT_MS_ID_UCS_4,
TT_NAME_ID_CID_FINDFONT_NAME): New macros.
* src/sfnt/ttcmap.c (TT_CharMap_Load): Updated loading of `language'
field to the new structures.
Fixed freeing of arrays in case of unsuccessful loads.
Added support for loading format 8, 10, and 12 cmaps.
(TT_CharMap_Free): Added support for freeing format 8, 10, and 12
cmaps.
(code_to_index4): Small improvement.
(code_to_index6): Ditto.
(code_to_index8_12, code_to_index10): New functions.
* src/sfnt/ttload.c (TT_Load_Metrics_Header): Updated to new
structure.
(TT_Load_CMap): Ditto.
* src/sfnt/sfobjs.c (tt_encodings): Add MS UCS4 table (before MS
Unicode).
* src/type1/t1driver.c (t1_get_name_index): Fix compiler warning.
2001-08-13 15:44:29 +04:00
|
|
|
#define TT_PLATFORM_CUSTOM 4
|
* massive re-formatting changes to many, many source files. I don't
want to list them all here. The operations performed were all logical
transformations of the sources:
- trying to convert all enums and constants to CAPITALIZED_STYLE, with
#define definitions like
#define my_old_constants MY_NEW_CONSTANT
- big, big update of the documentation comments
* include/freetype/freetype.h, src/base/ftobjs.c, src/smooth/ftsmooth.c,
include/freetype/ftimage.h: adding support for LCD-optimized rendering
though the new constants/enums:
FT_RENDER_MODE_LCD, FT_RENDER_MODE_LCD_V
FT_PIXEL_MODE_LCD, FT_PIXEL_MODE_LCD_V
this is still work in progress, don't expect everything to work correctly
though most of the features have been implemented.
* adding new FT_LOAD_XXX flags, used to specify both hinting and rendering
targets:
FT_LOAD_TARGET_NORMAL :: anti-aliased hinting & rendering
FT_LOAD_TARGET_MONO :: monochrome bitmaps
FT_LOAD_TARGET_LCD :: horizontal RGB/BGR decimated hinting & rendering
FT_LOAD_TARGET_LCD_V :: vertical RGB/BGR decimated hinting & rendering
note that FT_LOAD_TARGET_NORMAL is 0, which means that the default
behaviour of the font engine is _unchanged_.
2002-08-28 00:20:29 +04:00
|
|
|
#define TT_PLATFORM_ADOBE 7 /* artificial */
|
|
|
|
|
|
|
|
|
2002-09-05 19:10:54 +04:00
|
|
|
/***********************************************************************
|
|
|
|
*
|
|
|
|
* @enum:
|
|
|
|
* TT_APPLE_ID_XXX
|
|
|
|
*
|
|
|
|
* @description:
|
|
|
|
* A list of valid values for the `encoding_id' for
|
|
|
|
* @TT_PLATFORM_APPLE_UNICODE charmaps and name entries.
|
|
|
|
*
|
|
|
|
* @values:
|
|
|
|
* TT_APPLE_ID_DEFAULT ::
|
|
|
|
* Unicode version 1.0.
|
2006-05-12 12:00:13 +04:00
|
|
|
*
|
2002-09-05 19:10:54 +04:00
|
|
|
* TT_APPLE_ID_UNICODE_1_1 ::
|
|
|
|
* Unicode 1.1; specifies Hangul characters starting at U+34xx.
|
2006-05-12 12:00:13 +04:00
|
|
|
*
|
2002-09-05 19:10:54 +04:00
|
|
|
* TT_APPLE_ID_ISO_10646 ::
|
2006-05-12 12:00:13 +04:00
|
|
|
* Deprecated (identical to preceding).
|
|
|
|
*
|
2002-09-05 19:10:54 +04:00
|
|
|
* TT_APPLE_ID_UNICODE_2_0 ::
|
2006-05-12 12:00:13 +04:00
|
|
|
* Unicode 2.0 and beyond (UTF-16 BMP only).
|
|
|
|
*
|
2002-09-05 19:10:54 +04:00
|
|
|
* TT_APPLE_ID_UNICODE_32 ::
|
2006-05-12 12:00:13 +04:00
|
|
|
* Unicode 3.1 and beyond, using UTF-32.
|
Add support for cmap type 14.
* devel/ftoption.h, include/freetype/config/ftoption.h
(TT_CONFIG_CMAP_FORMAT_14): New macro.
* include/freetype/internal/ftobjs.h (FT_CMap_CharVarIndexFunc,
FT_CMap_CharVarIsDefaultFunc, FT_CMap_VariantListFunc,
FT_CMap_CharVariantListFunc, FT_CMap_VariantCharListFunc): New
support function prototypes.
(FT_CMap_ClassRec): Add them.
Update all users.
* include/freetype/ttnameid.h (TT_APPLE_ID_VARIANT_SELECTOR): New
macro.
* include/freetype/freetype.h (FT_Get_Char_Variant_Index,
FT_Get_Char_Variant_IsDefault, FT_Get_Variant_Selectors,
FT_Get_Variants_Of_Char, FT_Get_Chars_Of_Variant): New API
functions.
* src/base/ftobjs.c (find_variant_selector_charmap): New auxiliary
function.
(FT_Set_Charmap): Disallow cmaps of type 14.
(FT_Get_Char_Variant_Index, FT_Get_Char_Variant_IsDefault,
FT_Get_Variant_Selectors, FT_Get_Variants_Of_Char,
FT_Get_Chars_Of_Variant): New API functions.
* src/sfnt/ttcmap.c (TT_PEEK_UINT24, TT_NEXT_UINT24): New macros.
(TT_CMap14Rec, tt_cmap14_init, tt_cmap14_validate,
tt_cmap14_char_index, tt_cmap14_char_next, tt_cmap14_get_info,
tt_cmap14_char_map_def_binary, tt_cmap14_char_map_nondef_binary,
tt_cmap14_find_variant, tt_cmap14_char_var_index,
tt_cmap14_char_var_isdefault, tt_cmap14_variants,
tt_cmap14_char_variants, tt_cmap14_def_char_count,
tt_cmap14_get_def_chars, tt_cmap14_get_nondef_chars,
tt_cmap14_variant_chars, tt_cmap14_class_rec): New functions and
structures for cmap 14 support.
(tt_cmap_classes): Register tt_cmap14_class_rec.
(tt_face_build_cmaps): One more error message.
* docs/CHANGES: Mention cmap 14 support.
2007-10-15 21:21:32 +04:00
|
|
|
*
|
|
|
|
* TT_APPLE_ID_VARIANT_SELECTOR ::
|
|
|
|
* From Adobe, not Apple. Not a normal cmap. Specifies variations
|
|
|
|
* on a real cmap.
|
2002-09-05 19:10:54 +04:00
|
|
|
*/
|
|
|
|
|
Add support for cmap type 14.
* devel/ftoption.h, include/freetype/config/ftoption.h
(TT_CONFIG_CMAP_FORMAT_14): New macro.
* include/freetype/internal/ftobjs.h (FT_CMap_CharVarIndexFunc,
FT_CMap_CharVarIsDefaultFunc, FT_CMap_VariantListFunc,
FT_CMap_CharVariantListFunc, FT_CMap_VariantCharListFunc): New
support function prototypes.
(FT_CMap_ClassRec): Add them.
Update all users.
* include/freetype/ttnameid.h (TT_APPLE_ID_VARIANT_SELECTOR): New
macro.
* include/freetype/freetype.h (FT_Get_Char_Variant_Index,
FT_Get_Char_Variant_IsDefault, FT_Get_Variant_Selectors,
FT_Get_Variants_Of_Char, FT_Get_Chars_Of_Variant): New API
functions.
* src/base/ftobjs.c (find_variant_selector_charmap): New auxiliary
function.
(FT_Set_Charmap): Disallow cmaps of type 14.
(FT_Get_Char_Variant_Index, FT_Get_Char_Variant_IsDefault,
FT_Get_Variant_Selectors, FT_Get_Variants_Of_Char,
FT_Get_Chars_Of_Variant): New API functions.
* src/sfnt/ttcmap.c (TT_PEEK_UINT24, TT_NEXT_UINT24): New macros.
(TT_CMap14Rec, tt_cmap14_init, tt_cmap14_validate,
tt_cmap14_char_index, tt_cmap14_char_next, tt_cmap14_get_info,
tt_cmap14_char_map_def_binary, tt_cmap14_char_map_nondef_binary,
tt_cmap14_find_variant, tt_cmap14_char_var_index,
tt_cmap14_char_var_isdefault, tt_cmap14_variants,
tt_cmap14_char_variants, tt_cmap14_def_char_count,
tt_cmap14_get_def_chars, tt_cmap14_get_nondef_chars,
tt_cmap14_variant_chars, tt_cmap14_class_rec): New functions and
structures for cmap 14 support.
(tt_cmap_classes): Register tt_cmap14_class_rec.
(tt_face_build_cmaps): One more error message.
* docs/CHANGES: Mention cmap 14 support.
2007-10-15 21:21:32 +04:00
|
|
|
#define TT_APPLE_ID_DEFAULT 0 /* Unicode 1.0 */
|
|
|
|
#define TT_APPLE_ID_UNICODE_1_1 1 /* specify Hangul at U+34xx */
|
|
|
|
#define TT_APPLE_ID_ISO_10646 2 /* deprecated */
|
|
|
|
#define TT_APPLE_ID_UNICODE_2_0 3 /* or later */
|
|
|
|
#define TT_APPLE_ID_UNICODE_32 4 /* 2.0 or later, full repertoire */
|
|
|
|
#define TT_APPLE_ID_VARIANT_SELECTOR 5 /* variation selector data */
|
* massive re-formatting changes to many, many source files. I don't
want to list them all here. The operations performed were all logical
transformations of the sources:
- trying to convert all enums and constants to CAPITALIZED_STYLE, with
#define definitions like
#define my_old_constants MY_NEW_CONSTANT
- big, big update of the documentation comments
* include/freetype/freetype.h, src/base/ftobjs.c, src/smooth/ftsmooth.c,
include/freetype/ftimage.h: adding support for LCD-optimized rendering
though the new constants/enums:
FT_RENDER_MODE_LCD, FT_RENDER_MODE_LCD_V
FT_PIXEL_MODE_LCD, FT_PIXEL_MODE_LCD_V
this is still work in progress, don't expect everything to work correctly
though most of the features have been implemented.
* adding new FT_LOAD_XXX flags, used to specify both hinting and rendering
targets:
FT_LOAD_TARGET_NORMAL :: anti-aliased hinting & rendering
FT_LOAD_TARGET_MONO :: monochrome bitmaps
FT_LOAD_TARGET_LCD :: horizontal RGB/BGR decimated hinting & rendering
FT_LOAD_TARGET_LCD_V :: vertical RGB/BGR decimated hinting & rendering
note that FT_LOAD_TARGET_NORMAL is 0, which means that the default
behaviour of the font engine is _unchanged_.
2002-08-28 00:20:29 +04:00
|
|
|
|
|
|
|
|
2002-09-05 19:10:54 +04:00
|
|
|
/***********************************************************************
|
|
|
|
*
|
|
|
|
* @enum:
|
|
|
|
* TT_MAC_ID_XXX
|
|
|
|
*
|
|
|
|
* @description:
|
|
|
|
* A list of valid values for the `encoding_id' for
|
|
|
|
* @TT_PLATFORM_MACINTOSH charmaps and name entries.
|
|
|
|
*
|
|
|
|
* @values:
|
|
|
|
* TT_MAC_ID_ROMAN ::
|
|
|
|
* TT_MAC_ID_JAPANESE ::
|
|
|
|
* TT_MAC_ID_TRADITIONAL_CHINESE ::
|
|
|
|
* TT_MAC_ID_KOREAN ::
|
|
|
|
* TT_MAC_ID_ARABIC ::
|
|
|
|
* TT_MAC_ID_HEBREW ::
|
|
|
|
* TT_MAC_ID_GREEK ::
|
|
|
|
* TT_MAC_ID_RUSSIAN ::
|
|
|
|
* TT_MAC_ID_RSYMBOL ::
|
|
|
|
* TT_MAC_ID_DEVANAGARI ::
|
|
|
|
* TT_MAC_ID_GURMUKHI ::
|
|
|
|
* TT_MAC_ID_GUJARATI ::
|
|
|
|
* TT_MAC_ID_ORIYA ::
|
|
|
|
* TT_MAC_ID_BENGALI ::
|
|
|
|
* TT_MAC_ID_TAMIL ::
|
|
|
|
* TT_MAC_ID_TELUGU ::
|
|
|
|
* TT_MAC_ID_KANNADA ::
|
|
|
|
* TT_MAC_ID_MALAYALAM ::
|
|
|
|
* TT_MAC_ID_SINHALESE ::
|
|
|
|
* TT_MAC_ID_BURMESE ::
|
|
|
|
* TT_MAC_ID_KHMER ::
|
|
|
|
* TT_MAC_ID_THAI ::
|
|
|
|
* TT_MAC_ID_LAOTIAN ::
|
|
|
|
* TT_MAC_ID_GEORGIAN ::
|
|
|
|
* TT_MAC_ID_ARMENIAN ::
|
|
|
|
* TT_MAC_ID_MALDIVIAN ::
|
|
|
|
* TT_MAC_ID_SIMPLIFIED_CHINESE ::
|
|
|
|
* TT_MAC_ID_TIBETAN ::
|
|
|
|
* TT_MAC_ID_MONGOLIAN ::
|
|
|
|
* TT_MAC_ID_GEEZ ::
|
|
|
|
* TT_MAC_ID_SLAVIC ::
|
|
|
|
* TT_MAC_ID_VIETNAMESE ::
|
|
|
|
* TT_MAC_ID_SINDHI ::
|
|
|
|
* TT_MAC_ID_UNINTERP ::
|
|
|
|
*/
|
|
|
|
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_MAC_ID_ROMAN 0
|
|
|
|
#define TT_MAC_ID_JAPANESE 1
|
|
|
|
#define TT_MAC_ID_TRADITIONAL_CHINESE 2
|
|
|
|
#define TT_MAC_ID_KOREAN 3
|
|
|
|
#define TT_MAC_ID_ARABIC 4
|
|
|
|
#define TT_MAC_ID_HEBREW 5
|
|
|
|
#define TT_MAC_ID_GREEK 6
|
|
|
|
#define TT_MAC_ID_RUSSIAN 7
|
|
|
|
#define TT_MAC_ID_RSYMBOL 8
|
|
|
|
#define TT_MAC_ID_DEVANAGARI 9
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MAC_ID_GURMUKHI 10
|
|
|
|
#define TT_MAC_ID_GUJARATI 11
|
|
|
|
#define TT_MAC_ID_ORIYA 12
|
|
|
|
#define TT_MAC_ID_BENGALI 13
|
|
|
|
#define TT_MAC_ID_TAMIL 14
|
|
|
|
#define TT_MAC_ID_TELUGU 15
|
|
|
|
#define TT_MAC_ID_KANNADA 16
|
|
|
|
#define TT_MAC_ID_MALAYALAM 17
|
|
|
|
#define TT_MAC_ID_SINHALESE 18
|
|
|
|
#define TT_MAC_ID_BURMESE 19
|
|
|
|
#define TT_MAC_ID_KHMER 20
|
|
|
|
#define TT_MAC_ID_THAI 21
|
|
|
|
#define TT_MAC_ID_LAOTIAN 22
|
|
|
|
#define TT_MAC_ID_GEORGIAN 23
|
|
|
|
#define TT_MAC_ID_ARMENIAN 24
|
|
|
|
#define TT_MAC_ID_MALDIVIAN 25
|
|
|
|
#define TT_MAC_ID_SIMPLIFIED_CHINESE 25
|
|
|
|
#define TT_MAC_ID_TIBETAN 26
|
|
|
|
#define TT_MAC_ID_MONGOLIAN 27
|
|
|
|
#define TT_MAC_ID_GEEZ 28
|
|
|
|
#define TT_MAC_ID_SLAVIC 29
|
|
|
|
#define TT_MAC_ID_VIETNAMESE 30
|
|
|
|
#define TT_MAC_ID_SINDHI 31
|
|
|
|
#define TT_MAC_ID_UNINTERP 32
|
|
|
|
|
|
|
|
|
2002-09-05 19:10:54 +04:00
|
|
|
/***********************************************************************
|
|
|
|
*
|
|
|
|
* @enum:
|
|
|
|
* TT_ISO_ID_XXX
|
|
|
|
*
|
|
|
|
* @description:
|
|
|
|
* A list of valid values for the `encoding_id' for
|
|
|
|
* @TT_PLATFORM_ISO charmaps and name entries.
|
|
|
|
*
|
|
|
|
* Their use is now deprecated.
|
|
|
|
*
|
|
|
|
* @values:
|
|
|
|
* TT_ISO_ID_7BIT_ASCII ::
|
|
|
|
* ASCII.
|
|
|
|
* TT_ISO_ID_10646 ::
|
|
|
|
* ISO/10646.
|
|
|
|
* TT_ISO_ID_8859_1 ::
|
|
|
|
* Also known as Latin-1.
|
|
|
|
*/
|
|
|
|
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_ISO_ID_7BIT_ASCII 0
|
|
|
|
#define TT_ISO_ID_10646 1
|
|
|
|
#define TT_ISO_ID_8859_1 2
|
|
|
|
|
|
|
|
|
2002-09-05 19:10:54 +04:00
|
|
|
/***********************************************************************
|
|
|
|
*
|
|
|
|
* @enum:
|
|
|
|
* TT_MS_ID_XXX
|
|
|
|
*
|
|
|
|
* @description:
|
|
|
|
* A list of valid values for the `encoding_id' for
|
|
|
|
* @TT_PLATFORM_MICROSOFT charmaps and name entries.
|
|
|
|
*
|
|
|
|
* @values:
|
2002-09-18 02:57:29 +04:00
|
|
|
* TT_MS_ID_SYMBOL_CS ::
|
2003-09-01 11:06:06 +04:00
|
|
|
* Corresponds to Microsoft symbol encoding. See
|
|
|
|
* @FT_ENCODING_MS_SYMBOL.
|
2002-09-05 19:10:54 +04:00
|
|
|
*
|
|
|
|
* TT_MS_ID_UNICODE_CS ::
|
|
|
|
* Corresponds to a Microsoft WGL4 charmap, matching Unicode. See
|
|
|
|
* @FT_ENCODING_UNICODE.
|
|
|
|
*
|
|
|
|
* TT_MS_ID_SJIS ::
|
2003-09-01 11:06:06 +04:00
|
|
|
* Corresponds to SJIS Japanese encoding. See @FT_ENCODING_SJIS.
|
2002-09-05 19:10:54 +04:00
|
|
|
*
|
|
|
|
* TT_MS_ID_GB2312 ::
|
2003-09-01 11:06:06 +04:00
|
|
|
* Corresponds to Simplified Chinese as used in Mainland China. See
|
|
|
|
* @FT_ENCODING_GB2312.
|
2002-09-05 19:10:54 +04:00
|
|
|
*
|
|
|
|
* TT_MS_ID_BIG_5 ::
|
2003-09-01 11:06:06 +04:00
|
|
|
* Corresponds to Traditional Chinese as used in Taiwan and Hong Kong.
|
|
|
|
* See @FT_ENCODING_BIG5.
|
2002-09-05 19:10:54 +04:00
|
|
|
*
|
|
|
|
* TT_MS_ID_WANSUNG ::
|
2003-09-01 11:06:06 +04:00
|
|
|
* Corresponds to Korean Wansung encoding. See @FT_ENCODING_WANSUNG.
|
2002-09-05 19:10:54 +04:00
|
|
|
*
|
|
|
|
* TT_MS_ID_JOHAB ::
|
2003-09-01 11:06:06 +04:00
|
|
|
* Corresponds to Johab encoding. See @FT_ENCODING_JOHAB.
|
2002-09-05 19:10:54 +04:00
|
|
|
*
|
|
|
|
* TT_MS_ID_UCS_4 ::
|
2003-04-22 11:49:24 +04:00
|
|
|
* Corresponds to UCS-4 or UTF-32 charmaps. This has been added to
|
|
|
|
* the OpenType specification version 1.4 (mid-2001.)
|
2002-09-05 19:10:54 +04:00
|
|
|
*/
|
|
|
|
|
Updating to OpenType 1.3.
* include/freetype/internal/tttypes.h (TT_CMap0, TT_CMap2, TT_CMap4,
TT_CMap6): Adding field `language'.
(TT_CMapTable): Removing field `language'.
Type of `length' field changed to FT_ULong.
Adding fields for cmaps format 8, 10, and 12.
(TT_CMapGroup): New auxiliary structure.
(TT_CMap8_12, TT_CMap10): New structures.
* include/freetype/tttables.h (TT_HoriHeader, TT_VertHeader):
Removed last element of `Reserved' array.
* include/freetype/ttnameid.h (TT_PLATFORM_CUSTOM, TT_MS_ID_UCS_4,
TT_NAME_ID_CID_FINDFONT_NAME): New macros.
* src/sfnt/ttcmap.c (TT_CharMap_Load): Updated loading of `language'
field to the new structures.
Fixed freeing of arrays in case of unsuccessful loads.
Added support for loading format 8, 10, and 12 cmaps.
(TT_CharMap_Free): Added support for freeing format 8, 10, and 12
cmaps.
(code_to_index4): Small improvement.
(code_to_index6): Ditto.
(code_to_index8_12, code_to_index10): New functions.
* src/sfnt/ttload.c (TT_Load_Metrics_Header): Updated to new
structure.
(TT_Load_CMap): Ditto.
* src/sfnt/sfobjs.c (tt_encodings): Add MS UCS4 table (before MS
Unicode).
* src/type1/t1driver.c (t1_get_name_index): Fix compiler warning.
2001-08-13 15:44:29 +04:00
|
|
|
#define TT_MS_ID_SYMBOL_CS 0
|
|
|
|
#define TT_MS_ID_UNICODE_CS 1
|
|
|
|
#define TT_MS_ID_SJIS 2
|
|
|
|
#define TT_MS_ID_GB2312 3
|
|
|
|
#define TT_MS_ID_BIG_5 4
|
|
|
|
#define TT_MS_ID_WANSUNG 5
|
|
|
|
#define TT_MS_ID_JOHAB 6
|
|
|
|
#define TT_MS_ID_UCS_4 10
|
2000-07-11 10:12:20 +04:00
|
|
|
|
|
|
|
|
2002-09-05 19:10:54 +04:00
|
|
|
/***********************************************************************
|
|
|
|
*
|
|
|
|
* @enum:
|
|
|
|
* TT_ADOBE_ID_XXX
|
|
|
|
*
|
|
|
|
* @description:
|
|
|
|
* A list of valid values for the `encoding_id' for
|
|
|
|
* @TT_PLATFORM_ADOBE charmaps. This is a FreeType-specific extension!
|
|
|
|
*
|
|
|
|
* @values:
|
|
|
|
* TT_ADOBE_ID_STANDARD ::
|
|
|
|
* Adobe standard encoding.
|
|
|
|
* TT_ADOBE_ID_EXPERT ::
|
|
|
|
* Adobe expert encoding.
|
|
|
|
* TT_ADOBE_ID_CUSTOM ::
|
|
|
|
* Adobe custom encoding.
|
2008-05-31 11:03:30 +04:00
|
|
|
* TT_ADOBE_ID_LATIN_1 ::
|
2008-06-26 23:56:51 +04:00
|
|
|
* Adobe Latin~1 encoding.
|
2002-09-05 19:10:54 +04:00
|
|
|
*/
|
|
|
|
|
2000-10-14 01:00:36 +04:00
|
|
|
#define TT_ADOBE_ID_STANDARD 0
|
|
|
|
#define TT_ADOBE_ID_EXPERT 1
|
|
|
|
#define TT_ADOBE_ID_CUSTOM 2
|
2003-12-18 18:29:20 +03:00
|
|
|
#define TT_ADOBE_ID_LATIN_1 3
|
2000-10-14 01:00:36 +04:00
|
|
|
|
|
|
|
|
2000-07-11 10:12:20 +04:00
|
|
|
/*************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* Possible values of the language identifier field in the name records */
|
|
|
|
/* of the TTF `name' table if the `platform' identifier code is */
|
2012-11-04 20:25:29 +04:00
|
|
|
/* TT_PLATFORM_MACINTOSH. These values are also used as return values */
|
|
|
|
/* for function @FT_Get_CMap_Language_ID. */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* */
|
|
|
|
/* The canonical source for the Apple assigned Language ID's is at */
|
|
|
|
/* */
|
2015-03-20 11:40:10 +03:00
|
|
|
/* https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6name.html */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* */
|
|
|
|
#define TT_MAC_LANGID_ENGLISH 0
|
|
|
|
#define TT_MAC_LANGID_FRENCH 1
|
|
|
|
#define TT_MAC_LANGID_GERMAN 2
|
|
|
|
#define TT_MAC_LANGID_ITALIAN 3
|
|
|
|
#define TT_MAC_LANGID_DUTCH 4
|
|
|
|
#define TT_MAC_LANGID_SWEDISH 5
|
|
|
|
#define TT_MAC_LANGID_SPANISH 6
|
|
|
|
#define TT_MAC_LANGID_DANISH 7
|
|
|
|
#define TT_MAC_LANGID_PORTUGUESE 8
|
|
|
|
#define TT_MAC_LANGID_NORWEGIAN 9
|
|
|
|
#define TT_MAC_LANGID_HEBREW 10
|
|
|
|
#define TT_MAC_LANGID_JAPANESE 11
|
|
|
|
#define TT_MAC_LANGID_ARABIC 12
|
|
|
|
#define TT_MAC_LANGID_FINNISH 13
|
|
|
|
#define TT_MAC_LANGID_GREEK 14
|
|
|
|
#define TT_MAC_LANGID_ICELANDIC 15
|
|
|
|
#define TT_MAC_LANGID_MALTESE 16
|
|
|
|
#define TT_MAC_LANGID_TURKISH 17
|
|
|
|
#define TT_MAC_LANGID_CROATIAN 18
|
|
|
|
#define TT_MAC_LANGID_CHINESE_TRADITIONAL 19
|
|
|
|
#define TT_MAC_LANGID_URDU 20
|
|
|
|
#define TT_MAC_LANGID_HINDI 21
|
|
|
|
#define TT_MAC_LANGID_THAI 22
|
|
|
|
#define TT_MAC_LANGID_KOREAN 23
|
|
|
|
#define TT_MAC_LANGID_LITHUANIAN 24
|
|
|
|
#define TT_MAC_LANGID_POLISH 25
|
|
|
|
#define TT_MAC_LANGID_HUNGARIAN 26
|
|
|
|
#define TT_MAC_LANGID_ESTONIAN 27
|
|
|
|
#define TT_MAC_LANGID_LETTISH 28
|
|
|
|
#define TT_MAC_LANGID_SAAMISK 29
|
|
|
|
#define TT_MAC_LANGID_FAEROESE 30
|
|
|
|
#define TT_MAC_LANGID_FARSI 31
|
|
|
|
#define TT_MAC_LANGID_RUSSIAN 32
|
|
|
|
#define TT_MAC_LANGID_CHINESE_SIMPLIFIED 33
|
|
|
|
#define TT_MAC_LANGID_FLEMISH 34
|
|
|
|
#define TT_MAC_LANGID_IRISH 35
|
|
|
|
#define TT_MAC_LANGID_ALBANIAN 36
|
|
|
|
#define TT_MAC_LANGID_ROMANIAN 37
|
|
|
|
#define TT_MAC_LANGID_CZECH 38
|
|
|
|
#define TT_MAC_LANGID_SLOVAK 39
|
|
|
|
#define TT_MAC_LANGID_SLOVENIAN 40
|
|
|
|
#define TT_MAC_LANGID_YIDDISH 41
|
|
|
|
#define TT_MAC_LANGID_SERBIAN 42
|
|
|
|
#define TT_MAC_LANGID_MACEDONIAN 43
|
|
|
|
#define TT_MAC_LANGID_BULGARIAN 44
|
|
|
|
#define TT_MAC_LANGID_UKRAINIAN 45
|
|
|
|
#define TT_MAC_LANGID_BYELORUSSIAN 46
|
|
|
|
#define TT_MAC_LANGID_UZBEK 47
|
|
|
|
#define TT_MAC_LANGID_KAZAKH 48
|
|
|
|
#define TT_MAC_LANGID_AZERBAIJANI 49
|
|
|
|
#define TT_MAC_LANGID_AZERBAIJANI_CYRILLIC_SCRIPT 49
|
|
|
|
#define TT_MAC_LANGID_AZERBAIJANI_ARABIC_SCRIPT 50
|
|
|
|
#define TT_MAC_LANGID_ARMENIAN 51
|
|
|
|
#define TT_MAC_LANGID_GEORGIAN 52
|
|
|
|
#define TT_MAC_LANGID_MOLDAVIAN 53
|
|
|
|
#define TT_MAC_LANGID_KIRGHIZ 54
|
|
|
|
#define TT_MAC_LANGID_TAJIKI 55
|
|
|
|
#define TT_MAC_LANGID_TURKMEN 56
|
|
|
|
#define TT_MAC_LANGID_MONGOLIAN 57
|
|
|
|
#define TT_MAC_LANGID_MONGOLIAN_MONGOLIAN_SCRIPT 57
|
|
|
|
#define TT_MAC_LANGID_MONGOLIAN_CYRILLIC_SCRIPT 58
|
|
|
|
#define TT_MAC_LANGID_PASHTO 59
|
|
|
|
#define TT_MAC_LANGID_KURDISH 60
|
|
|
|
#define TT_MAC_LANGID_KASHMIRI 61
|
|
|
|
#define TT_MAC_LANGID_SINDHI 62
|
|
|
|
#define TT_MAC_LANGID_TIBETAN 63
|
|
|
|
#define TT_MAC_LANGID_NEPALI 64
|
|
|
|
#define TT_MAC_LANGID_SANSKRIT 65
|
|
|
|
#define TT_MAC_LANGID_MARATHI 66
|
|
|
|
#define TT_MAC_LANGID_BENGALI 67
|
|
|
|
#define TT_MAC_LANGID_ASSAMESE 68
|
|
|
|
#define TT_MAC_LANGID_GUJARATI 69
|
|
|
|
#define TT_MAC_LANGID_PUNJABI 70
|
|
|
|
#define TT_MAC_LANGID_ORIYA 71
|
|
|
|
#define TT_MAC_LANGID_MALAYALAM 72
|
|
|
|
#define TT_MAC_LANGID_KANNADA 73
|
|
|
|
#define TT_MAC_LANGID_TAMIL 74
|
|
|
|
#define TT_MAC_LANGID_TELUGU 75
|
|
|
|
#define TT_MAC_LANGID_SINHALESE 76
|
|
|
|
#define TT_MAC_LANGID_BURMESE 77
|
|
|
|
#define TT_MAC_LANGID_KHMER 78
|
|
|
|
#define TT_MAC_LANGID_LAO 79
|
|
|
|
#define TT_MAC_LANGID_VIETNAMESE 80
|
|
|
|
#define TT_MAC_LANGID_INDONESIAN 81
|
|
|
|
#define TT_MAC_LANGID_TAGALOG 82
|
|
|
|
#define TT_MAC_LANGID_MALAY_ROMAN_SCRIPT 83
|
|
|
|
#define TT_MAC_LANGID_MALAY_ARABIC_SCRIPT 84
|
|
|
|
#define TT_MAC_LANGID_AMHARIC 85
|
|
|
|
#define TT_MAC_LANGID_TIGRINYA 86
|
|
|
|
#define TT_MAC_LANGID_GALLA 87
|
|
|
|
#define TT_MAC_LANGID_SOMALI 88
|
|
|
|
#define TT_MAC_LANGID_SWAHILI 89
|
|
|
|
#define TT_MAC_LANGID_RUANDA 90
|
|
|
|
#define TT_MAC_LANGID_RUNDI 91
|
|
|
|
#define TT_MAC_LANGID_CHEWA 92
|
|
|
|
#define TT_MAC_LANGID_MALAGASY 93
|
|
|
|
#define TT_MAC_LANGID_ESPERANTO 94
|
|
|
|
#define TT_MAC_LANGID_WELSH 128
|
|
|
|
#define TT_MAC_LANGID_BASQUE 129
|
|
|
|
#define TT_MAC_LANGID_CATALAN 130
|
|
|
|
#define TT_MAC_LANGID_LATIN 131
|
|
|
|
#define TT_MAC_LANGID_QUECHUA 132
|
|
|
|
#define TT_MAC_LANGID_GUARANI 133
|
|
|
|
#define TT_MAC_LANGID_AYMARA 134
|
|
|
|
#define TT_MAC_LANGID_TATAR 135
|
|
|
|
#define TT_MAC_LANGID_UIGHUR 136
|
|
|
|
#define TT_MAC_LANGID_DZONGKHA 137
|
|
|
|
#define TT_MAC_LANGID_JAVANESE 138
|
|
|
|
#define TT_MAC_LANGID_SUNDANESE 139
|
|
|
|
|
2000-03-23 20:24:28 +03:00
|
|
|
|
|
|
|
#if 0 /* these seem to be errors that have been dropped */
|
2000-07-11 10:12:20 +04:00
|
|
|
|
|
|
|
#define TT_MAC_LANGID_SCOTTISH_GAELIC 140
|
|
|
|
#define TT_MAC_LANGID_IRISH_GAELIC 141
|
|
|
|
|
2000-03-23 20:24:28 +03:00
|
|
|
#endif
|
|
|
|
|
1999-12-17 02:11:37 +03:00
|
|
|
|
2000-07-11 10:12:20 +04:00
|
|
|
/* The following codes are new as of 2000-03-10 */
|
|
|
|
#define TT_MAC_LANGID_GALICIAN 140
|
|
|
|
#define TT_MAC_LANGID_AFRIKAANS 141
|
|
|
|
#define TT_MAC_LANGID_BRETON 142
|
|
|
|
#define TT_MAC_LANGID_INUKTITUT 143
|
|
|
|
#define TT_MAC_LANGID_SCOTTISH_GAELIC 144
|
|
|
|
#define TT_MAC_LANGID_MANX_GAELIC 145
|
|
|
|
#define TT_MAC_LANGID_IRISH_GAELIC 146
|
|
|
|
#define TT_MAC_LANGID_TONGAN 147
|
|
|
|
#define TT_MAC_LANGID_GREEK_POLYTONIC 148
|
|
|
|
#define TT_MAC_LANGID_GREELANDIC 149
|
|
|
|
#define TT_MAC_LANGID_AZERBAIJANI_ROMAN_SCRIPT 150
|
|
|
|
|
|
|
|
|
|
|
|
/*************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* Possible values of the language identifier field in the name records */
|
|
|
|
/* of the TTF `name' table if the `platform' identifier code is */
|
|
|
|
/* TT_PLATFORM_MICROSOFT. */
|
|
|
|
/* */
|
2012-11-04 20:25:29 +04:00
|
|
|
/* The canonical source for the MS assigned LCIDs is */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* */
|
2004-12-03 17:58:40 +03:00
|
|
|
/* http://www.microsoft.com/globaldev/reference/lcid-all.mspx */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* */
|
2004-12-03 17:58:40 +03:00
|
|
|
|
|
|
|
#define TT_MS_LANGID_ARABIC_GENERAL 0x0001
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_ARABIC_SAUDI_ARABIA 0x0401
|
|
|
|
#define TT_MS_LANGID_ARABIC_IRAQ 0x0801
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_ARABIC_EGYPT 0x0C01
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_ARABIC_LIBYA 0x1001
|
|
|
|
#define TT_MS_LANGID_ARABIC_ALGERIA 0x1401
|
|
|
|
#define TT_MS_LANGID_ARABIC_MOROCCO 0x1801
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_ARABIC_TUNISIA 0x1C01
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_ARABIC_OMAN 0x2001
|
|
|
|
#define TT_MS_LANGID_ARABIC_YEMEN 0x2401
|
|
|
|
#define TT_MS_LANGID_ARABIC_SYRIA 0x2801
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_ARABIC_JORDAN 0x2C01
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_ARABIC_LEBANON 0x3001
|
|
|
|
#define TT_MS_LANGID_ARABIC_KUWAIT 0x3401
|
|
|
|
#define TT_MS_LANGID_ARABIC_UAE 0x3801
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_ARABIC_BAHRAIN 0x3C01
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_ARABIC_QATAR 0x4001
|
|
|
|
#define TT_MS_LANGID_BULGARIAN_BULGARIA 0x0402
|
|
|
|
#define TT_MS_LANGID_CATALAN_SPAIN 0x0403
|
2004-12-03 17:58:40 +03:00
|
|
|
#define TT_MS_LANGID_CHINESE_GENERAL 0x0004
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_CHINESE_TAIWAN 0x0404
|
|
|
|
#define TT_MS_LANGID_CHINESE_PRC 0x0804
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_CHINESE_HONG_KONG 0x0C04
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_CHINESE_SINGAPORE 0x1004
|
2001-01-31 06:00:22 +03:00
|
|
|
|
2004-12-03 17:58:40 +03:00
|
|
|
#if 1 /* this looks like the correct value */
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_CHINESE_MACAU 0x1404
|
2001-01-31 06:00:22 +03:00
|
|
|
#else /* but beware, Microsoft may change its mind...
|
2001-12-05 04:22:05 +03:00
|
|
|
the most recent Word reference has the following: */
|
|
|
|
#define TT_MS_LANGID_CHINESE_MACAU TT_MS_LANGID_CHINESE_HONG_KONG
|
2001-01-31 06:00:22 +03:00
|
|
|
#endif
|
|
|
|
|
2006-03-24 15:46:49 +03:00
|
|
|
#if 0 /* used only with .NET `cultures'; commented out */
|
2004-12-03 17:58:40 +03:00
|
|
|
#define TT_MS_LANGID_CHINESE_TRADITIONAL 0x7C04
|
|
|
|
#endif
|
|
|
|
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_CZECH_CZECH_REPUBLIC 0x0405
|
|
|
|
#define TT_MS_LANGID_DANISH_DENMARK 0x0406
|
|
|
|
#define TT_MS_LANGID_GERMAN_GERMANY 0x0407
|
|
|
|
#define TT_MS_LANGID_GERMAN_SWITZERLAND 0x0807
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_GERMAN_AUSTRIA 0x0C07
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_GERMAN_LUXEMBOURG 0x1007
|
|
|
|
#define TT_MS_LANGID_GERMAN_LIECHTENSTEI 0x1407
|
|
|
|
#define TT_MS_LANGID_GREEK_GREECE 0x0408
|
2004-12-03 17:58:40 +03:00
|
|
|
|
|
|
|
/* don't ask what this one means... It is commented out currently. */
|
|
|
|
#if 0
|
|
|
|
#define TT_MS_LANGID_GREEK_GREECE2 0x2008
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define TT_MS_LANGID_ENGLISH_GENERAL 0x0009
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_ENGLISH_UNITED_STATES 0x0409
|
|
|
|
#define TT_MS_LANGID_ENGLISH_UNITED_KINGDOM 0x0809
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_ENGLISH_AUSTRALIA 0x0C09
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_ENGLISH_CANADA 0x1009
|
|
|
|
#define TT_MS_LANGID_ENGLISH_NEW_ZEALAND 0x1409
|
|
|
|
#define TT_MS_LANGID_ENGLISH_IRELAND 0x1809
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_ENGLISH_SOUTH_AFRICA 0x1C09
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_ENGLISH_JAMAICA 0x2009
|
|
|
|
#define TT_MS_LANGID_ENGLISH_CARIBBEAN 0x2409
|
|
|
|
#define TT_MS_LANGID_ENGLISH_BELIZE 0x2809
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_ENGLISH_TRINIDAD 0x2C09
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_ENGLISH_ZIMBABWE 0x3009
|
|
|
|
#define TT_MS_LANGID_ENGLISH_PHILIPPINES 0x3409
|
2004-12-03 17:58:40 +03:00
|
|
|
#define TT_MS_LANGID_ENGLISH_INDONESIA 0x3809
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_ENGLISH_HONG_KONG 0x3C09
|
2004-12-03 17:58:40 +03:00
|
|
|
#define TT_MS_LANGID_ENGLISH_INDIA 0x4009
|
|
|
|
#define TT_MS_LANGID_ENGLISH_MALAYSIA 0x4409
|
|
|
|
#define TT_MS_LANGID_ENGLISH_SINGAPORE 0x4809
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_SPANISH_SPAIN_TRADITIONAL_SORT 0x040A
|
|
|
|
#define TT_MS_LANGID_SPANISH_MEXICO 0x080A
|
|
|
|
#define TT_MS_LANGID_SPANISH_SPAIN_INTERNATIONAL_SORT 0x0C0A
|
|
|
|
#define TT_MS_LANGID_SPANISH_GUATEMALA 0x100A
|
|
|
|
#define TT_MS_LANGID_SPANISH_COSTA_RICA 0x140A
|
|
|
|
#define TT_MS_LANGID_SPANISH_PANAMA 0x180A
|
|
|
|
#define TT_MS_LANGID_SPANISH_DOMINICAN_REPUBLIC 0x1C0A
|
|
|
|
#define TT_MS_LANGID_SPANISH_VENEZUELA 0x200A
|
|
|
|
#define TT_MS_LANGID_SPANISH_COLOMBIA 0x240A
|
|
|
|
#define TT_MS_LANGID_SPANISH_PERU 0x280A
|
|
|
|
#define TT_MS_LANGID_SPANISH_ARGENTINA 0x2C0A
|
|
|
|
#define TT_MS_LANGID_SPANISH_ECUADOR 0x300A
|
|
|
|
#define TT_MS_LANGID_SPANISH_CHILE 0x340A
|
|
|
|
#define TT_MS_LANGID_SPANISH_URUGUAY 0x380A
|
|
|
|
#define TT_MS_LANGID_SPANISH_PARAGUAY 0x3C0A
|
|
|
|
#define TT_MS_LANGID_SPANISH_BOLIVIA 0x400A
|
|
|
|
#define TT_MS_LANGID_SPANISH_EL_SALVADOR 0x440A
|
|
|
|
#define TT_MS_LANGID_SPANISH_HONDURAS 0x480A
|
|
|
|
#define TT_MS_LANGID_SPANISH_NICARAGUA 0x4C0A
|
|
|
|
#define TT_MS_LANGID_SPANISH_PUERTO_RICO 0x500A
|
|
|
|
#define TT_MS_LANGID_SPANISH_UNITED_STATES 0x540A
|
2004-12-03 17:58:40 +03:00
|
|
|
/* The following ID blatantly violate MS specs by using a */
|
|
|
|
/* sublanguage > 0x1F. */
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_SPANISH_LATIN_AMERICA 0xE40AU
|
|
|
|
#define TT_MS_LANGID_FINNISH_FINLAND 0x040B
|
|
|
|
#define TT_MS_LANGID_FRENCH_FRANCE 0x040C
|
|
|
|
#define TT_MS_LANGID_FRENCH_BELGIUM 0x080C
|
|
|
|
#define TT_MS_LANGID_FRENCH_CANADA 0x0C0C
|
|
|
|
#define TT_MS_LANGID_FRENCH_SWITZERLAND 0x100C
|
|
|
|
#define TT_MS_LANGID_FRENCH_LUXEMBOURG 0x140C
|
|
|
|
#define TT_MS_LANGID_FRENCH_MONACO 0x180C
|
|
|
|
#define TT_MS_LANGID_FRENCH_WEST_INDIES 0x1C0C
|
|
|
|
#define TT_MS_LANGID_FRENCH_REUNION 0x200C
|
|
|
|
#define TT_MS_LANGID_FRENCH_CONGO 0x240C
|
2004-12-03 17:58:40 +03:00
|
|
|
/* which was formerly: */
|
|
|
|
#define TT_MS_LANGID_FRENCH_ZAIRE TT_MS_LANGID_FRENCH_CONGO
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_FRENCH_SENEGAL 0x280C
|
|
|
|
#define TT_MS_LANGID_FRENCH_CAMEROON 0x2C0C
|
|
|
|
#define TT_MS_LANGID_FRENCH_COTE_D_IVOIRE 0x300C
|
|
|
|
#define TT_MS_LANGID_FRENCH_MALI 0x340C
|
|
|
|
#define TT_MS_LANGID_FRENCH_MOROCCO 0x380C
|
|
|
|
#define TT_MS_LANGID_FRENCH_HAITI 0x3C0C
|
|
|
|
/* and another violation of the spec (see 0xE40AU) */
|
|
|
|
#define TT_MS_LANGID_FRENCH_NORTH_AFRICA 0xE40CU
|
|
|
|
#define TT_MS_LANGID_HEBREW_ISRAEL 0x040D
|
|
|
|
#define TT_MS_LANGID_HUNGARIAN_HUNGARY 0x040E
|
|
|
|
#define TT_MS_LANGID_ICELANDIC_ICELAND 0x040F
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_ITALIAN_ITALY 0x0410
|
|
|
|
#define TT_MS_LANGID_ITALIAN_SWITZERLAND 0x0810
|
|
|
|
#define TT_MS_LANGID_JAPANESE_JAPAN 0x0411
|
|
|
|
#define TT_MS_LANGID_KOREAN_EXTENDED_WANSUNG_KOREA 0x0412
|
|
|
|
#define TT_MS_LANGID_KOREAN_JOHAB_KOREA 0x0812
|
|
|
|
#define TT_MS_LANGID_DUTCH_NETHERLANDS 0x0413
|
|
|
|
#define TT_MS_LANGID_DUTCH_BELGIUM 0x0813
|
|
|
|
#define TT_MS_LANGID_NORWEGIAN_NORWAY_BOKMAL 0x0414
|
|
|
|
#define TT_MS_LANGID_NORWEGIAN_NORWAY_NYNORSK 0x0814
|
|
|
|
#define TT_MS_LANGID_POLISH_POLAND 0x0415
|
|
|
|
#define TT_MS_LANGID_PORTUGUESE_BRAZIL 0x0416
|
|
|
|
#define TT_MS_LANGID_PORTUGUESE_PORTUGAL 0x0816
|
|
|
|
#define TT_MS_LANGID_RHAETO_ROMANIC_SWITZERLAND 0x0417
|
|
|
|
#define TT_MS_LANGID_ROMANIAN_ROMANIA 0x0418
|
|
|
|
#define TT_MS_LANGID_MOLDAVIAN_MOLDAVIA 0x0818
|
|
|
|
#define TT_MS_LANGID_RUSSIAN_RUSSIA 0x0419
|
|
|
|
#define TT_MS_LANGID_RUSSIAN_MOLDAVIA 0x0819
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_CROATIAN_CROATIA 0x041A
|
|
|
|
#define TT_MS_LANGID_SERBIAN_SERBIA_LATIN 0x081A
|
|
|
|
#define TT_MS_LANGID_SERBIAN_SERBIA_CYRILLIC 0x0C1A
|
2004-12-03 17:58:40 +03:00
|
|
|
|
|
|
|
#if 0 /* this used to be this value, but it looks like we were wrong */
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_BOSNIAN_BOSNIA_HERZEGOVINA 0x101A
|
2004-12-03 17:58:40 +03:00
|
|
|
#else /* current sources say */
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_CROATIAN_BOSNIA_HERZEGOVINA 0x101A
|
|
|
|
#define TT_MS_LANGID_BOSNIAN_BOSNIA_HERZEGOVINA 0x141A
|
2004-12-03 17:58:40 +03:00
|
|
|
/* and XPsp2 Platform SDK added (2004-07-26) */
|
2007-01-29 17:49:59 +03:00
|
|
|
/* Names are shortened to be significant within 40 chars. */
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_SERBIAN_BOSNIA_HERZ_LATIN 0x181A
|
|
|
|
#define TT_MS_LANGID_SERBIAN_BOSNIA_HERZ_CYRILLIC 0x181A
|
2004-12-03 17:58:40 +03:00
|
|
|
#endif
|
|
|
|
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_SLOVAK_SLOVAKIA 0x041B
|
|
|
|
#define TT_MS_LANGID_ALBANIAN_ALBANIA 0x041C
|
|
|
|
#define TT_MS_LANGID_SWEDISH_SWEDEN 0x041D
|
|
|
|
#define TT_MS_LANGID_SWEDISH_FINLAND 0x081D
|
|
|
|
#define TT_MS_LANGID_THAI_THAILAND 0x041E
|
|
|
|
#define TT_MS_LANGID_TURKISH_TURKEY 0x041F
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_URDU_PAKISTAN 0x0420
|
2004-12-03 17:58:40 +03:00
|
|
|
#define TT_MS_LANGID_URDU_INDIA 0x0820
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_INDONESIAN_INDONESIA 0x0421
|
|
|
|
#define TT_MS_LANGID_UKRAINIAN_UKRAINE 0x0422
|
|
|
|
#define TT_MS_LANGID_BELARUSIAN_BELARUS 0x0423
|
|
|
|
#define TT_MS_LANGID_SLOVENE_SLOVENIA 0x0424
|
|
|
|
#define TT_MS_LANGID_ESTONIAN_ESTONIA 0x0425
|
|
|
|
#define TT_MS_LANGID_LATVIAN_LATVIA 0x0426
|
|
|
|
#define TT_MS_LANGID_LITHUANIAN_LITHUANIA 0x0427
|
|
|
|
#define TT_MS_LANGID_CLASSIC_LITHUANIAN_LITHUANIA 0x0827
|
2004-12-03 17:58:40 +03:00
|
|
|
#define TT_MS_LANGID_TAJIK_TAJIKISTAN 0x0428
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_FARSI_IRAN 0x0429
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_VIETNAMESE_VIET_NAM 0x042A
|
|
|
|
#define TT_MS_LANGID_ARMENIAN_ARMENIA 0x042B
|
|
|
|
#define TT_MS_LANGID_AZERI_AZERBAIJAN_LATIN 0x042C
|
|
|
|
#define TT_MS_LANGID_AZERI_AZERBAIJAN_CYRILLIC 0x082C
|
|
|
|
#define TT_MS_LANGID_BASQUE_SPAIN 0x042D
|
|
|
|
#define TT_MS_LANGID_SORBIAN_GERMANY 0x042E
|
|
|
|
#define TT_MS_LANGID_MACEDONIAN_MACEDONIA 0x042F
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_SUTU_SOUTH_AFRICA 0x0430
|
|
|
|
#define TT_MS_LANGID_TSONGA_SOUTH_AFRICA 0x0431
|
|
|
|
#define TT_MS_LANGID_TSWANA_SOUTH_AFRICA 0x0432
|
|
|
|
#define TT_MS_LANGID_VENDA_SOUTH_AFRICA 0x0433
|
|
|
|
#define TT_MS_LANGID_XHOSA_SOUTH_AFRICA 0x0434
|
|
|
|
#define TT_MS_LANGID_ZULU_SOUTH_AFRICA 0x0435
|
|
|
|
#define TT_MS_LANGID_AFRIKAANS_SOUTH_AFRICA 0x0436
|
|
|
|
#define TT_MS_LANGID_GEORGIAN_GEORGIA 0x0437
|
|
|
|
#define TT_MS_LANGID_FAEROESE_FAEROE_ISLANDS 0x0438
|
|
|
|
#define TT_MS_LANGID_HINDI_INDIA 0x0439
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_MALTESE_MALTA 0x043A
|
2004-12-03 17:58:40 +03:00
|
|
|
/* Added by XPsp2 Platform SDK (2004-07-26) */
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_SAMI_NORTHERN_NORWAY 0x043B
|
|
|
|
#define TT_MS_LANGID_SAMI_NORTHERN_SWEDEN 0x083B
|
|
|
|
#define TT_MS_LANGID_SAMI_NORTHERN_FINLAND 0x0C3B
|
|
|
|
#define TT_MS_LANGID_SAMI_LULE_NORWAY 0x103B
|
|
|
|
#define TT_MS_LANGID_SAMI_LULE_SWEDEN 0x143B
|
|
|
|
#define TT_MS_LANGID_SAMI_SOUTHERN_NORWAY 0x183B
|
|
|
|
#define TT_MS_LANGID_SAMI_SOUTHERN_SWEDEN 0x1C3B
|
|
|
|
#define TT_MS_LANGID_SAMI_SKOLT_FINLAND 0x203B
|
|
|
|
#define TT_MS_LANGID_SAMI_INARI_FINLAND 0x243B
|
2004-12-03 17:58:40 +03:00
|
|
|
/* ... and we also keep our old identifier... */
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_SAAMI_LAPONIA 0x043B
|
2001-01-31 06:00:22 +03:00
|
|
|
|
2007-01-29 17:49:59 +03:00
|
|
|
#if 0 /* this seems to be a previous inversion */
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_IRISH_GAELIC_IRELAND 0x043C
|
|
|
|
#define TT_MS_LANGID_SCOTTISH_GAELIC_UNITED_KINGDOM 0x083C
|
2001-01-31 06:00:22 +03:00
|
|
|
#else
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_SCOTTISH_GAELIC_UNITED_KINGDOM 0x083C
|
|
|
|
#define TT_MS_LANGID_IRISH_GAELIC_IRELAND 0x043C
|
2001-01-31 06:00:22 +03:00
|
|
|
#endif
|
|
|
|
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_YIDDISH_GERMANY 0x043D
|
|
|
|
#define TT_MS_LANGID_MALAY_MALAYSIA 0x043E
|
|
|
|
#define TT_MS_LANGID_MALAY_BRUNEI_DARUSSALAM 0x083E
|
|
|
|
#define TT_MS_LANGID_KAZAK_KAZAKSTAN 0x043F
|
2004-12-03 17:58:40 +03:00
|
|
|
#define TT_MS_LANGID_KIRGHIZ_KIRGHIZSTAN /* Cyrillic*/ 0x0440
|
|
|
|
/* alias declared in Windows 2000 */
|
|
|
|
#define TT_MS_LANGID_KIRGHIZ_KIRGHIZ_REPUBLIC \
|
|
|
|
TT_MS_LANGID_KIRGHIZ_KIRGHIZSTAN
|
|
|
|
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_SWAHILI_KENYA 0x0441
|
2004-12-03 17:58:40 +03:00
|
|
|
#define TT_MS_LANGID_TURKMEN_TURKMENISTAN 0x0442
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_UZBEK_UZBEKISTAN_LATIN 0x0443
|
|
|
|
#define TT_MS_LANGID_UZBEK_UZBEKISTAN_CYRILLIC 0x0843
|
|
|
|
#define TT_MS_LANGID_TATAR_TATARSTAN 0x0444
|
|
|
|
#define TT_MS_LANGID_BENGALI_INDIA 0x0445
|
2004-12-03 17:58:40 +03:00
|
|
|
#define TT_MS_LANGID_BENGALI_BANGLADESH 0x0845
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_PUNJABI_INDIA 0x0446
|
2004-12-03 17:58:40 +03:00
|
|
|
#define TT_MS_LANGID_PUNJABI_ARABIC_PAKISTAN 0x0846
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_MS_LANGID_GUJARATI_INDIA 0x0447
|
|
|
|
#define TT_MS_LANGID_ORIYA_INDIA 0x0448
|
|
|
|
#define TT_MS_LANGID_TAMIL_INDIA 0x0449
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_TELUGU_INDIA 0x044A
|
|
|
|
#define TT_MS_LANGID_KANNADA_INDIA 0x044B
|
|
|
|
#define TT_MS_LANGID_MALAYALAM_INDIA 0x044C
|
|
|
|
#define TT_MS_LANGID_ASSAMESE_INDIA 0x044D
|
|
|
|
#define TT_MS_LANGID_MARATHI_INDIA 0x044E
|
|
|
|
#define TT_MS_LANGID_SANSKRIT_INDIA 0x044F
|
2001-11-20 22:22:13 +03:00
|
|
|
#define TT_MS_LANGID_MONGOLIAN_MONGOLIA /* Cyrillic */ 0x0450
|
2004-12-03 17:58:40 +03:00
|
|
|
#define TT_MS_LANGID_MONGOLIAN_MONGOLIA_MONGOLIAN 0x0850
|
2001-11-20 22:22:13 +03:00
|
|
|
#define TT_MS_LANGID_TIBETAN_CHINA 0x0451
|
2007-02-01 11:10:45 +03:00
|
|
|
/* Don't use the next constant! It has */
|
|
|
|
/* (1) the wrong spelling (Dzonghka) */
|
|
|
|
/* (2) Microsoft doesn't officially define it -- */
|
|
|
|
/* at least it is not in the List of Local */
|
|
|
|
/* ID Values. */
|
|
|
|
/* (3) Dzongkha is not the same language as */
|
|
|
|
/* Tibetan, so merging it is wrong anyway. */
|
|
|
|
/* */
|
|
|
|
/* TT_MS_LANGID_TIBETAN_BHUTAN is correct, BTW. */
|
2001-11-20 22:22:13 +03:00
|
|
|
#define TT_MS_LANGID_DZONGHKA_BHUTAN 0x0851
|
2004-12-03 17:58:40 +03:00
|
|
|
|
|
|
|
#if 0
|
|
|
|
/* the following used to be defined */
|
|
|
|
#define TT_MS_LANGID_TIBETAN_BHUTAN 0x0451
|
|
|
|
/* ... but it was changed; */
|
|
|
|
#else
|
|
|
|
/* So we will continue to #define it, but with the correct value */
|
|
|
|
#define TT_MS_LANGID_TIBETAN_BHUTAN TT_MS_LANGID_DZONGHKA_BHUTAN
|
|
|
|
#endif
|
2001-11-20 22:22:13 +03:00
|
|
|
|
2001-01-31 06:00:22 +03:00
|
|
|
#define TT_MS_LANGID_WELSH_WALES 0x0452
|
|
|
|
#define TT_MS_LANGID_KHMER_CAMBODIA 0x0453
|
|
|
|
#define TT_MS_LANGID_LAO_LAOS 0x0454
|
|
|
|
#define TT_MS_LANGID_BURMESE_MYANMAR 0x0455
|
|
|
|
#define TT_MS_LANGID_GALICIAN_SPAIN 0x0456
|
2004-12-03 17:58:40 +03:00
|
|
|
#define TT_MS_LANGID_KONKANI_INDIA 0x0457
|
|
|
|
#define TT_MS_LANGID_MANIPURI_INDIA /* Bengali */ 0x0458
|
|
|
|
#define TT_MS_LANGID_SINDHI_INDIA /* Arabic */ 0x0459
|
|
|
|
#define TT_MS_LANGID_SINDHI_PAKISTAN 0x0859
|
|
|
|
/* Missing a LCID for Sindhi in Devanagari script */
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_SYRIAC_SYRIA 0x045A
|
|
|
|
#define TT_MS_LANGID_SINHALESE_SRI_LANKA 0x045B
|
|
|
|
#define TT_MS_LANGID_CHEROKEE_UNITED_STATES 0x045C
|
|
|
|
#define TT_MS_LANGID_INUKTITUT_CANADA 0x045D
|
|
|
|
#define TT_MS_LANGID_AMHARIC_ETHIOPIA 0x045E
|
|
|
|
#define TT_MS_LANGID_TAMAZIGHT_MOROCCO /* Arabic */ 0x045F
|
|
|
|
#define TT_MS_LANGID_TAMAZIGHT_MOROCCO_LATIN 0x085F
|
2004-12-03 17:58:40 +03:00
|
|
|
/* Missing a LCID for Tifinagh script */
|
|
|
|
#define TT_MS_LANGID_KASHMIRI_PAKISTAN /* Arabic */ 0x0460
|
|
|
|
/* Spelled this way by XPsp2 Platform SDK (2004-07-26) */
|
|
|
|
/* script is yet unclear... might be Arabic, Nagari or Sharada */
|
|
|
|
#define TT_MS_LANGID_KASHMIRI_SASIA 0x0860
|
|
|
|
/* ... and aliased (by MS) for compatibility reasons. */
|
|
|
|
#define TT_MS_LANGID_KASHMIRI_INDIA TT_MS_LANGID_KASHMIRI_SASIA
|
|
|
|
#define TT_MS_LANGID_NEPALI_NEPAL 0x0461
|
|
|
|
#define TT_MS_LANGID_NEPALI_INDIA 0x0861
|
|
|
|
#define TT_MS_LANGID_FRISIAN_NETHERLANDS 0x0462
|
2001-11-20 22:22:13 +03:00
|
|
|
#define TT_MS_LANGID_PASHTO_AFGHANISTAN 0x0463
|
2001-03-01 21:00:44 +03:00
|
|
|
#define TT_MS_LANGID_FILIPINO_PHILIPPINES 0x0464
|
|
|
|
#define TT_MS_LANGID_DHIVEHI_MALDIVES 0x0465
|
2001-12-05 04:22:05 +03:00
|
|
|
/* alias declared in Windows 2000 */
|
|
|
|
#define TT_MS_LANGID_DIVEHI_MALDIVES TT_MS_LANGID_DHIVEHI_MALDIVES
|
|
|
|
#define TT_MS_LANGID_EDO_NIGERIA 0x0466
|
|
|
|
#define TT_MS_LANGID_FULFULDE_NIGERIA 0x0467
|
|
|
|
#define TT_MS_LANGID_HAUSA_NIGERIA 0x0468
|
|
|
|
#define TT_MS_LANGID_IBIBIO_NIGERIA 0x0469
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_YORUBA_NIGERIA 0x046A
|
|
|
|
#define TT_MS_LANGID_QUECHUA_BOLIVIA 0x046B
|
|
|
|
#define TT_MS_LANGID_QUECHUA_ECUADOR 0x086B
|
|
|
|
#define TT_MS_LANGID_QUECHUA_PERU 0x0C6B
|
|
|
|
#define TT_MS_LANGID_SEPEDI_SOUTH_AFRICA 0x046C
|
2004-12-03 17:58:40 +03:00
|
|
|
/* Also spelled by XPsp2 Platform SDK (2004-07-26) */
|
2004-12-04 17:23:50 +03:00
|
|
|
#define TT_MS_LANGID_SOTHO_SOUTHERN_SOUTH_AFRICA \
|
|
|
|
TT_MS_LANGID_SEPEDI_SOUTH_AFRICA
|
2014-12-07 13:03:57 +03:00
|
|
|
/* language codes 0x046D, 0x046E and 0x046F are (still) unknown. */
|
2001-12-05 04:22:05 +03:00
|
|
|
#define TT_MS_LANGID_IGBO_NIGERIA 0x0470
|
|
|
|
#define TT_MS_LANGID_KANURI_NIGERIA 0x0471
|
2004-12-03 17:58:40 +03:00
|
|
|
#define TT_MS_LANGID_OROMO_ETHIOPIA 0x0472
|
|
|
|
#define TT_MS_LANGID_TIGRIGNA_ETHIOPIA 0x0473
|
|
|
|
#define TT_MS_LANGID_TIGRIGNA_ERYTHREA 0x0873
|
|
|
|
/* also spelled in the `Passport SDK' list as: */
|
|
|
|
#define TT_MS_LANGID_TIGRIGNA_ERYTREA TT_MS_LANGID_TIGRIGNA_ERYTHREA
|
2001-12-05 04:22:05 +03:00
|
|
|
#define TT_MS_LANGID_GUARANI_PARAGUAY 0x0474
|
|
|
|
#define TT_MS_LANGID_HAWAIIAN_UNITED_STATES 0x0475
|
|
|
|
#define TT_MS_LANGID_LATIN 0x0476
|
|
|
|
#define TT_MS_LANGID_SOMALI_SOMALIA 0x0477
|
|
|
|
/* Note: Yi does not have a (proper) ISO 639-2 code, since it is mostly */
|
|
|
|
/* not written (but OTOH the peculiar writing system is worth */
|
|
|
|
/* studying). */
|
|
|
|
#define TT_MS_LANGID_YI_CHINA 0x0478
|
|
|
|
#define TT_MS_LANGID_PAPIAMENTU_NETHERLANDS_ANTILLES 0x0479
|
2014-12-07 13:03:57 +03:00
|
|
|
/* language codes from 0x047A to 0x047F are (still) unknown. */
|
2004-12-03 17:58:40 +03:00
|
|
|
#define TT_MS_LANGID_UIGHUR_CHINA 0x0480
|
|
|
|
#define TT_MS_LANGID_MAORI_NEW_ZEALAND 0x0481
|
|
|
|
|
|
|
|
#if 0 /* not deemed useful for fonts */
|
2014-12-07 13:03:57 +03:00
|
|
|
#define TT_MS_LANGID_HUMAN_INTERFACE_DEVICE 0x04FF
|
2004-12-03 17:58:40 +03:00
|
|
|
#endif
|
2001-01-31 06:00:22 +03:00
|
|
|
|
2000-07-11 10:12:20 +04:00
|
|
|
|
|
|
|
/*************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* Possible values of the `name' identifier field in the name records of */
|
|
|
|
/* the TTF `name' table. These values are platform independent. */
|
|
|
|
/* */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_NAME_ID_COPYRIGHT 0
|
|
|
|
#define TT_NAME_ID_FONT_FAMILY 1
|
|
|
|
#define TT_NAME_ID_FONT_SUBFAMILY 2
|
|
|
|
#define TT_NAME_ID_UNIQUE_ID 3
|
|
|
|
#define TT_NAME_ID_FULL_NAME 4
|
|
|
|
#define TT_NAME_ID_VERSION_STRING 5
|
|
|
|
#define TT_NAME_ID_PS_NAME 6
|
|
|
|
#define TT_NAME_ID_TRADEMARK 7
|
2000-07-11 10:12:20 +04:00
|
|
|
|
2001-12-05 04:22:05 +03:00
|
|
|
/* the following values are from the OpenType spec */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_NAME_ID_MANUFACTURER 8
|
|
|
|
#define TT_NAME_ID_DESIGNER 9
|
|
|
|
#define TT_NAME_ID_DESCRIPTION 10
|
|
|
|
#define TT_NAME_ID_VENDOR_URL 11
|
|
|
|
#define TT_NAME_ID_DESIGNER_URL 12
|
|
|
|
#define TT_NAME_ID_LICENSE 13
|
|
|
|
#define TT_NAME_ID_LICENSE_URL 14
|
2001-12-05 04:22:05 +03:00
|
|
|
/* number 15 is reserved */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_NAME_ID_PREFERRED_FAMILY 16
|
|
|
|
#define TT_NAME_ID_PREFERRED_SUBFAMILY 17
|
|
|
|
#define TT_NAME_ID_MAC_FULL_NAME 18
|
2000-07-11 10:12:20 +04:00
|
|
|
|
2001-12-05 04:22:05 +03:00
|
|
|
/* The following code is new as of 2000-01-21 */
|
2000-03-23 20:24:28 +03:00
|
|
|
#define TT_NAME_ID_SAMPLE_TEXT 19
|
1999-12-17 02:11:37 +03:00
|
|
|
|
2001-12-05 04:22:05 +03:00
|
|
|
/* This is new in OpenType 1.3 */
|
Updating to OpenType 1.3.
* include/freetype/internal/tttypes.h (TT_CMap0, TT_CMap2, TT_CMap4,
TT_CMap6): Adding field `language'.
(TT_CMapTable): Removing field `language'.
Type of `length' field changed to FT_ULong.
Adding fields for cmaps format 8, 10, and 12.
(TT_CMapGroup): New auxiliary structure.
(TT_CMap8_12, TT_CMap10): New structures.
* include/freetype/tttables.h (TT_HoriHeader, TT_VertHeader):
Removed last element of `Reserved' array.
* include/freetype/ttnameid.h (TT_PLATFORM_CUSTOM, TT_MS_ID_UCS_4,
TT_NAME_ID_CID_FINDFONT_NAME): New macros.
* src/sfnt/ttcmap.c (TT_CharMap_Load): Updated loading of `language'
field to the new structures.
Fixed freeing of arrays in case of unsuccessful loads.
Added support for loading format 8, 10, and 12 cmaps.
(TT_CharMap_Free): Added support for freeing format 8, 10, and 12
cmaps.
(code_to_index4): Small improvement.
(code_to_index6): Ditto.
(code_to_index8_12, code_to_index10): New functions.
* src/sfnt/ttload.c (TT_Load_Metrics_Header): Updated to new
structure.
(TT_Load_CMap): Ditto.
* src/sfnt/sfobjs.c (tt_encodings): Add MS UCS4 table (before MS
Unicode).
* src/type1/t1driver.c (t1_get_name_index): Fix compiler warning.
2001-08-13 15:44:29 +04:00
|
|
|
#define TT_NAME_ID_CID_FINDFONT_NAME 20
|
|
|
|
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* This is new in OpenType 1.5 */
|
|
|
|
#define TT_NAME_ID_WWS_FAMILY 21
|
|
|
|
#define TT_NAME_ID_WWS_SUBFAMILY 22
|
|
|
|
|
1999-12-17 02:11:37 +03:00
|
|
|
|
2000-07-11 10:12:20 +04:00
|
|
|
/*************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* Bit mask values for the Unicode Ranges from the TTF `OS2 ' table. */
|
|
|
|
/* */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Updated 08-Nov-2008. */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* */
|
1999-12-17 02:11:37 +03:00
|
|
|
|
2001-01-22 18:26:02 +03:00
|
|
|
/* Bit 0 Basic Latin */
|
2000-07-11 10:12:20 +04:00
|
|
|
#define TT_UCR_BASIC_LATIN (1L << 0) /* U+0020-U+007E */
|
|
|
|
/* Bit 1 C1 Controls and Latin-1 Supplement */
|
2001-01-05 08:15:49 +03:00
|
|
|
#define TT_UCR_LATIN1_SUPPLEMENT (1L << 1) /* U+0080-U+00FF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 2 Latin Extended-A */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_LATIN_EXTENDED_A (1L << 2) /* U+0100-U+017F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 3 Latin Extended-B */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_LATIN_EXTENDED_B (1L << 3) /* U+0180-U+024F */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Bit 4 IPA Extensions */
|
|
|
|
/* Phonetic Extensions */
|
|
|
|
/* Phonetic Extensions Supplement */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_IPA_EXTENSIONS (1L << 4) /* U+0250-U+02AF */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* U+1D00-U+1D7F */
|
|
|
|
/* U+1D80-U+1DBF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 5 Spacing Modifier Letters */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Modifier Tone Letters */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_SPACING_MODIFIER (1L << 5) /* U+02B0-U+02FF */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* U+A700-U+A71F */
|
|
|
|
/* Bit 6 Combining Diacritical Marks */
|
|
|
|
/* Combining Diacritical Marks Supplement */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_COMBINING_DIACRITICS (1L << 6) /* U+0300-U+036F */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* U+1DC0-U+1DFF */
|
2001-01-05 08:15:49 +03:00
|
|
|
/* Bit 7 Greek and Coptic */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_GREEK (1L << 7) /* U+0370-U+03FF */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Bit 8 Coptic */
|
|
|
|
#define TT_UCR_COPTIC (1L << 8) /* U+2C80-U+2CFF */
|
|
|
|
/* Bit 9 Cyrillic */
|
|
|
|
/* Cyrillic Supplement */
|
|
|
|
/* Cyrillic Extended-A */
|
|
|
|
/* Cyrillic Extended-B */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_CYRILLIC (1L << 9) /* U+0400-U+04FF */
|
2002-11-15 23:05:58 +03:00
|
|
|
/* U+0500-U+052F */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* U+2DE0-U+2DFF */
|
|
|
|
/* U+A640-U+A69F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 10 Armenian */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_ARMENIAN (1L << 10) /* U+0530-U+058F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 11 Hebrew */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_HEBREW (1L << 11) /* U+0590-U+05FF */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Bit 12 Vai */
|
|
|
|
#define TT_UCR_VAI (1L << 12) /* U+A500-U+A63F */
|
|
|
|
/* Bit 13 Arabic */
|
|
|
|
/* Arabic Supplement */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_ARABIC (1L << 13) /* U+0600-U+06FF */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* U+0750-U+077F */
|
|
|
|
/* Bit 14 NKo */
|
|
|
|
#define TT_UCR_NKO (1L << 14) /* U+07C0-U+07FF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 15 Devanagari */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_DEVANAGARI (1L << 15) /* U+0900-U+097F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 16 Bengali */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_BENGALI (1L << 16) /* U+0980-U+09FF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 17 Gurmukhi */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_GURMUKHI (1L << 17) /* U+0A00-U+0A7F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 18 Gujarati */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_GUJARATI (1L << 18) /* U+0A80-U+0AFF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 19 Oriya */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_ORIYA (1L << 19) /* U+0B00-U+0B7F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 20 Tamil */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_TAMIL (1L << 20) /* U+0B80-U+0BFF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 21 Telugu */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_TELUGU (1L << 21) /* U+0C00-U+0C7F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 22 Kannada */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_KANNADA (1L << 22) /* U+0C80-U+0CFF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 23 Malayalam */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_MALAYALAM (1L << 23) /* U+0D00-U+0D7F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 24 Thai */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_THAI (1L << 24) /* U+0E00-U+0E7F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 25 Lao */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_LAO (1L << 25) /* U+0E80-U+0EFF */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Bit 26 Georgian */
|
|
|
|
/* Georgian Supplement */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_GEORGIAN (1L << 26) /* U+10A0-U+10FF */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* U+2D00-U+2D2F */
|
|
|
|
/* Bit 27 Balinese */
|
|
|
|
#define TT_UCR_BALINESE (1L << 27) /* U+1B00-U+1B7F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 28 Hangul Jamo */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_HANGUL_JAMO (1L << 28) /* U+1100-U+11FF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 29 Latin Extended Additional */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Latin Extended-C */
|
|
|
|
/* Latin Extended-D */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_LATIN_EXTENDED_ADDITIONAL (1L << 29) /* U+1E00-U+1EFF */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* U+2C60-U+2C7F */
|
|
|
|
/* U+A720-U+A7FF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 30 Greek Extended */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_GREEK_EXTENDED (1L << 30) /* U+1F00-U+1FFF */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Bit 31 General Punctuation */
|
|
|
|
/* Supplemental Punctuation */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_GENERAL_PUNCTUATION (1L << 31) /* U+2000-U+206F */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* U+2E00-U+2E7F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 32 Superscripts And Subscripts */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_SUPERSCRIPTS_SUBSCRIPTS (1L << 0) /* U+2070-U+209F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 33 Currency Symbols */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_CURRENCY_SYMBOLS (1L << 1) /* U+20A0-U+20CF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 34 Combining Diacritical Marks For Symbols */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_COMBINING_DIACRITICS_SYMB (1L << 2) /* U+20D0-U+20FF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 35 Letterlike Symbols */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_LETTERLIKE_SYMBOLS (1L << 3) /* U+2100-U+214F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 36 Number Forms */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_NUMBER_FORMS (1L << 4) /* U+2150-U+218F */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Bit 37 Arrows */
|
|
|
|
/* Supplemental Arrows-A */
|
|
|
|
/* Supplemental Arrows-B */
|
|
|
|
/* Miscellaneous Symbols and Arrows */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_ARROWS (1L << 5) /* U+2190-U+21FF */
|
2002-11-15 23:05:58 +03:00
|
|
|
/* U+27F0-U+27FF */
|
|
|
|
/* U+2900-U+297F */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* U+2B00-U+2BFF */
|
|
|
|
/* Bit 38 Mathematical Operators */
|
|
|
|
/* Supplemental Mathematical Operators */
|
|
|
|
/* Miscellaneous Mathematical Symbols-A */
|
|
|
|
/* Miscellaneous Mathematical Symbols-B */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_MATHEMATICAL_OPERATORS (1L << 6) /* U+2200-U+22FF */
|
2002-11-15 23:05:58 +03:00
|
|
|
/* U+2A00-U+2AFF */
|
|
|
|
/* U+27C0-U+27EF */
|
|
|
|
/* U+2980-U+29FF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 39 Miscellaneous Technical */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_MISCELLANEOUS_TECHNICAL (1L << 7) /* U+2300-U+23FF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 40 Control Pictures */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_CONTROL_PICTURES (1L << 8) /* U+2400-U+243F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 41 Optical Character Recognition */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_OCR (1L << 9) /* U+2440-U+245F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 42 Enclosed Alphanumerics */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_ENCLOSED_ALPHANUMERICS (1L << 10) /* U+2460-U+24FF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 43 Box Drawing */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_BOX_DRAWING (1L << 11) /* U+2500-U+257F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 44 Block Elements */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_BLOCK_ELEMENTS (1L << 12) /* U+2580-U+259F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 45 Geometric Shapes */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_GEOMETRIC_SHAPES (1L << 13) /* U+25A0-U+25FF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 46 Miscellaneous Symbols */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_MISCELLANEOUS_SYMBOLS (1L << 14) /* U+2600-U+26FF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 47 Dingbats */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_DINGBATS (1L << 15) /* U+2700-U+27BF */
|
2001-01-05 08:15:49 +03:00
|
|
|
/* Bit 48 CJK Symbols and Punctuation */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_CJK_SYMBOLS (1L << 16) /* U+3000-U+303F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 49 Hiragana */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_HIRAGANA (1L << 17) /* U+3040-U+309F */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Bit 50 Katakana */
|
|
|
|
/* Katakana Phonetic Extensions */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_KATAKANA (1L << 18) /* U+30A0-U+30FF */
|
2002-11-15 23:05:58 +03:00
|
|
|
/* U+31F0-U+31FF */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Bit 51 Bopomofo */
|
|
|
|
/* Bopomofo Extended */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_BOPOMOFO (1L << 19) /* U+3100-U+312F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* U+31A0-U+31BF */
|
|
|
|
/* Bit 52 Hangul Compatibility Jamo */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_HANGUL_COMPATIBILITY_JAMO (1L << 20) /* U+3130-U+318F */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Bit 53 Phags-Pa */
|
|
|
|
#define TT_UCR_CJK_MISC (1L << 21) /* U+A840-U+A87F */
|
|
|
|
#define TT_UCR_KANBUN TT_UCR_CJK_MISC /* deprecated */
|
|
|
|
#define TT_UCR_PHAGSPA
|
2001-01-05 08:15:49 +03:00
|
|
|
/* Bit 54 Enclosed CJK Letters and Months */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_ENCLOSED_CJK_LETTERS_MONTHS (1L << 22) /* U+3200-U+32FF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 55 CJK Compatibility */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_CJK_COMPATIBILITY (1L << 23) /* U+3300-U+33FF */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Bit 56 Hangul Syllables */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_HANGUL (1L << 24) /* U+AC00-U+D7A3 */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Bit 57 High Surrogates */
|
|
|
|
/* High Private Use Surrogates */
|
|
|
|
/* Low Surrogates */
|
|
|
|
/* */
|
|
|
|
/* According to OpenType specs v.1.3+, */
|
|
|
|
/* setting bit 57 implies that there is */
|
|
|
|
/* at least one codepoint beyond the */
|
|
|
|
/* Basic Multilingual Plane that is */
|
|
|
|
/* supported by this font. So it really */
|
|
|
|
/* means >= U+10000 */
|
2001-01-22 18:26:02 +03:00
|
|
|
#define TT_UCR_SURROGATES (1L << 25) /* U+D800-U+DB7F */
|
|
|
|
/* U+DB80-U+DBFF */
|
|
|
|
/* U+DC00-U+DFFF */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
#define TT_UCR_NON_PLANE_0 TT_UCR_SURROGATES
|
|
|
|
/* Bit 58 Phoenician */
|
|
|
|
#define TT_UCR_PHOENICIAN (1L << 26) /*U+10900-U+1091F*/
|
|
|
|
/* Bit 59 CJK Unified Ideographs */
|
|
|
|
/* CJK Radicals Supplement */
|
|
|
|
/* Kangxi Radicals */
|
|
|
|
/* Ideographic Description Characters */
|
|
|
|
/* CJK Unified Ideographs Extension A */
|
|
|
|
/* CJK Unified Ideographs Extension B */
|
|
|
|
/* Kanbun */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_CJK_UNIFIED_IDEOGRAPHS (1L << 27) /* U+4E00-U+9FFF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* U+2E80-U+2EFF */
|
|
|
|
/* U+2F00-U+2FDF */
|
|
|
|
/* U+2FF0-U+2FFF */
|
2001-01-05 08:15:49 +03:00
|
|
|
/* U+3400-U+4DB5 */
|
2002-11-15 23:05:58 +03:00
|
|
|
/*U+20000-U+2A6DF*/
|
|
|
|
/* U+3190-U+319F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 60 Private Use */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_PRIVATE_USE (1L << 28) /* U+E000-U+F8FF */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Bit 61 CJK Strokes */
|
|
|
|
/* CJK Compatibility Ideographs */
|
|
|
|
/* CJK Compatibility Ideographs Supplement */
|
|
|
|
#define TT_UCR_CJK_COMPATIBILITY_IDEOGRAPHS (1L << 29) /* U+31C0-U+31EF */
|
|
|
|
/* U+F900-U+FAFF */
|
2002-11-15 23:05:58 +03:00
|
|
|
/*U+2F800-U+2FA1F*/
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 62 Alphabetic Presentation Forms */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_ALPHABETIC_PRESENTATION_FORMS (1L << 30) /* U+FB00-U+FB4F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 63 Arabic Presentation Forms-A */
|
|
|
|
#define TT_UCR_ARABIC_PRESENTATIONS_A (1L << 31) /* U+FB50-U+FDFF */
|
|
|
|
/* Bit 64 Combining Half Marks */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_COMBINING_HALF_MARKS (1L << 0) /* U+FE20-U+FE2F */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Bit 65 Vertical forms */
|
|
|
|
/* CJK Compatibility Forms */
|
|
|
|
#define TT_UCR_CJK_COMPATIBILITY_FORMS (1L << 1) /* U+FE10-U+FE1F */
|
|
|
|
/* U+FE30-U+FE4F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 66 Small Form Variants */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_SMALL_FORM_VARIANTS (1L << 2) /* U+FE50-U+FE6F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 67 Arabic Presentation Forms-B */
|
|
|
|
#define TT_UCR_ARABIC_PRESENTATIONS_B (1L << 3) /* U+FE70-U+FEFE */
|
2001-01-05 08:15:49 +03:00
|
|
|
/* Bit 68 Halfwidth and Fullwidth Forms */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_HALFWIDTH_FULLWIDTH_FORMS (1L << 4) /* U+FF00-U+FFEF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 69 Specials */
|
|
|
|
#define TT_UCR_SPECIALS (1L << 5) /* U+FFF0-U+FFFD */
|
|
|
|
/* Bit 70 Tibetan */
|
2001-01-05 08:15:49 +03:00
|
|
|
#define TT_UCR_TIBETAN (1L << 6) /* U+0F00-U+0FFF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 71 Syriac */
|
2000-03-23 20:24:28 +03:00
|
|
|
#define TT_UCR_SYRIAC (1L << 7) /* U+0700-U+074F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 72 Thaana */
|
2000-03-23 20:24:28 +03:00
|
|
|
#define TT_UCR_THAANA (1L << 8) /* U+0780-U+07BF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 73 Sinhala */
|
2000-03-23 20:24:28 +03:00
|
|
|
#define TT_UCR_SINHALA (1L << 9) /* U+0D80-U+0DFF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 74 Myanmar */
|
2000-03-23 20:24:28 +03:00
|
|
|
#define TT_UCR_MYANMAR (1L << 10) /* U+1000-U+109F */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Bit 75 Ethiopic */
|
|
|
|
/* Ethiopic Supplement */
|
|
|
|
/* Ethiopic Extended */
|
2001-01-05 08:15:49 +03:00
|
|
|
#define TT_UCR_ETHIOPIC (1L << 11) /* U+1200-U+137F */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* U+1380-U+139F */
|
|
|
|
/* U+2D80-U+2DDF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 76 Cherokee */
|
2000-03-23 20:24:28 +03:00
|
|
|
#define TT_UCR_CHEROKEE (1L << 12) /* U+13A0-U+13FF */
|
2001-01-05 08:15:49 +03:00
|
|
|
/* Bit 77 Unified Canadian Aboriginal Syllabics */
|
|
|
|
#define TT_UCR_CANADIAN_ABORIGINAL_SYLLABICS (1L << 13) /* U+1400-U+167F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 78 Ogham */
|
2000-03-23 20:24:28 +03:00
|
|
|
#define TT_UCR_OGHAM (1L << 14) /* U+1680-U+169F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 79 Runic */
|
2000-03-23 20:24:28 +03:00
|
|
|
#define TT_UCR_RUNIC (1L << 15) /* U+16A0-U+16FF */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Bit 80 Khmer */
|
|
|
|
/* Khmer Symbols */
|
2000-03-23 20:24:28 +03:00
|
|
|
#define TT_UCR_KHMER (1L << 16) /* U+1780-U+17FF */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* U+19E0-U+19FF */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* Bit 81 Mongolian */
|
2000-03-23 20:24:28 +03:00
|
|
|
#define TT_UCR_MONGOLIAN (1L << 17) /* U+1800-U+18AF */
|
2001-01-05 08:15:49 +03:00
|
|
|
/* Bit 82 Braille Patterns */
|
2000-03-23 20:24:28 +03:00
|
|
|
#define TT_UCR_BRAILLE (1L << 18) /* U+2800-U+28FF */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Bit 83 Yi Syllables */
|
|
|
|
/* Yi Radicals */
|
2001-01-05 08:15:49 +03:00
|
|
|
#define TT_UCR_YI (1L << 19) /* U+A000-U+A48F */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* U+A490-U+A4CF */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Bit 84 Tagalog */
|
|
|
|
/* Hanunoo */
|
|
|
|
/* Buhid */
|
|
|
|
/* Tagbanwa */
|
2002-11-15 23:05:58 +03:00
|
|
|
#define TT_UCR_PHILIPPINE (1L << 20) /* U+1700-U+171F */
|
|
|
|
/* U+1720-U+173F */
|
|
|
|
/* U+1740-U+175F */
|
|
|
|
/* U+1760-U+177F */
|
|
|
|
/* Bit 85 Old Italic */
|
|
|
|
#define TT_UCR_OLD_ITALIC (1L << 21) /*U+10300-U+1032F*/
|
|
|
|
/* Bit 86 Gothic */
|
|
|
|
#define TT_UCR_GOTHIC (1L << 22) /*U+10330-U+1034F*/
|
|
|
|
/* Bit 87 Deseret */
|
|
|
|
#define TT_UCR_DESERET (1L << 23) /*U+10400-U+1044F*/
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Bit 88 Byzantine Musical Symbols */
|
|
|
|
/* Musical Symbols */
|
|
|
|
/* Ancient Greek Musical Notation */
|
2002-11-15 23:05:58 +03:00
|
|
|
#define TT_UCR_MUSICAL_SYMBOLS (1L << 24) /*U+1D000-U+1D0FF*/
|
|
|
|
/*U+1D100-U+1D1FF*/
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/*U+1D200-U+1D24F*/
|
2002-11-15 23:05:58 +03:00
|
|
|
/* Bit 89 Mathematical Alphanumeric Symbols */
|
|
|
|
#define TT_UCR_MATH_ALPHANUMERIC_SYMBOLS (1L << 25) /*U+1D400-U+1D7FF*/
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Bit 90 Private Use (plane 15) */
|
|
|
|
/* Private Use (plane 16) */
|
2002-11-15 23:05:58 +03:00
|
|
|
#define TT_UCR_PRIVATE_USE_SUPPLEMENTARY (1L << 26) /*U+F0000-U+FFFFD*/
|
|
|
|
/*U+100000-U+10FFFD*/
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Bit 91 Variation Selectors */
|
|
|
|
/* Variation Selectors Supplement */
|
2002-11-15 23:05:58 +03:00
|
|
|
#define TT_UCR_VARIATION_SELECTORS (1L << 27) /* U+FE00-U+FE0F */
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/*U+E0100-U+E01EF*/
|
2002-11-15 23:05:58 +03:00
|
|
|
/* Bit 92 Tags */
|
|
|
|
#define TT_UCR_TAGS (1L << 28) /*U+E0000-U+E007F*/
|
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-09 01:00:55 +03:00
|
|
|
/* Bit 93 Limbu */
|
|
|
|
#define TT_UCR_LIMBU (1L << 29) /* U+1900-U+194F */
|
|
|
|
/* Bit 94 Tai Le */
|
|
|
|
#define TT_UCR_TAI_LE (1L << 30) /* U+1950-U+197F */
|
|
|
|
/* Bit 95 New Tai Lue */
|
|
|
|
#define TT_UCR_NEW_TAI_LUE (1L << 31) /* U+1980-U+19DF */
|
|
|
|
/* Bit 96 Buginese */
|
|
|
|
#define TT_UCR_BUGINESE (1L << 0) /* U+1A00-U+1A1F */
|
|
|
|
/* Bit 97 Glagolitic */
|
|
|
|
#define TT_UCR_GLAGOLITIC (1L << 1) /* U+2C00-U+2C5F */
|
|
|
|
/* Bit 98 Tifinagh */
|
|
|
|
#define TT_UCR_TIFINAGH (1L << 2) /* U+2D30-U+2D7F */
|
|
|
|
/* Bit 99 Yijing Hexagram Symbols */
|
|
|
|
#define TT_UCR_YIJING (1L << 3) /* U+4DC0-U+4DFF */
|
|
|
|
/* Bit 100 Syloti Nagri */
|
|
|
|
#define TT_UCR_SYLOTI_NAGRI (1L << 4) /* U+A800-U+A82F */
|
|
|
|
/* Bit 101 Linear B Syllabary */
|
|
|
|
/* Linear B Ideograms */
|
|
|
|
/* Aegean Numbers */
|
|
|
|
#define TT_UCR_LINEAR_B (1L << 5) /*U+10000-U+1007F*/
|
|
|
|
/*U+10080-U+100FF*/
|
|
|
|
/*U+10100-U+1013F*/
|
|
|
|
/* Bit 102 Ancient Greek Numbers */
|
|
|
|
#define TT_UCR_ANCIENT_GREEK_NUMBERS (1L << 6) /*U+10140-U+1018F*/
|
|
|
|
/* Bit 103 Ugaritic */
|
|
|
|
#define TT_UCR_UGARITIC (1L << 7) /*U+10380-U+1039F*/
|
|
|
|
/* Bit 104 Old Persian */
|
|
|
|
#define TT_UCR_OLD_PERSIAN (1L << 8) /*U+103A0-U+103DF*/
|
|
|
|
/* Bit 105 Shavian */
|
|
|
|
#define TT_UCR_SHAVIAN (1L << 9) /*U+10450-U+1047F*/
|
|
|
|
/* Bit 106 Osmanya */
|
|
|
|
#define TT_UCR_OSMANYA (1L << 10) /*U+10480-U+104AF*/
|
|
|
|
/* Bit 107 Cypriot Syllabary */
|
|
|
|
#define TT_UCR_CYPRIOT_SYLLABARY (1L << 11) /*U+10800-U+1083F*/
|
|
|
|
/* Bit 108 Kharoshthi */
|
|
|
|
#define TT_UCR_KHAROSHTHI (1L << 12) /*U+10A00-U+10A5F*/
|
|
|
|
/* Bit 109 Tai Xuan Jing Symbols */
|
|
|
|
#define TT_UCR_TAI_XUAN_JING (1L << 13) /*U+1D300-U+1D35F*/
|
|
|
|
/* Bit 110 Cuneiform */
|
|
|
|
/* Cuneiform Numbers and Punctuation */
|
|
|
|
#define TT_UCR_CUNEIFORM (1L << 14) /*U+12000-U+123FF*/
|
|
|
|
/*U+12400-U+1247F*/
|
|
|
|
/* Bit 111 Counting Rod Numerals */
|
|
|
|
#define TT_UCR_COUNTING_ROD_NUMERALS (1L << 15) /*U+1D360-U+1D37F*/
|
|
|
|
/* Bit 112 Sundanese */
|
|
|
|
#define TT_UCR_SUNDANESE (1L << 16) /* U+1B80-U+1BBF */
|
|
|
|
/* Bit 113 Lepcha */
|
|
|
|
#define TT_UCR_LEPCHA (1L << 17) /* U+1C00-U+1C4F */
|
|
|
|
/* Bit 114 Ol Chiki */
|
|
|
|
#define TT_UCR_OL_CHIKI (1L << 18) /* U+1C50-U+1C7F */
|
|
|
|
/* Bit 115 Saurashtra */
|
|
|
|
#define TT_UCR_SAURASHTRA (1L << 19) /* U+A880-U+A8DF */
|
|
|
|
/* Bit 116 Kayah Li */
|
|
|
|
#define TT_UCR_KAYAH_LI (1L << 20) /* U+A900-U+A92F */
|
|
|
|
/* Bit 117 Rejang */
|
|
|
|
#define TT_UCR_REJANG (1L << 21) /* U+A930-U+A95F */
|
|
|
|
/* Bit 118 Cham */
|
|
|
|
#define TT_UCR_CHAM (1L << 22) /* U+AA00-U+AA5F */
|
|
|
|
/* Bit 119 Ancient Symbols */
|
|
|
|
#define TT_UCR_ANCIENT_SYMBOLS (1L << 23) /*U+10190-U+101CF*/
|
|
|
|
/* Bit 120 Phaistos Disc */
|
|
|
|
#define TT_UCR_PHAISTOS_DISC (1L << 24) /*U+101D0-U+101FF*/
|
|
|
|
/* Bit 121 Carian */
|
|
|
|
/* Lycian */
|
|
|
|
/* Lydian */
|
|
|
|
#define TT_UCR_OLD_ANATOLIAN (1L << 25) /*U+102A0-U+102DF*/
|
|
|
|
/*U+10280-U+1029F*/
|
|
|
|
/*U+10920-U+1093F*/
|
|
|
|
/* Bit 122 Domino Tiles */
|
|
|
|
/* Mahjong Tiles */
|
|
|
|
#define TT_UCR_GAME_TILES (1L << 26) /*U+1F030-U+1F09F*/
|
|
|
|
/*U+1F000-U+1F02F*/
|
|
|
|
/* Bit 123-127 Reserved for process-internal usage */
|
1999-12-17 02:11:37 +03:00
|
|
|
|
|
|
|
|
2000-07-11 10:12:20 +04:00
|
|
|
/*************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* Some compilers have a very limited length of identifiers. */
|
|
|
|
/* */
|
1999-12-17 02:11:37 +03:00
|
|
|
#if defined( __TURBOC__ ) && __TURBOC__ < 0x0410 || defined( __PACIFIC__ )
|
|
|
|
#define HAVE_LIMIT_ON_IDENTS
|
|
|
|
#endif
|
|
|
|
|
2000-07-11 10:12:20 +04:00
|
|
|
|
1999-12-17 02:11:37 +03:00
|
|
|
#ifndef HAVE_LIMIT_ON_IDENTS
|
|
|
|
|
2000-04-04 20:46:12 +04:00
|
|
|
|
2000-07-11 10:12:20 +04:00
|
|
|
/*************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* Here some alias #defines in order to be clearer. */
|
|
|
|
/* */
|
2013-09-03 13:33:10 +04:00
|
|
|
/* These are not always #defined to stay within the 31~character limit, */
|
2000-07-11 10:12:20 +04:00
|
|
|
/* which some compilers have. */
|
|
|
|
/* */
|
|
|
|
/* Credits go to Dave Hoo <dhoo@flash.net> for pointing out that modern */
|
|
|
|
/* Borland compilers (read: from BC++ 3.1 on) can increase this limit. */
|
|
|
|
/* If you get a warning with such a compiler, use the -i40 switch. */
|
|
|
|
/* */
|
1999-12-17 02:11:37 +03:00
|
|
|
#define TT_UCR_ARABIC_PRESENTATION_FORMS_A \
|
|
|
|
TT_UCR_ARABIC_PRESENTATIONS_A
|
|
|
|
#define TT_UCR_ARABIC_PRESENTATION_FORMS_B \
|
2000-04-04 20:46:12 +04:00
|
|
|
TT_UCR_ARABIC_PRESENTATIONS_B
|
1999-12-17 02:11:37 +03:00
|
|
|
|
|
|
|
#define TT_UCR_COMBINING_DIACRITICAL_MARKS \
|
|
|
|
TT_UCR_COMBINING_DIACRITICS
|
|
|
|
#define TT_UCR_COMBINING_DIACRITICAL_MARKS_SYMB \
|
|
|
|
TT_UCR_COMBINING_DIACRITICS_SYMB
|
|
|
|
|
2000-07-11 10:12:20 +04:00
|
|
|
|
|
|
|
#endif /* !HAVE_LIMIT_ON_IDENTS */
|
|
|
|
|
1999-12-17 02:11:37 +03:00
|
|
|
|
2000-12-09 03:45:38 +03:00
|
|
|
FT_END_HEADER
|
2000-08-01 17:17:04 +04:00
|
|
|
|
2000-12-01 02:12:33 +03:00
|
|
|
#endif /* __TTNAMEID_H__ */
|
1999-12-17 02:11:37 +03:00
|
|
|
|
|
|
|
|
|
|
|
/* END */
|