diff -r 5d03bc08d59c -r 01a6848ebfd7 graphicsdeviceinterface/gdi/inc/GDI.H --- a/graphicsdeviceinterface/gdi/inc/GDI.H Tue Feb 02 01:47:50 2010 +0200 +++ b/graphicsdeviceinterface/gdi/inc/GDI.H Fri Apr 16 16:21:04 2010 +0300 @@ -1,4 +1,4 @@ -// 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" @@ -140,7 +140,12 @@ /** Insufficient text for successful completion of the method */ EGdiPanic_OutOfText = 2, /** Internal failure. */ - EGdiPanic_Invariant = 3 + EGdiPanic_Invariant = 3, + /** Reserved panic codes. Not to be used. */ + EGdiPanic_Reserved1 = 4, + EGdiPanic_Reserved2 = 5, + /** Setting a typeface name that is too long */ + EGdiPanic_TypefaceNameOverflow = 6, }; @@ -560,6 +565,8 @@ IMPORT_C void SetScriptTypeForMetrics(TLanguage aLanguage); IMPORT_C void SetScriptTypeForMetrics(TInt aScript); IMPORT_C TInt ScriptTypeForMetrics() const; + IMPORT_C void SetName(const TDesC& aName); + IMPORT_C const TDesC& Name() const; private: void ResetAttributes(); void ResetScriptType(); @@ -1222,7 +1229,10 @@ const TUid KFontStandardDescent = {0x10204B11}; const TUid KFontMaxDescent = {0x10205AFC}; const TUid KFontLineGap = {0x10204B12}; - +const TUid KFontGetFontTable = {0x102872C1}; +const TUid KFontGetGlyphOutline = {0x102872C2}; +const TUid KFontReleaseGlyphOutline = {0x2002A1FD}; +const TUid KFontReleaseFontTable = {0x2002AC24}; /** Abstract font interface.