--- a/fontservices/fontstore/inc/OPENFONT.H Mon Jul 12 14:38:26 2010 +0800
+++ b/fontservices/fontstore/inc/OPENFONT.H Mon Jul 12 15:26:00 2010 +0800
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 1998-2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
@@ -39,7 +39,6 @@
class COpenFontFile;
class COpenFontGlyph;
class COpenFontGlyphCache;
-class COpenFontGlyphTreeEntry;
class COpenFontPositioner;
class COpenFontSessionCache;
class COpenFontSessionCacheList;
@@ -251,7 +250,6 @@
// is actually of size iBitmapBufferSize.
};
-class COpenFontGlyph;
/**
Open Font System font abstract base class.
@@ -341,14 +339,6 @@
TInt GetFontTable(TUint32 aTag, TAny*& aTableContent, TInt& aLength);
TInt GetGlyphOutline(TUint aCode, TBool aHinted, TAny*& aOutline, TInt& aLength);
-protected:
- /** WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases.
- */
- TInt PointerToThisOffset(const TAny* aAny);
- /** WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases.
- */
- TAny* ThisOffsetToPointer(const TInt aOffset);
-
protected:
RHeap* iHeap;
TOpenFontMetrics iMetrics;
@@ -380,16 +370,11 @@
TInt iFontLineGap;
private:
const COpenFontGlyph* Glyph(TInt aSessionHandle,TInt aCode) const;
-protected:
-
- /** WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases.
- */
- const COpenFontGlyph* FontCacheGlyph(TInt aCode,TInt*& aNode);
+
const COpenFontGlyph* FontCacheGlyph(TInt aCode);
void SetGlyphCache(COpenFontGlyphCache* aGlyphCache);
-private:
const COpenFontGlyph* SessionCacheGlyph(RHeap* aHeap,TInt aSessionHandle,TInt aCode,
COpenFontSessionCache*& aCache,TInt& aIndex,TBool aCreate) const;
void RasterizeHelperL(TInt aCode,TOpenFontGlyphData* aGlyphData,TOpenFontGlyphData*& aTempGlyphData);
@@ -406,14 +391,10 @@
TInt iFileOffset;
TInt iFaceIndex; // index of the face in the font file
-protected:
- /**
- WARNING: Compatibility is not guaranteed in future releases. Please use the provided APIs only.
- Offset from the address of this font of the per-font glyph cache which is owned by the font
- @internalTechnology
- */
+
+ // Offset from the address of this font of the per-font glyph cache which is owned by the font
TInt iGlyphCacheOffset;
-private:
+
// Offset from the address of this font of the list of per-session glyph
// caches which are owned by CFontStore
TInt iSessionCacheListOffset;