Update contrib.
2 * Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
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.
22 #ifndef OPENFONTCONSTANTS_H
23 #define OPENFONTCONSTANTS_H
26 The OpenFont ECOM Plug-in Interface Definition UID.
30 const TInt KUidOpenFontRasterizerPlunginInterface = 0x101F7F5D;
33 The Shaper Factory ECOM Plug-in Interface Definition UID.
37 const TInt KUidShaperFactoryPlunginInterface = 0x10279726;
41 Replacement character code.
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.
52 const TUint KReplacementCharacter = 0xF6DB;
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.
60 const TInt KFillCharacterOffset = 0x7FFF;
62 #endif /*OPENFONTCONSTANTS_H*/