sl@0: /* sl@0: * Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * A header for constants for the open font system, which allows sl@0: * SymbianOS to use fonts of arbitrary types, including TrueType/OpenType sl@0: * and other outline font formats. sl@0: * sl@0: */ sl@0: sl@0: sl@0: #ifndef OPENFONTCONSTANTS_H sl@0: #define OPENFONTCONSTANTS_H sl@0: sl@0: /** sl@0: The OpenFont ECOM Plug-in Interface Definition UID. sl@0: sl@0: @internalTechnology sl@0: */ sl@0: const TInt KUidOpenFontRasterizerPlunginInterface = 0x101F7F5D; sl@0: sl@0: /** sl@0: The Shaper Factory ECOM Plug-in Interface Definition UID. sl@0: sl@0: @internalTechnology sl@0: */ sl@0: const TInt KUidShaperFactoryPlunginInterface = 0x10279726; sl@0: sl@0: sl@0: /** sl@0: Replacement character code. sl@0: sl@0: This is a Unicode private use area codepoint, which is reserved in the Symbian sl@0: OS to represent characters for which a glyph does not exist in a font (either sl@0: a bitmap or scalable font). If a glyph exists in a font with this character sl@0: code, it will be used for nonexistent characters, otherwise, the rasterizer's sl@0: default replacement character glyph will be used. For example, TrueType fonts sl@0: return glyph index 0 for nonexistent characters, and that is usually mapped sl@0: to an empty rectangle. sl@0: @internalTechnology sl@0: */ sl@0: const TUint KReplacementCharacter = 0xF6DB; sl@0: sl@0: /** sl@0: KFillCharacterOffset is a significant offset that is set when a character within a code section is sl@0: not in the font. This means that for these fill characters nothing is stored within the binary sl@0: data part of the code section. sl@0: @internalTechnology sl@0: */ sl@0: const TInt KFillCharacterOffset = 0x7FFF; sl@0: sl@0: #endif /*OPENFONTCONSTANTS_H*/