1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/textandloc/fontservices/fontstore/inc/openfontconstants.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,62 @@
1.4 +/*
1.5 +* Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of "Eclipse Public License v1.0"
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description:
1.18 +* A header for constants for the open font system, which allows
1.19 +* SymbianOS to use fonts of arbitrary types, including TrueType/OpenType
1.20 +* and other outline font formats.
1.21 +*
1.22 +*/
1.23 +
1.24 +
1.25 +#ifndef OPENFONTCONSTANTS_H
1.26 +#define OPENFONTCONSTANTS_H
1.27 +
1.28 +/**
1.29 +The OpenFont ECOM Plug-in Interface Definition UID.
1.30 +
1.31 +@internalTechnology
1.32 +*/
1.33 +const TInt KUidOpenFontRasterizerPlunginInterface = 0x101F7F5D;
1.34 +
1.35 +/**
1.36 +The Shaper Factory ECOM Plug-in Interface Definition UID.
1.37 +
1.38 +@internalTechnology
1.39 +*/
1.40 +const TInt KUidShaperFactoryPlunginInterface = 0x10279726;
1.41 +
1.42 +
1.43 +/**
1.44 +Replacement character code.
1.45 +
1.46 +This is a Unicode private use area codepoint, which is reserved in the Symbian
1.47 +OS to represent characters for which a glyph does not exist in a font (either
1.48 +a bitmap or scalable font). If a glyph exists in a font with this character
1.49 +code, it will be used for nonexistent characters, otherwise, the rasterizer's
1.50 +default replacement character glyph will be used. For example, TrueType fonts
1.51 +return glyph index 0 for nonexistent characters, and that is usually mapped
1.52 +to an empty rectangle.
1.53 +@internalTechnology
1.54 +*/
1.55 +const TUint KReplacementCharacter = 0xF6DB;
1.56 +
1.57 +/**
1.58 +KFillCharacterOffset is a significant offset that is set when a character within a code section is
1.59 +not in the font. This means that for these fill characters nothing is stored within the binary
1.60 +data part of the code section.
1.61 +@internalTechnology
1.62 +*/
1.63 +const TInt KFillCharacterOffset = 0x7FFF;
1.64 +
1.65 +#endif /*OPENFONTCONSTANTS_H*/