|
virtual ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::TtfTables::TtfTableRepository > | get_TtfTables () |
| Gets TTF tables. More...
|
|
virtual ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::Font > | get_CffFont () |
| Gets CFF Font if present. More...
|
|
ASPOSE_FONT_SHARED_API Aspose::Font::FontType | get_FontType () override |
| Gets Font type. Returns FontType.TTF value. More...
|
|
ASPOSE_FONT_SHARED_API System::String | get_FontFamily () override |
| Gets or Sets Font family. More...
|
|
ASPOSE_FONT_SHARED_API void | set_FontFamily (System::String value) override |
| Gets or Sets Font family. More...
|
|
ASPOSE_FONT_SHARED_API System::String | get_Style () override |
| Gets or Sets Font style. This is a raw string value provided by Font file. More...
|
|
ASPOSE_FONT_SHARED_API void | set_Style (System::String value) override |
| Gets or Sets Font style. This is a raw string value provided by Font file. More...
|
|
ASPOSE_FONT_SHARED_API Aspose::Font::FontStyle | get_FontStyle () override |
| Gets Font style. This is a value computed and represented in generalized type. More...
|
|
ASPOSE_FONT_SHARED_API System::String | get_FontName () override |
| Gets or Sets Font face name. More...
|
|
ASPOSE_FONT_SHARED_API void | set_FontName (System::String value) override |
| Gets or Sets Font face name. More...
|
|
ASPOSE_FONT_SHARED_API System::SharedPtr< MultiLanguageString > | get_FontNames () override |
| Gets Font names. More...
|
|
ASPOSE_FONT_SHARED_API System::SharedPtr< MultiLanguageString > | get_PostscriptNames () override |
| Gets Postscript Font names. More...
|
|
ASPOSE_FONT_SHARED_API int32_t | get_NumGlyphs () override |
| Gets number of glyphs in the Font. More...
|
|
ASPOSE_FONT_SHARED_API bool | get_IsSymbolic () |
| Returns true in case Font is symbolic. More...
|
|
ASPOSE_FONT_SHARED_API System::SharedPtr< IFontMetrics > | get_Metrics () override |
| Gets Font metrics. More...
|
|
ASPOSE_FONT_SHARED_API System::SharedPtr< IFontEncoding > | get_Encoding () override |
| Gets Font encoding. More...
|
|
ASPOSE_FONT_SHARED_API Aspose::Font::Glyphs::GlyphIdType | get_GlyphIdType () override |
| Gets glyph id type specification. More...
|
|
ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::Sources::FontDefinition > | get_FontDefinition () override |
| Gets Font definition. More...
|
|
ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::Glyphs::Glyph > | GetGlyphById (System::SharedPtr< Aspose::Font::Glyphs::GlyphId > id) override |
| Returns glyph by glyph id. Glyph id is a unique number for a glyph, which is font type dependent. TTF Font glyph id can be instance of (GlyphStringId) class or (GlyphUInt32Id) class. Name (string) glyph addressing is supported for TTF Fonts via Post table mapping. In case CFF Font inside, the CFF structures are used to address glyphs by name. More...
|
|
ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::Glyphs::Glyph > | GetGlyphById (System::String glyphName) |
| Returns glyph by glyph name. Name (string) glyph addressing is supported for TTF fonts via Post table mapping. In case CFF Font inside, the CFF structures are used to address glyphs by name. More...
|
|
ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::Glyphs::Glyph > | GetGlyphById (uint32_t id) |
| Returns glyph by glyph id. More...
|
|
ASPOSE_FONT_SHARED_API System::ArrayPtr< System::SharedPtr< Aspose::Font::Glyphs::GlyphId > > | GetAllGlyphIds () override |
| Returns array of all glyph ids, available in the Font. Glyph id is a unique number for a glyph, which is font type dependent. TTF Font glyph id can be instance of (GlyphStringId) class or (GlyphUInt32Id) class. Name (string) glyph addressing is supported for TTF Fonts via Post table mapping. In case CFF Font inside, the CFF structures are used to address glyphs by name. More...
|
|
virtual ASPOSE_FONT_SHARED_API void | GetGlyphComponentsById (System::SharedPtr< Aspose::Font::Glyphs::GlyphId > id, System::SharedPtr< Aspose::Font::Glyphs::GlyphIdList > componentsToPopulate) |
| Gets a glyph by glyph identifier passed and fills passed list of glyph identifiers with components of this glyph. Glyph id is a unique number for a glyph, which is font type dependent. TTF Font glyph id can be instance of (GlyphStringId) class or (GlyphUInt32Id) class. Name (string) glyph addressing is supported for TTF Fonts via Post table mapping. In case CFF Font inside, the CFF structures are used to address glyphs by name. More...
|
|
ASPOSE_FONT_SHARED_API void | GetGlyphComponentsById (System::String glyphName, System::SharedPtr< Aspose::Font::Glyphs::GlyphIdList > componentsToPopulate) |
| Gets a glyph by glyph name passed and fills passed list of glyph identifiers with components of this glyph. More...
|
|
ASPOSE_FONT_SHARED_API void | GetGlyphComponentsById (uint32_t id, System::SharedPtr< Aspose::Font::Glyphs::GlyphIdList > componentsToPopulate) |
| Gets a glyph by glyph index passed and fills passed list of glyph identifiers with components of this glyph. More...
|
|
ASPOSE_FONT_SHARED_API System::ArrayPtr< System::SharedPtr< Aspose::Font::Glyphs::GlyphId > > | GetGlyphsForText (System::String text) override |
| Get glyphs representation for text. More...
|
|
ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::Font > | Convert (Aspose::Font::FontType fontType) override |
| Converts the Font into another format. More...
|
|
ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::Font > | Convert (Aspose::Font::FontType fontType, System::SharedPtr< System::Collections::Generic::ICollection< uint32_t >> limitingCharacterSet) |
| Converts the Font into another format with limiting character set More...
|
|
ASPOSE_FONT_SHARED_API System::SharedPtr< Glyphs::IGlyphAccessor > | get_GlyphAccessor () override |
| Font glyph accessor. Retrieves glyphs and glyph identifiers. More...
|
|
ASPOSE_FONT_SHARED_API System::SharedPtr< IFontSaver > | get_FontSaver () override |
| Gets Font save functionality. More...
|
|
ASPOSE_FONT_SHARED_API void | Save (System::SharedPtr< System::IO::Stream > stream) override |
| Saves the Font into original format. More...
|
|
ASPOSE_FONT_SHARED_API void | Save (System::String fileName) override |
| Saves the Font into original format. More...
|
|
ASPOSE_FONT_SHARED_API void | SaveToFormat (System::SharedPtr< System::IO::Stream > stream, FontSavingFormats outFormat) override |
| Saves the Font into format specified. More...
|
|
ASPOSE_FONT_SHARED_API System::SharedPtr< Glyphs::Glyph > | GetGlyphById (System::SharedPtr< Glyphs::GlyphId > id) override=0 |
| Returns glyph by glyph id. Glyph id is a unique number for a glyph, which is font type dependent. GlyphId - derived object. For example: Type1's id is a glyph name, instance of (GlyphStringId) class. TTF's id is an int index, instance of (GlyphUInt32Id) class. More...
|
|
ASPOSECPP_SHARED_API | Object () |
| Creates object. Initializes all internal data structures. More...
|
|
virtual ASPOSECPP_SHARED_API | ~Object () |
| Destroys object. Frees all internal data structures. More...
|
|
ASPOSECPP_SHARED_API | Object (Object const &x) |
| Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
|
|
Object & | operator= (Object const &x) |
| Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
|
|
Object * | SharedRefAdded () |
| Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
|
|
int | SharedRefRemovedSafe () |
| Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
|
|
int | RemovedSharedRefs (int count) |
| Decreases shared reference count by specified value. More...
|
|
Detail::SmartPtrCounter * | WeakRefAdded () |
| Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
|
|
void | WeakRefRemoved () |
| Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
|
|
Detail::SmartPtrCounter * | GetCounter () |
| Gets reference counter data structure associated with the object. More...
|
|
int | SharedCount () const |
| Gets current value of shared reference counter. More...
|
|
ASPOSECPP_SHARED_API void | Lock () |
| Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
|
|
ASPOSECPP_SHARED_API void | Unlock () |
| Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
|
|
virtual ASPOSECPP_SHARED_API bool | Equals (ptr obj) |
| Compares objects using C# Object.Equals semantics. More...
|
|
virtual ASPOSECPP_SHARED_API int32_t | GetHashCode () const |
| Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
|
|
virtual ASPOSECPP_SHARED_API String | ToString () const |
| Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
|
|
virtual ASPOSECPP_SHARED_API ptr | MemberwiseClone () const |
| Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
|
|
virtual ASPOSECPP_SHARED_API const TypeInfo & | GetType () const |
| Gets actual type of object. Analog of C# System.Object.GetType() call. More...
|
|
virtual ASPOSECPP_SHARED_API bool | Is (const TypeInfo &targetType) const |
| Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
|
|
virtual ASPOSECPP_SHARED_API void | SetTemplateWeakPtr (uint32_t argument) |
| Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
|
|
virtual ASPOSECPP_SHARED_API bool | FastCast (const Details::FastRttiBase &helper, void **out_ptr) const |
| For internal purposes only. More...
|
|
template<> |
bool | Equals (float const &objA, float const &objB) |
| Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
|
|
template<> |
bool | Equals (double const &objA, double const &objB) |
| Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
|
|
template<> |
bool | ReferenceEquals (String const &str, std::nullptr_t) |
| Specialization of Object::ReferenceEquals for case of string and nullptr. More...
|
|
template<> |
bool | ReferenceEquals (String const &str1, String const &str2) |
| Specialization of Object::ReferenceEquals for case of strings. More...
|
|
virtual System::SharedPtr< Glyph > | GetGlyphById (System::SharedPtr< GlyphId > id)=0 |
| Returns glyph by glyph id. Glyph id is a unique number for a glyph, which is font type dependent. GlyphId - derived object. For example: Type1's id is a glyph name, instance of (GlyphStringId) class. TTF's id is an int index, instance of (GlyphUInt32Id) class. More...
|
|
virtual void | SetVentureLicense (System::SharedPtr< VentureLicense > license)=0 |
|
|
bool | get_RequiresBytecodeHinting () |
| Returns true if the font requires hinting. More...
|
|
System::SharedPtr< Internals::TtfParserContext > | get_AdoptedHintingFrom () |
| Font that provides hinting strustures More...
|
|
void | set_AdoptedHintingFrom (System::SharedPtr< Internals::TtfParserContext > value) |
| Font that provides hinting strustures More...
|
|
virtual ASPOSE_FONT_SHARED_API void | set_TtfTables (System::SharedPtr< Aspose::Font::TtfTables::TtfTableRepository > value) |
| Gets TTF tables. More...
|
|
ASPOSE_FONT_SHARED_API void | set_FontNames (System::SharedPtr< MultiLanguageString > value) override |
| Gets Font names. More...
|
|
ASPOSE_FONT_SHARED_API void | set_PostscriptNames (System::SharedPtr< MultiLanguageString > value) override |
| Gets Postscript Font names. More...
|
|
bool | get_IsPdfOpenTypeExtension () const |
|
void | set_IsPdfOpenTypeExtension (bool value) |
|
Aspose::Font::Ttf::Internals::OutlineType | get_OutlineType () const |
|
void | set_OutlineType (Aspose::Font::Ttf::Internals::OutlineType value) |
|
bool | get_HasAdvancedTypographicTables () |
| The Advanced typographic tables (OpenType Layout tables) extend the functionality of fonts with either TrueType or CFF outlines. OpenType Layout fonts contain additional information that extends the capabilities of the fonts to support high-quality international typography. Current release supports such tables: GDEF, GPOS, GSUB More...
|
|
| TtfFont (System::SharedPtr< TtfFont > baseFont) |
| Creates empty TTF font that adopt some important font characteristics More...
|
|
| MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (TtfFont, CODEPORTING_ARGS(System::SharedPtr< TtfFont > baseFont)) |
|
| TtfFont () |
| Creates empty TTF font object. More...
|
|
| MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (TtfFont, CODEPORTING_ARGS()) |
|
| TtfFont (System::SharedPtr< Aspose::Font::Sources::FontDefinition > fontDefinition, System::SharedPtr< Aspose::Font::TtfTables::TtfTableRepository > ttfTables) |
| Internal constructor. A factory should be used to create the font More...
|
|
| MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (TtfFont, CODEPORTING_ARGS(System::SharedPtr< Aspose::Font::Sources::FontDefinition > fontDefinition, System::SharedPtr< Aspose::Font::TtfTables::TtfTableRepository > ttfTables)) |
|
void | SetFontFamilyInternally (System::String value, bool isModifiedTable=false) |
| Internal Font family setter. More...
|
|
void | SetStyleInternally (System::String value, bool isModifiedTable=false) |
| Internal Style setter. More...
|
|
void | SetFontNameInternally (System::String value, bool isModifiedTable=false) |
| Internal Font face name setter. More...
|
|
ASPOSE_FONT_SHARED_API System::SharedPtr< IFontSubset > | DoSubset () override |
| Creates font subset More...
|
|
uint16_t | AddGlyph (System::SharedPtr< Aspose::Font::Glyphs::Glyph > glyph) |
| Adds glyph to the font. Returns glyph index of the newly added glyph. More...
|
|
uint16_t | CopyAllGlyphsForConverter (System::SharedPtr< Aspose::Font::Font > srcFont) |
| Copy all array of glyphs from another font Release only for fonts with numeric indexing of glyphs More...
|
|
uint16_t | CopyGlyphsSetForConverter (System::SharedPtr< Utils::CharacterAndGlyphSet > characterAndGlyphSet) |
|
System::SharedPtr< Aspose::Font::Otl::AdvancedTypographicTables::OtlTextContext > | GetGlyphContextForText (System::String text) |
| Gets glyph's context for input text More...
|
|
uint32_t | GlyphIdToUInt (System::SharedPtr< Aspose::Font::Glyphs::GlyphId > id) |
| returns Glyph id as uint More...
|
|
void | AddTable (System::String tableName, System::SharedPtr< Internals::TtfParserContext > context, uint32_t checkSum, uint32_t offset, uint32_t length) |
|
virtual ASPOSE_FONT_SHARED_API | ~TtfFont () |
|
System::SharedPtr< Rendering::FontRenderingContext > | get_RenderingContext () const |
|
bool | get_IsVentureLicensed () |
| Gets venture licensed state of the object. Returns true if font has venture license and false otherwise. More...
|
|
| Font () |
|
void | Save (System::SharedPtr< System::IO::Stream > stream, Font::FontSaveRequirements saveRequirements) |
|
void | Save (System::String fileName, Font::FontSaveRequirements saveRequirements) |
|
virtual ASPOSE_FONT_SHARED_API | ~Font () |
|
|
typedef SmartPtr< Object > | ptr |
| Alias for smart pointer type. More...
|
|
static ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::Font > | Open (System::SharedPtr< Aspose::Font::Sources::FontDefinition > fontDefinition) |
| Opens a font, using FontDefinition object. More...
|
|
static ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::Font > | Open (Aspose::Font::FontType fontType, System::SharedPtr< Sources::StreamSource > fontStreamSource) |
| Opens a font, using font type and stream source. More...
|
|
static ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::Font > | Open (Aspose::Font::FontType fontType, System::String fileName) |
| Opens a font, using font type and font file name. More...
|
|
static ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::Font > | Open (Aspose::Font::FontType fontType, System::ArrayPtr< uint8_t > fontData) |
| Opens a font, using font type and font data byte array. More...
|
|
static bool | ReferenceEquals (ptr const &objA, ptr const &objB) |
| Compares objects by reference. More...
|
|
template<typename T > |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, T const &objB) |
| Compares objects by reference. More...
|
|
template<typename T > |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, std::nullptr_t) |
| Reference-compares value type object with nullptr. More...
|
|
template<typename T1 , typename T2 > |
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
| Compares reference type objects in C# style. More...
|
|
template<typename T1 , typename T2 > |
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
| Compares value type objects in C# style. More...
|
|
static const TypeInfo & | Type () |
| Implements C# typeof(System.Object) construct. More...
|
|
enum | FontSaveRequirements : uint8_t { FontSaveRequirements::SaveAllTables,
FontSaveRequirements::SavePdfTables
} |
|
System::SharedPtr< Aspose::Font::Glyphs::GlyphsStatistic > | GlyphsStatistic |
| To hold statistic about glyphs operations More...
|
|