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