os/textandloc/fontservices/fontstore/inc/openfontconstants.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description: 
    15 * A header for constants for the open font system, which allows
    16 * SymbianOS to use fonts of arbitrary types, including TrueType/OpenType
    17 * and other outline font formats.
    18 *
    19 */
    20 
    21 
    22 #ifndef OPENFONTCONSTANTS_H
    23 #define OPENFONTCONSTANTS_H
    24 
    25 /**
    26 The OpenFont ECOM Plug-in Interface Definition UID.
    27 
    28 @internalTechnology
    29 */
    30 const TInt KUidOpenFontRasterizerPlunginInterface = 0x101F7F5D;
    31 
    32 /**
    33 The Shaper Factory ECOM Plug-in Interface Definition UID.
    34 
    35 @internalTechnology
    36 */
    37 const TInt KUidShaperFactoryPlunginInterface = 0x10279726;
    38 
    39 
    40 /**
    41 Replacement character code.
    42 
    43 This is a Unicode private use area codepoint, which is reserved in the Symbian 
    44 OS to represent characters for which a glyph does not exist in a font (either 
    45 a bitmap or scalable font). If a glyph exists in a font with this character 
    46 code, it will be used for nonexistent characters, otherwise, the rasterizer's 
    47 default replacement character glyph will be used. For example, TrueType fonts 
    48 return glyph index 0 for nonexistent characters, and that is usually mapped 
    49 to an empty rectangle.
    50 @internalTechnology
    51 */
    52 const TUint KReplacementCharacter = 0xF6DB;
    53 
    54 /**
    55 KFillCharacterOffset is a significant offset that is set when a character within a code section is 
    56 not in the font. This means that for these fill characters nothing is stored within the binary
    57 data part of the code section.
    58 @internalTechnology
    59 */
    60 const TInt KFillCharacterOffset = 0x7FFF;
    61 
    62 #endif /*OPENFONTCONSTANTS_H*/