epoc32/include/linkedfonts.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
williamr@4
     1
/*
williamr@4
     2
* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
williamr@4
     3
* All rights reserved.
williamr@4
     4
* This component and the accompanying materials are made available
williamr@4
     5
* under the terms of "Eclipse Public License v1.0"
williamr@4
     6
* which accompanies this distribution, and is available
williamr@4
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
williamr@4
     8
*
williamr@4
     9
* Initial Contributors:
williamr@4
    10
* Nokia Corporation - initial contribution.
williamr@4
    11
*
williamr@4
    12
* Contributors:
williamr@4
    13
*
williamr@4
    14
* Description: 
williamr@4
    15
*
williamr@4
    16
*/
williamr@4
    17
williamr@4
    18
williamr@4
    19
#ifndef __LINKEDFONTS_H__
williamr@4
    20
#define __LINKEDFONTS_H__
williamr@4
    21
williamr@4
    22
_LIT(KFNTSTORELinkedFontsPanicCategory,"LINKED_FONTS");
williamr@4
    23
williamr@4
    24
class CLinkedTypefaceBody;
williamr@4
    25
class CLinkedTypefaceSpecificationBody;
williamr@4
    26
class CLinkedTypefaceElementSpec;
williamr@4
    27
class CLinkedTypefaceGroup;
williamr@4
    28
class CFbsTypefaceStore;
williamr@4
    29
class TLinkedTypefaceSpecificationArgs;
williamr@4
    30
williamr@4
    31
/**
williamr@4
    32
This class contains the specification of a linked typeface. It is made up of groups and typefaces.
williamr@4
    33
williamr@4
    34
Groups (CLinkedTypefaceGroup) must contain one or more typeface; the attributes of the group control how the rasterizer
williamr@4
    35
draws the typefaces within the group.
williamr@4
    36
williamr@4
    37
Typefaces (CLinkedTypefaceElementSpec) specify which individual typefaces make up the linked typeface. These are
williamr@4
    38
referred to as "elements" of the linked typeface.
williamr@4
    39
williamr@4
    40
Once the linked typeface has been created users can use it as if it were any other typeface assuming there
williamr@4
    41
is a rasteriser that supports this feature available. When selecting a character the rasterize searches
williamr@4
    42
each typeface in turn from the lowest index to the highest. When drawing text, the first typeface to contain
williamr@4
    43
the required character is used.
williamr@4
    44
williamr@4
    45
KMaxLinkedTypefaces and KMaxLinkedTypefaceGroups define the maximum number of typefaces and groups that can be
williamr@4
    46
added to the specification.
williamr@4
    47
williamr@4
    48
This class is not thread safe.
williamr@4
    49
williamr@4
    50
WARNING: Class for internal and partner use ONLY.  Compatibility is not guaranteed in future releases.
williamr@4
    51
williamr@4
    52
@publishedAll
williamr@4
    53
@released
williamr@4
    54
@see CLinkedTypefaceElementSpec
williamr@4
    55
@see CLinkedTypefaceGroup
williamr@4
    56
@see KLinkedMaxTypefaces
williamr@4
    57
@see KMaxLinkedTypefaceGroups
williamr@4
    58
*/
williamr@4
    59
NONSHARABLE_CLASS(CLinkedTypefaceSpecification) : public CBase
williamr@4
    60
{
williamr@4
    61
public:
williamr@4
    62
	/**
williamr@4
    63
	This function constructs the linked typeface specification and places it on the CleanupStack.
williamr@4
    64
	
williamr@4
    65
	The specification must contain at least one group and one typeface in order for registration to be successful.
williamr@4
    66
	
williamr@4
    67
	@param aName The name of the linked typeface. This name should not be the same as an existing typeface.
williamr@4
    68
	
williamr@4
    69
	@return A linked typeface specification object
williamr@4
    70
	*/
williamr@4
    71
	IMPORT_C static CLinkedTypefaceSpecification* NewLC(const TDesC& aTypefaceName);
williamr@4
    72
williamr@4
    73
	/**
williamr@4
    74
	The name of this linked typeface
williamr@4
    75
	@return The name of this linked typeface
williamr@4
    76
	*/
williamr@4
    77
	IMPORT_C TPtrC Name() const;
williamr@4
    78
williamr@4
    79
	/**
williamr@4
    80
	The number of typeface that have been added to this object
williamr@4
    81
	@return TInt The number of typeface that have been added to this object
williamr@4
    82
	*/
williamr@4
    83
	IMPORT_C TInt TypefaceCount() const;
williamr@4
    84
williamr@4
    85
	/**
williamr@4
    86
	Returns the linked typeface at the specified index. 
williamr@4
    87
	The first typeface is at index 0, the last at TypefaceCount()-1.
williamr@4
    88
	@return The linked typeface.  Null is returned on error.
williamr@4
    89
	@see CLinkedTypefaceSpecification::NumberOfTypefaces()
williamr@4
    90
	*/
williamr@4
    91
	IMPORT_C CLinkedTypefaceElementSpec* Typeface(TInt aIndex) const;
williamr@4
    92
williamr@4
    93
	/**
williamr@4
    94
	Function to return the index of the canonical (metrics) typeface. The typeface can be
williamr@4
    95
	retrieved by passing the index to Typeface().
williamr@4
    96
	
williamr@4
    97
	@return TInt The index to the canonical typeface
williamr@4
    98
	@return KErrNotFound No canonical typeface exists
williamr@4
    99
	@return KErrOverFlow There is more than one canonical typeface
williamr@4
   100
	@see CLinkedTypefaceSpecification::Typeface()
williamr@4
   101
	*/
williamr@4
   102
	IMPORT_C TInt CanonicalIndex();
williamr@4
   103
	
williamr@4
   104
	/**
williamr@4
   105
	Adds the supplied CLinkedTypefaceElementSpec to the Linked Typeface specification.
williamr@4
   106
	The element is placed at the specified index. Adding a canonical element will only be successful
williamr@4
   107
	if one has not already been added. The specification takes ownership of the element specification
williamr@4
   108
	if adding is successful.
williamr@4
   109
	
williamr@4
   110
	@param aElementSpec The specification to be added.
williamr@4
   111
	@param aIndex The position at which the element spec will be added.
williamr@4
   112
williamr@4
   113
	@see CLinkedTypefaceSpecification::AddTypefaceAtBackL()
williamr@4
   114
	@see CLinkedTypefaceSpecification::RemoveTypeface()
williamr@4
   115
	@see KMaxLinkedTypefaces
williamr@4
   116
	
williamr@4
   117
	@leave KErrArgument If the element is canonical and a canonical element already exists or if the group ID doesn't exist
williamr@4
   118
	@leave KErrNoMemory There was not enough memory available to perform this operation
williamr@4
   119
	@leave KErrOverflow The typeface specification is full; adding would exceed KMaxLinkedTypefaces
williamr@4
   120
	*/
williamr@4
   121
	IMPORT_C void AddTypefaceAtIndexL(CLinkedTypefaceElementSpec& aElementSpec, TInt aIndex);
williamr@4
   122
williamr@4
   123
	/**
williamr@4
   124
	Adds the supplied CLinkedTypefaceElementSpec to the Linked Typeface specification.
williamr@4
   125
	The element is placed at the back of the specification. Adding a canonical element will only be 
williamr@4
   126
	successful if one has not already been added. The specification takes ownership of the element 
williamr@4
   127
	specification if adding is successful.
williamr@4
   128
	
williamr@4
   129
	@param aElementSpec
williamr@4
   130
williamr@4
   131
	@see CLinkedTypefaceSpecification::AddTypefaceAtIndexL()
williamr@4
   132
	@see CLinkedTypefaceSpecification::RemoveTypeface()
williamr@4
   133
	@see KMaxLinkedTypefaces
williamr@4
   134
	
williamr@4
   135
	@leave KErrArgument If the element is canonical and a canonical element already exists or if the group ID doesn't exist
williamr@4
   136
	@leave KErrNoMemory There was not enough memory available to perform this operation
williamr@4
   137
	@leave KErrOverflow The typeface specification is full; adding would exceed KMaxLinkedTypefaces
williamr@4
   138
	*/
williamr@4
   139
	IMPORT_C void AddTypefaceAtBackL(CLinkedTypefaceElementSpec& aElementSpec);
williamr@4
   140
williamr@4
   141
	/**
williamr@4
   142
	Removes the element spec at the specified index from this specification.
williamr@4
   143
	This function deletes the element spec. If the element is the only one within its group
williamr@4
   144
	the group is also removed and deleted from the specification.
williamr@4
   145
williamr@4
   146
	@param aIndex the index of the element spec to be removed
williamr@4
   147
williamr@4
   148
	@return TInt KErrNone if Removal was successful; KErrNotFound If the index is negative or larger than the number of typeface elements or the element doesn't exist
williamr@4
   149
	*/
williamr@4
   150
	IMPORT_C TInt RemoveTypeface(TInt aIndex);
williamr@4
   151
williamr@4
   152
	/**
williamr@4
   153
	Creates the linked typeface so that it is available to use a normal typeface.
williamr@4
   154
williamr@4
   155
	@param aStore The Typeface Store the linked typeface should be registered with
williamr@4
   156
williamr@4
   157
	@panic EFbsPanicNoConnection There is no connection to the Font & Bitmap Server
williamr@4
   158
williamr@4
   159
	@leave KErrNotFound One or more of the typeface elements do not exist
williamr@4
   160
	@leave KErrOverflow The linked typeface contains too many or 0 elements
williamr@4
   161
	@leave KErrArgument The typeface has no or more than one canonical element
williamr@4
   162
	@leave KErrAlreadyExists A typeface with the same name already exists
williamr@4
   163
	@leave KErrNotSupported There is not a rasterizer available that supports linked typefaces
williamr@4
   164
	*/
williamr@4
   165
	IMPORT_C void RegisterLinkedTypefaceL(CFbsTypefaceStore& aStore);
williamr@4
   166
	
williamr@4
   167
	/**
williamr@4
   168
	Retrieves the linked typeface specification from the server; the name of the typeface to
williamr@4
   169
	retrieve should be specified at construction. All typefaces and groups contained in the
williamr@4
   170
	specification are removed before retrieval of the new data. 
williamr@4
   171
	
williamr@4
   172
	@see CLinkedTypefaceSpecification::NewLC()
williamr@4
   173
	
williamr@4
   174
	@param aStore A pointer to the FontStore
williamr@4
   175
williamr@4
   176
	@leave KErrNotSupported There is not a rasterizer available that supports linked typefaces
williamr@4
   177
	@leave KErrArgument The font specified does not exist or is not a linked typeface
williamr@4
   178
	*/
williamr@4
   179
	IMPORT_C void FetchLinkedTypefaceSpecificationL(CFbsTypefaceStore& aStore);
williamr@4
   180
	
williamr@4
   181
	/**
williamr@4
   182
	 Adds the group specified to this specification.
williamr@4
   183
	 The specification takes ownership of the group if addition is successful.
williamr@4
   184
	 
williamr@4
   185
	 @param aGroup The group to be added
williamr@4
   186
	 
williamr@4
   187
	 @see CLinkedTypefaceSpecification::RemoveLinkedTypefaceGroup()
williamr@4
   188
	 
williamr@4
   189
	 @leave KErrAlreadyExists A group with the same ID is already present in the specification
williamr@4
   190
	 */
williamr@4
   191
	IMPORT_C void AddLinkedTypefaceGroupL(CLinkedTypefaceGroup& aGroup);
williamr@4
   192
	
williamr@4
   193
	/**
williamr@4
   194
	This will remove the group and all the elements associated with it.
williamr@4
   195
	
williamr@4
   196
	@param aGroupId The Id of the group to be removed
williamr@4
   197
	*/
williamr@4
   198
	IMPORT_C TInt RemoveLinkedTypefaceGroup(TInt aGroupId);
williamr@4
   199
	
williamr@4
   200
	/**
williamr@4
   201
	Returns the linked typeface group with the specified group ID.
williamr@4
   202
	
williamr@4
   203
	@param aGroupId The linked typeface group ID
williamr@4
   204
	@return The linked typeface group specified or NULL if it doesn't exist
williamr@4
   205
	*/
williamr@4
   206
	IMPORT_C CLinkedTypefaceGroup* GroupById(TInt aGroupId) const; 
williamr@4
   207
	
williamr@4
   208
	/**
williamr@4
   209
	Returns the linked typeface group at the specified index within the specification.
williamr@4
   210
	The Index ranges from 0 to the value returned by NumberOfGroups()-1.
williamr@4
   211
	
williamr@4
   212
	@param aGroupIndex The linked typeface groups index within the specification
williamr@4
   213
	@return The linked typeface group specified or NULL if it doesn't exist
williamr@4
   214
	*/
williamr@4
   215
	IMPORT_C CLinkedTypefaceGroup* Group(TInt aGroupIndex) const;
williamr@4
   216
	
williamr@4
   217
	/**
williamr@4
   218
	Returns the number of groups that this linked typeface specification contains.
williamr@4
   219
	
williamr@4
   220
	@see CLinkedTypefaceSpecification::Group()
williamr@4
   221
	
williamr@4
   222
	@return TInt Number of groups
williamr@4
   223
	*/
williamr@4
   224
	IMPORT_C TInt GroupCount() const;
williamr@4
   225
	
williamr@4
   226
	/**
williamr@4
   227
	Default destructor
williamr@4
   228
	*/
williamr@4
   229
	IMPORT_C ~CLinkedTypefaceSpecification();
williamr@4
   230
	
williamr@4
   231
	/**
williamr@4
   232
	 Removes and destroys all groups and elements from the specification.
williamr@4
   233
	 
williamr@4
   234
	 WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases.
williamr@4
   235
	 */
williamr@4
   236
	IMPORT_C void Clear();
williamr@4
   237
	
williamr@4
   238
	/**
williamr@4
   239
	 Update the specification of an existing linked typeface.
williamr@4
   240
	 
williamr@4
   241
	 @param aStore A typeface store
williamr@4
   242
	 
williamr@4
   243
	 @publishedPartner
williamr@4
   244
	 */
williamr@4
   245
	IMPORT_C void UpdateLinkedTypefaceL(CFbsTypefaceStore& aStore);
williamr@4
   246
	
williamr@4
   247
private:
williamr@4
   248
	CLinkedTypefaceSpecification();
williamr@4
   249
	void ConstructL(const TDesC& aTypefaceName);
williamr@4
   250
	void DoAddTypefaceL(CLinkedTypefaceElementSpec& aElementSpec, TInt aPos);
williamr@4
   251
	
williamr@4
   252
private:
williamr@4
   253
	CLinkedTypefaceSpecificationBody *iBody;
williamr@4
   254
	};
williamr@4
   255
williamr@4
   256
williamr@4
   257
/**
williamr@4
   258
Class to specify an individual typeface within a linked typeface.
williamr@4
   259
williamr@4
   260
WARNING: Class for internal and partner use ONLY.  Compatibility is not guaranteed in future releases.
williamr@4
   261
williamr@4
   262
@see CLinkedTypefaceSpecification
williamr@4
   263
@see CLinkedTypefaceGroup
williamr@4
   264
williamr@4
   265
@publishedAll
williamr@4
   266
@released
williamr@4
   267
*/
williamr@4
   268
NONSHARABLE_CLASS(CLinkedTypefaceElementSpec) : public CBase
williamr@4
   269
	{
williamr@4
   270
public:
williamr@4
   271
	/**
williamr@4
   272
	Create a new linked typeface element specification. The name specified must be an existing typeface
williamr@4
   273
	that should be added to the linked typeface. The group ID links this typeface to a linked typeface
williamr@4
   274
	group.
williamr@4
   275
	
williamr@4
   276
	@see CLinkedTypefaceGroup
williamr@4
   277
	
williamr@4
   278
	@param aTypefaceName The typeface name for this element
williamr@4
   279
	@param aGroupId The ID of the linked font group this element should belong to
williamr@4
   280
	
williamr@4
   281
	@return The newly created element spec
williamr@4
   282
	*/
williamr@4
   283
	IMPORT_C static CLinkedTypefaceElementSpec* NewLC(const TDesC& aTypefaceName, TInt aGroupId);
williamr@4
   284
williamr@4
   285
	/**
williamr@4
   286
	Returns the typeface that this element represents within the linked typeface.
williamr@4
   287
	
williamr@4
   288
	@return	The element typeface name
williamr@4
   289
	*/
williamr@4
   290
	IMPORT_C TPtrC ElementName() const;
williamr@4
   291
	
williamr@4
   292
	/**
williamr@4
   293
	Set whether the element is the canonical (metrics) font. 
williamr@4
   294
	This is the font that provides all the metrics for the linked typeface.
williamr@4
   295
	
williamr@4
   296
	@param aIsCanonical ETrue if the element is canonical, EFalse otherwise
williamr@4
   297
	*/
williamr@4
   298
	IMPORT_C void SetCanonical(TBool aIsCanonical);
williamr@4
   299
	/**
williamr@4
   300
	@return	ETrue if the lement is canonical, EFalse otherwise
williamr@4
   301
	*/
williamr@4
   302
	IMPORT_C TBool Canonical() const;
williamr@4
   303
	
williamr@4
   304
	/**
williamr@4
   305
	@return The group ID specified at construction.
williamr@4
   306
	 */
williamr@4
   307
	IMPORT_C TInt GroupId() const;
williamr@4
   308
	
williamr@4
   309
	/**
williamr@4
   310
	Default Destructor
williamr@4
   311
	*/
williamr@4
   312
	IMPORT_C ~CLinkedTypefaceElementSpec();
williamr@4
   313
williamr@4
   314
private:
williamr@4
   315
	/**
williamr@4
   316
	Constructor
williamr@4
   317
	*/
williamr@4
   318
	CLinkedTypefaceElementSpec(TInt aGroupId);
williamr@4
   319
	void ConstructL(const TDesC& aName);
williamr@4
   320
	
williamr@4
   321
private:
williamr@4
   322
	HBufC*	iElementName;
williamr@4
   323
	TBool	iIsCanonical;
williamr@4
   324
	TInt	iGroupId;
williamr@4
   325
	};
williamr@4
   326
williamr@4
   327
/**
williamr@4
   328
This class contains parameters used to describe the groups that linked typeface elements are associated to.
williamr@4
   329
These "metrics" apply to all fonts that are specified to be within the group.
williamr@4
   330
williamr@4
   331
WARNING: Class for internal and partner use ONLY.  Compatibility is not guaranteed in future releases.
williamr@4
   332
williamr@4
   333
@publishedAll
williamr@4
   334
@released
williamr@4
   335
*/
williamr@4
   336
NONSHARABLE_CLASS(CLinkedTypefaceGroup) : public CBase
williamr@4
   337
	{
williamr@4
   338
public:
williamr@4
   339
	/**
williamr@4
   340
	Specifies the different ways in which a typeface belonging to this group can be scaled.
williamr@4
   341
	 */
williamr@4
   342
	enum TScalingOption
williamr@4
   343
		{
williamr@4
   344
		EScalingNone,
williamr@4
   345
		EScalingUp,
williamr@4
   346
		EScalingDown,
williamr@4
   347
		EScalingUpOrDown,
williamr@4
   348
		};
williamr@4
   349
	/**
williamr@4
   350
	Specifies whether the font baseline of fonts belonging to this group should be shifted or not.
williamr@4
   351
	 */
williamr@4
   352
	enum TBaselineShift
williamr@4
   353
		{
williamr@4
   354
		EBaselineShift,
williamr@4
   355
		ENoBaselineShift,
williamr@4
   356
		};
williamr@4
   357
	/**
williamr@4
   358
	Constructs a new linked typeface group with the specified ID and places it on the CleanupStack.
williamr@4
   359
	
williamr@4
   360
	By default the Antialiasing Threshold, Boldness Percentage and Italic Angle are set to -1.
williamr@4
   361
	The rasterizer will apply its "best-guess" as to the value in this case.
williamr@4
   362
	The default scaling option is EScalingNone; the default baseline shift is ENoBaselineShift.
williamr@4
   363
	
williamr@4
   364
	@param TInt The group ID of this group
williamr@4
   365
	@return CLinkedTypefaceGroup* A newly constructed group
williamr@4
   366
	*/
williamr@4
   367
	IMPORT_C static CLinkedTypefaceGroup* NewLC(TInt aGroupId);
williamr@4
   368
	
williamr@4
   369
	/**
williamr@4
   370
	The group ID specified at construction.
williamr@4
   371
	
williamr@4
   372
	@return TInt The group ID of this group
williamr@4
   373
	 */
williamr@4
   374
	IMPORT_C TInt GroupId() const;
williamr@4
   375
williamr@4
   376
	/**
williamr@4
   377
	Sets the scaling option associated with the typefaces within this group.
williamr@4
   378
	
williamr@4
   379
	@param TScalingOption The enumeration value corresponding to the required scaling.
williamr@4
   380
	
williamr@4
   381
	@see CLinkedTypefaceGroup::TScalingOption
williamr@4
   382
	*/
williamr@4
   383
	IMPORT_C void SetScalingOption(TScalingOption aOption);
williamr@4
   384
	
williamr@4
   385
	/**
williamr@4
   386
	The scaling option associated with the typefaces within this group.
williamr@4
   387
	
williamr@4
   388
	@see CLinkedTypefaceGroup::TScalingOption
williamr@4
   389
	
williamr@4
   390
	@return TScalingOption Scaling options
williamr@4
   391
	 */
williamr@4
   392
	IMPORT_C TScalingOption ScalingOption() const;
williamr@4
   393
	
williamr@4
   394
	/**
williamr@4
   395
	Sets whether the baseline of typefaces within this group is shifted.
williamr@4
   396
	
williamr@4
   397
	@param TBaselineShift The enumeration value corresponding to the required shifting.
williamr@4
   398
	
williamr@4
   399
	@see CLinkedTypefaceGroup::TBaselineShift
williamr@4
   400
	*/
williamr@4
   401
	IMPORT_C void SetBaselineShift(TBaselineShift aShift);
williamr@4
   402
	
williamr@4
   403
	/**
williamr@4
   404
	The baseline shift associated with the typefaces within this group.
williamr@4
   405
	
williamr@4
   406
	@return TBaselineShift The baseline shift
williamr@4
   407
	*/
williamr@4
   408
	IMPORT_C TBaselineShift BaselineShift() const;
williamr@4
   409
	
williamr@4
   410
	/**
williamr@4
   411
	Sets the boldness percentage used by typefaces belonging to this group.
williamr@4
   412
	
williamr@4
   413
	The percentage is relative to the font size specified. For example if a
williamr@4
   414
	font with an em height of 18 has a boldness percentage of 5% the resulting
williamr@4
   415
	emboldened text	will be emboldened by 18 x (5 / 100) = 0.9 pixels.
williamr@4
   416
	
williamr@4
   417
	@param aPercentage The boldness percentage to be used by this group.
williamr@4
   418
	 */
williamr@4
   419
	IMPORT_C void SetBoldnessPercentage(TInt aPercentage);
williamr@4
   420
	/**
williamr@4
   421
	Returns the current boldness percentage for this typeface group.
williamr@4
   422
	@return The current boldness percentage for this typeface group
williamr@4
   423
	*/
williamr@4
   424
	IMPORT_C TInt BoldnessPercentage() const;
williamr@4
   425
williamr@4
   426
	/**
williamr@4
   427
	Sets the angle (slant) of italic text
williamr@4
   428
	
williamr@4
   429
	@param aAngle The angle (slant) of italic text
williamr@4
   430
	 */
williamr@4
   431
	IMPORT_C void SetItalicAngle(TInt aAngle);
williamr@4
   432
	
williamr@4
   433
	/**
williamr@4
   434
	The angle (slant) of italic text
williamr@4
   435
	
williamr@4
   436
	@return The angle (slant) of italic text
williamr@4
   437
	 */
williamr@4
   438
	IMPORT_C TInt ItalicAngle() const;
williamr@4
   439
	
williamr@4
   440
	/**
williamr@4
   441
	Default constructor
williamr@4
   442
	*/
williamr@4
   443
	~CLinkedTypefaceGroup();
williamr@4
   444
	
williamr@4
   445
private:
williamr@4
   446
	CLinkedTypefaceGroup(TInt aGroupId);
williamr@4
   447
	
williamr@4
   448
private:
williamr@4
   449
	TInt iGroupId;
williamr@4
   450
	TScalingOption iScalingOption;
williamr@4
   451
	TBaselineShift iBaselineShift;
williamr@4
   452
	TInt iBoldnessPercentage;
williamr@4
   453
	TInt iItalicAngle;
williamr@4
   454
	};
williamr@4
   455
#endif