From 2eaf0cf8fd6e7c290497fedb08134a89e7b49b1d Mon Sep 17 00:00:00 2001 From: Konstantin Ritt Date: Thu, 19 Mar 2015 17:34:42 +0400 Subject: Update bundled FreeType to 2.5.5 Removed everything, imported with help of import_from_tarball.sh script, and then added a pre-generated builds/unix/ftconfig.h Task-number: QTBUG-44648 Change-Id: Iea948e41f7761f1580382b3763d04c7a61383382 Reviewed-by: Lars Knoll --- .../docs/reference/ft2-glyph_variants.html | 267 --------------------- 1 file changed, 267 deletions(-) delete mode 100644 src/3rdparty/freetype/docs/reference/ft2-glyph_variants.html (limited to 'src/3rdparty/freetype/docs/reference/ft2-glyph_variants.html') diff --git a/src/3rdparty/freetype/docs/reference/ft2-glyph_variants.html b/src/3rdparty/freetype/docs/reference/ft2-glyph_variants.html deleted file mode 100644 index b59ce8a8d5..0000000000 --- a/src/3rdparty/freetype/docs/reference/ft2-glyph_variants.html +++ /dev/null @@ -1,267 +0,0 @@ - - - - -FreeType-2.3.12 API Reference - - - - - - -
[Index][TOC]
-

FreeType-2.3.12 API Reference

- -

-Glyph Variants -

-

Synopsis

- - - - -
FT_Face_GetCharVariantIndexFT_Face_GetVariantsOfChar
FT_Face_GetCharVariantIsDefaultFT_Face_GetCharsOfVariant
FT_Face_GetVariantSelectors


- -
-

Many CJK characters have variant forms. They are a sort of grey area somewhere between being totally irrelevant and semantically distinct; for this reason, the Unicode consortium decided to introduce Ideographic Variation Sequences (IVS), consisting of a Unicode base character and one of 240 variant selectors (U+E0100-U+E01EF), instead of further extending the already huge code range for CJK characters.

-

An IVS is registered and unique; for further details please refer to Unicode Technical Report #37, the Ideographic Variation Database. To date (October 2007), the character with the most variants is U+908A, having 8 such IVS.

-

Adobe and MS decided to support IVS with a new cmap subtable (format 14). It is an odd subtable because it is not a mapping of input code points to glyphs, but contains lists of all variants supported by the font.

-

A variant may be either ‘default’ or ‘non-default’. A default variant is the one you will get for that code point if you look it up in the standard Unicode cmap. A non-default variant is a different glyph.

-

-
-

FT_Face_GetCharVariantIndex

-
-Defined in FT_FREETYPE_H (freetype/freetype.h). -

-
-
-  FT_EXPORT( FT_UInt )
-  FT_Face_GetCharVariantIndex( FT_Face   face,
-                               FT_ULong  charcode,
-                               FT_ULong  variantSelector );
-
-

-
-

Return the glyph index of a given character code as modified by the variation selector.

-

-
input
-

- - - - -
face -

A handle to the source face object.

-
charcode -

The character code point in Unicode.

-
variantSelector -

The Unicode code point of the variation selector.

-
-
-
return
-

The glyph index. 0 means either ‘undefined character code’, or ‘undefined selector code’, or ‘no variation selector cmap subtable’, or ‘current CharMap is not Unicode’.

-
-
note
-

If you use FreeType to manipulate the contents of font files directly, be aware that the glyph index returned by this function doesn't always correspond to the internal indices used within the file. This is done to ensure that value 0 always corresponds to the ‘missing glyph’.

-

This function is only meaningful if a) the font has a variation selector cmap sub table, and b) the current charmap has a Unicode encoding.

-
-
since
-

2.3.6

-
-
-
- - -
[Index][TOC]
- -
-

FT_Face_GetCharVariantIsDefault

-
-Defined in FT_FREETYPE_H (freetype/freetype.h). -

-
-
-  FT_EXPORT( FT_Int )
-  FT_Face_GetCharVariantIsDefault( FT_Face   face,
-                                   FT_ULong  charcode,
-                                   FT_ULong  variantSelector );
-
-

-
-

Check whether this variant of this Unicode character is the one to be found in the ‘cmap’.

-

-
input
-

- - - - -
face -

A handle to the source face object.

-
charcode -

The character codepoint in Unicode.

-
variantSelector -

The Unicode codepoint of the variation selector.

-
-
-
return
-

1 if found in the standard (Unicode) cmap, 0 if found in the variation selector cmap, or -1 if it is not a variant.

-
-
note
-

This function is only meaningful if the font has a variation selector cmap subtable.

-
-
since
-

2.3.6

-
-
-
- - -
[Index][TOC]
- -
-

FT_Face_GetVariantSelectors

-
-Defined in FT_FREETYPE_H (freetype/freetype.h). -

-
-
-  FT_EXPORT( FT_UInt32* )
-  FT_Face_GetVariantSelectors( FT_Face  face );
-
-

-
-

Return a zero-terminated list of Unicode variant selectors found in the font.

-

-
input
-

- - -
face -

A handle to the source face object.

-
-
-
return
-

A pointer to an array of selector code points, or NULL if there is no valid variant selector cmap subtable.

-
-
note
-

The last item in the array is 0; the array is owned by the FT_Face object but can be overwritten or released on the next call to a FreeType function.

-
-
since
-

2.3.6

-
-
-
- - -
[Index][TOC]
- -
-

FT_Face_GetVariantsOfChar

-
-Defined in FT_FREETYPE_H (freetype/freetype.h). -

-
-
-  FT_EXPORT( FT_UInt32* )
-  FT_Face_GetVariantsOfChar( FT_Face   face,
-                             FT_ULong  charcode );
-
-

-
-

Return a zero-terminated list of Unicode variant selectors found for the specified character code.

-

-
input
-

- - - -
face -

A handle to the source face object.

-
charcode -

The character codepoint in Unicode.

-
-
-
return
-

A pointer to an array of variant selector code points which are active for the given character, or NULL if the corresponding list is empty.

-
-
note
-

The last item in the array is 0; the array is owned by the FT_Face object but can be overwritten or released on the next call to a FreeType function.

-
-
since
-

2.3.6

-
-
-
- - -
[Index][TOC]
- -
-

FT_Face_GetCharsOfVariant

-
-Defined in FT_FREETYPE_H (freetype/freetype.h). -

-
-
-  FT_EXPORT( FT_UInt32* )
-  FT_Face_GetCharsOfVariant( FT_Face   face,
-                             FT_ULong  variantSelector );
-
-

-
-

Return a zero-terminated list of Unicode character codes found for the specified variant selector.

-

-
input
-

- - - -
face -

A handle to the source face object.

-
variantSelector -

The variant selector code point in Unicode.

-
-
-
return
-

A list of all the code points which are specified by this selector (both default and non-default codes are returned) or NULL if there is no valid cmap or the variant selector is invalid.

-
-
note
-

The last item in the array is 0; the array is owned by the FT_Face object but can be overwritten or released on the next call to a FreeType function.

-
-
since
-

2.3.6

-
-
-
- - -
[Index][TOC]
- - - -- cgit v1.2.3