equal
deleted
inserted
replaced
80 @see MOpenFontTrueTypeExtension |
80 @see MOpenFontTrueTypeExtension |
81 @publishedAll |
81 @publishedAll |
82 @released |
82 @released |
83 */ |
83 */ |
84 const TUid KUidOpenFontTrueTypeExtension = {0x1027553E}; |
84 const TUid KUidOpenFontTrueTypeExtension = {0x1027553E}; |
85 const TUid KUidOpenFontGlyphOutlineExtension = {0x102872CE}; |
|
86 |
85 |
87 /** |
86 /** |
88 Supplied to CShaper::ExtendedInterface() to get the language and script |
87 Supplied to CShaper::ExtendedInterface() to get the language and script |
89 code with which the current shaper is instatsiated. |
88 code with which the current shaper is instatsiated. |
90 @see CShaper::ExtendedInterface() |
89 @see CShaper::ExtendedInterface() |
336 inline TInt FontStandardDescent() const; |
335 inline TInt FontStandardDescent() const; |
337 inline TInt FontMaxDescent() const; |
336 inline TInt FontMaxDescent() const; |
338 inline TInt FontLineGap() const; |
337 inline TInt FontLineGap() const; |
339 inline TInt FontMaxHeight() const; |
338 inline TInt FontMaxHeight() const; |
340 void DeleteShaper() const; |
339 void DeleteShaper() const; |
341 TInt GetFontTable(TUint32 aTag, TAny*& aTableContent, TInt& aLength); |
|
342 TInt GetGlyphOutline(TUint aCode, TBool aHinted, TAny*& aOutline, TInt& aLength); |
|
343 |
340 |
344 protected: |
341 protected: |
345 /** WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases. |
342 /** WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases. |
346 */ |
343 */ |
347 TInt PointerToThisOffset(const TAny* aAny); |
344 TInt PointerToThisOffset(const TAny* aAny); |
553 @return True if the table exists in the font file, false otherwise. |
550 @return True if the table exists in the font file, false otherwise. |
554 @see GetTrueTypeTable */ |
551 @see GetTrueTypeTable */ |
555 virtual TBool HasTrueTypeTable(TUint32 aTag) = 0; |
552 virtual TBool HasTrueTypeTable(TUint32 aTag) = 0; |
556 }; |
553 }; |
557 |
554 |
558 class MOpenFontGlyphOutlineExtension |
|
559 { |
|
560 public: |
|
561 virtual TInt GetGlyphOutline(TUint aCode, TBool aIsGlyphId, |
|
562 TBool aHinted, TAny*& aOutline, TInt& aLength) = 0; |
|
563 }; |
|
564 /** |
555 /** |
565 Font attribute base class. |
556 Font attribute base class. |
566 |
557 |
567 This class is not intended for user derivation. |
558 This class is not intended for user derivation. |
568 |
559 |