Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions english/cpp/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ is_root: true
| [Aspose::Font::TtfHelpers](./aspose.font.ttfhelpers/) | |
| [Aspose::Font::TtfTables](./aspose.font.ttftables/) | |
| [Aspose::Font::Type1](./aspose.font.type1/) | |
| [Aspose::Font::Utils](./aspose.font.utils/) | |
| [Aspose::Font::WoffExceptions](./aspose.font.woffexceptions/) | |
| [System](./system/) | |
| [System::Collections](./system.collections/) | |
Expand Down Expand Up @@ -81,6 +82,7 @@ is_root: true
| [System::Text](./system.text/) | |
| [System::Text::RegularExpressions](./system.text.regularexpressions/) | |
| [System::Threading](./system.threading/) | |
| [System::Threading::Tasks](./system.threading.tasks/) | |
| [System::Timers](./system.timers/) | |
| [System::Web](./system.web/) | |
| [System::Web::Services](./system.web.services/) | |
Expand Down
2 changes: 1 addition & 1 deletion english/cpp/aspose.font.cff/cffencoding/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class CffEncoding : public Aspose::Font::IFontEncoding,
| [GetNameToGidIndex](./getnametogidindex/)() | Returns name to character code encoding map. Note: Character code is not a unicode. Character code is a char index in [Font](../../aspose.font/font/) encoding "table". |
| [GetNameToSidIndex](./getnametosidindex/)() | Returns name to character code encoding map. Note: Character code is not a unicode. Character code is a char index in [Font](../../aspose.font/font/) encoding "table". |
| [GetSidName](./getsidname/)(int32_t) | Gets name for the SID specified. |
| [GidToUnicode](./gidtounicode/)(System::SharedPtr\<Aspose::Font::Glyphs::GlyphId\>) override | Decodes Gid to unicode. Glyph id is a unique number for a glyph, which is font type dependent. CFF [Font](../../aspose.font/font/) glyph id can be instance of ([GlyphStringId](../)) class or ([GlyphUInt32Id](../)) class. |
| [GidToUnicode](./gidtounicode/)(System::SharedPtr\<Glyphs::GlyphId\>) override | Decodes Gid to unicode. Glyph id is a unique number for a glyph, which is font type dependent. CFF [Font](../../aspose.font/font/) glyph id can be instance of ([GlyphStringId](../)) class or ([GlyphUInt32Id](../)) class. |
| [UnicodeToGid](./unicodetogid/)(uint32_t) override | Decodes a unicode and returns glyph id. Glyph id is a unique number for a glyph, which is font type dependent. CFF [Font](../../aspose.font/font/) glyph id can be instance of ([GlyphStringId](../)) class or ([GlyphUInt32Id](../)) class. |
## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ url: /cpp/aspose.font.cff/cffencoding/decodetogid/
Gets Gid for charCode passed. This method designed for a CFF CIDFonts, where charCode must be a valid CID value. Glyph id is a unique number for a glyph, which is font type dependent. CFF [Font](../../../aspose.font/font/) glyph id can be instance of ([GlyphStringId](../)) class or ([GlyphUInt32Id](../)) class.

```cpp
System::SharedPtr<Aspose::Font::Glyphs::GlyphId> Aspose::Font::Cff::CffEncoding::DecodeToGid(uint32_t charCode) override
System::SharedPtr<Glyphs::GlyphId> Aspose::Font::Cff::CffEncoding::DecodeToGid(uint32_t charCode) override
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ url: /cpp/aspose.font.cff/cffencoding/decodetogidparameterized/
Parameterized decode method. Not supported for CFF [Font](../../../aspose.font/font/) type.

```cpp
System::SharedPtr<Aspose::Font::Glyphs::GlyphId> Aspose::Font::Cff::CffEncoding::DecodeToGidParameterized(System::SharedPtr<IEncodingParameters> parameters, uint32_t charCode) override
System::SharedPtr<Glyphs::GlyphId> Aspose::Font::Cff::CffEncoding::DecodeToGidParameterized(System::SharedPtr<IEncodingParameters> parameters, uint32_t charCode) override
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ System::SharedPtr<NameToCodeMap> Aspose::Font::Cff::CffEncoding::GetNameToSidInd

Name to character code encoding map.



## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ url: /cpp/aspose.font.cff/cffencoding/gidtounicode/
Decodes Gid to unicode. Glyph id is a unique number for a glyph, which is font type dependent. CFF [Font](../../../aspose.font/font/) glyph id can be instance of ([GlyphStringId](../)) class or ([GlyphUInt32Id](../)) class.

```cpp
uint32_t Aspose::Font::Cff::CffEncoding::GidToUnicode(System::SharedPtr<Aspose::Font::Glyphs::GlyphId> gid) override
uint32_t Aspose::Font::Cff::CffEncoding::GidToUnicode(System::SharedPtr<Glyphs::GlyphId> gid) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| gid | System::SharedPtr\<Aspose::Font::Glyphs::GlyphId\> | Glyph identifier of symbol to decode. |
| gid | System::SharedPtr\<Glyphs::GlyphId\> | Glyph identifier of symbol to decode. |

### ReturnValue

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ url: /cpp/aspose.font.cff/cffencoding/unicodetogid/
Decodes a unicode and returns glyph id. Glyph id is a unique number for a glyph, which is font type dependent. CFF [Font](../../../aspose.font/font/) glyph id can be instance of ([GlyphStringId](../)) class or ([GlyphUInt32Id](../)) class.

```cpp
System::SharedPtr<Aspose::Font::Glyphs::GlyphId> Aspose::Font::Cff::CffEncoding::UnicodeToGid(uint32_t unicode) override
System::SharedPtr<Glyphs::GlyphId> Aspose::Font::Cff::CffEncoding::UnicodeToGid(uint32_t unicode) override
```


Expand Down
4 changes: 2 additions & 2 deletions english/cpp/aspose.font.cff/cfffont/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ class CffFont : public Aspose::Font::Font
| [get_Style](./get_style/)() override | Gets [Font](../../aspose.font/font/) style. This is a raw string value provided by [Font](../../aspose.font/font/) file. |
| [get_TopDictDataProvider](./get_topdictdataprovider/)() | Gets accessor for the first top-level DICT in Top DICT INDEX structure. |
| [GetAllGlyphIds](./getallglyphids/)() override | Returns array of all glyph ids, available in the [Font](../../aspose.font/font/). Glyph id is a unique number for a glyph, which is font type dependent. CFF [Font](../../aspose.font/font/) glyph id can be instance of ([GlyphStringId](../)) class or ([GlyphUInt32Id](../)) class. |
| [GetGlyphById](./getglyphbyid/)(System::SharedPtr\<Aspose::Font::Glyphs::GlyphId\>) override | Returns glyph by glyph id. Glyph id is a unique number for a glyph, which is font type dependent. CFF [Font](../../aspose.font/font/) glyph id can be instance of ([GlyphStringId](../)) class or ([GlyphUInt32Id](../)) class. |
| [GetGlyphById](./getglyphbyid/)(System::SharedPtr\<Glyphs::GlyphId\>) override | Returns glyph by glyph id. Glyph id is a unique number for a glyph, which is font type dependent. CFF [Font](../../aspose.font/font/) glyph id can be instance of ([GlyphStringId](../)) class or ([GlyphUInt32Id](../)) class. |
| [GetGlyphById](./getglyphbyid/)(System::String) | Returns glyph by glyph name. |
| [GetGlyphById](./getglyphbyid/)(uint32_t) | Returns glyph by glyph id. |
| [GetIndexDataProvider](./getindexdataprovider/)(Aspose::Font::CffDataProviders::CffIndexProviderType) | Gets provider for the specified CFF INDEX structure type. |
| [GetIndexDataProvider](./getindexdataprovider/)(CffDataProviders::CffIndexProviderType) | Gets provider for the specified CFF INDEX structure type. |
| [set_CommonFontsSettings](./set_commonfontssettings/)(System::SharedPtr\<CffFontsSettings\>) | Gets/sets settings common to CFF fonts. These settings are used in different scenarios and can be changed for each individual font. |
| [set_FontFamily](./set_fontfamily/)(System::String) override | Gets [Font](../../aspose.font/font/) family. The [Font](../../aspose.font/font/) family setter is not implemented yet. |
| [set_FontName](./set_fontname/)(System::String) override | Sets [Font](../../aspose.font/font/) face name. |
Expand Down
2 changes: 1 addition & 1 deletion english/cpp/aspose.font.cff/cfffont/convert/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ url: /cpp/aspose.font.cff/cfffont/convert/
Converts the [Font](../../../aspose.font/font/) into another format.

```cpp
System::SharedPtr<Aspose::Font::Font> Aspose::Font::Cff::CffFont::Convert(Aspose::Font::FontType fontType) override
System::SharedPtr<Font> Aspose::Font::Cff::CffFont::Convert(Aspose::Font::FontType fontType) override
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ url: /cpp/aspose.font.cff/cfffont/getallglyphids/
Returns array of all glyph ids, available in the [Font](../../../aspose.font/font/). Glyph id is a unique number for a glyph, which is font type dependent. CFF [Font](../../../aspose.font/font/) glyph id can be instance of ([GlyphStringId](../)) class or ([GlyphUInt32Id](../)) class.

```cpp
System::ArrayPtr<System::SharedPtr<Aspose::Font::Glyphs::GlyphId>> Aspose::Font::Cff::CffFont::GetAllGlyphIds() override
System::ArrayPtr<System::SharedPtr<Glyphs::GlyphId>> Aspose::Font::Cff::CffFont::GetAllGlyphIds() override
```


Expand Down
10 changes: 5 additions & 5 deletions english/cpp/aspose.font.cff/cfffont/getglyphbyid/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ type: docs
weight: 1800
url: /cpp/aspose.font.cff/cfffont/getglyphbyid/
---
## CffFont::GetGlyphById(System::SharedPtr\<Aspose::Font::Glyphs::GlyphId\>) method
## CffFont::GetGlyphById(System::SharedPtr\<Glyphs::GlyphId\>) method


Returns glyph by glyph id. Glyph id is a unique number for a glyph, which is font type dependent. CFF [Font](../../../aspose.font/font/) glyph id can be instance of ([GlyphStringId](../)) class or ([GlyphUInt32Id](../)) class.

```cpp
System::SharedPtr<Aspose::Font::Glyphs::Glyph> Aspose::Font::Cff::CffFont::GetGlyphById(System::SharedPtr<Aspose::Font::Glyphs::GlyphId> id) override
System::SharedPtr<Glyphs::Glyph> Aspose::Font::Cff::CffFont::GetGlyphById(System::SharedPtr<Glyphs::GlyphId> id) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| id | System::SharedPtr\<Aspose::Font::Glyphs::GlyphId\> | Glyph id. |
| id | System::SharedPtr\<Glyphs::GlyphId\> | Glyph id. |

### ReturnValue

Expand All @@ -39,7 +39,7 @@ Glyph.
Returns glyph by glyph name.

```cpp
System::SharedPtr<Aspose::Font::Glyphs::Glyph> Aspose::Font::Cff::CffFont::GetGlyphById(System::String glyphName)
System::SharedPtr<Glyphs::Glyph> Aspose::Font::Cff::CffFont::GetGlyphById(System::String glyphName)
```


Expand All @@ -65,7 +65,7 @@ Glyph.
Returns glyph by glyph id.

```cpp
System::SharedPtr<Aspose::Font::Glyphs::Glyph> Aspose::Font::Cff::CffFont::GetGlyphById(uint32_t id)
System::SharedPtr<Glyphs::Glyph> Aspose::Font::Cff::CffFont::GetGlyphById(uint32_t id)
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ url: /cpp/aspose.font.cff/cfffont/getindexdataprovider/
Gets provider for the specified CFF INDEX structure type.

```cpp
System::SharedPtr<Aspose::Font::CffDataProviders::ICffIndexDataProvider> Aspose::Font::Cff::CffFont::GetIndexDataProvider(Aspose::Font::CffDataProviders::CffIndexProviderType indexType)
System::SharedPtr<CffDataProviders::ICffIndexDataProvider> Aspose::Font::Cff::CffFont::GetIndexDataProvider(CffDataProviders::CffIndexProviderType indexType)
```


| Parameter | Type | Description |
| --- | --- | --- |
| indexType | Aspose::Font::CffDataProviders::CffIndexProviderType | Type of INDEX structure |
| indexType | CffDataProviders::CffIndexProviderType | Type of INDEX structure |

### ReturnValue

Expand Down
6 changes: 3 additions & 3 deletions english/cpp/aspose.font.cff/cfffontmetrics/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ class CffFontMetrics : public Aspose::Font::FontMetrics
| [get_FontBBox](./get_fontbbox/)() override | Gets [FontBBox](../../aspose.font/fontbbox/) value. |
| [get_FontMatrix](./get_fontmatrix/)() override | Gets FontMatrix value. |
| [get_UnitsPerEM](./get_unitsperem/)() override | Gets UnitsPerEM value. |
| [GetFontMatrixForGlyph](./getfontmatrixforglyph/)(System::SharedPtr\<Aspose::Font::Glyphs::GlyphId\>) | Calculates transformation matrix for glyph specified by id. |
| [GetGlyphWidth](./getglyphwidth/)(System::SharedPtr\<Aspose::Font::Glyphs::GlyphId\>) override | Returns glyph width. May be overridden by specific [Font](../../aspose.font/font/) encoding inheritors. |
| [MeasureString](./measurestring/)(System::String, double) override | Measures string and returns string width. |
| [GetFontMatrixForGlyph](./getfontmatrixforglyph/)(System::SharedPtr\<Glyphs::GlyphId\>) | Calculates transformation matrix for glyph specified by id. |
| [GetGlyphWidth](./getglyphwidth/)(System::SharedPtr\<Glyphs::GlyphId\>) override | Returns glyph width. May be overridden by specific [Font](../../aspose.font/font/) encoding inheritors. |
| [MeasureString](./measurestring/)(System::String, double) override | Sets glyph width. |
## See Also

* Class [FontMetrics](../../aspose.font/fontmetrics/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ url: /cpp/aspose.font.cff/cfffontmetrics/getfontmatrixforglyph/
Calculates transformation matrix for glyph specified by id.

```cpp
System::SharedPtr<TransformationMatrix> Aspose::Font::Cff::CffFontMetrics::GetFontMatrixForGlyph(System::SharedPtr<Aspose::Font::Glyphs::GlyphId> glyphId)
System::SharedPtr<TransformationMatrix> Aspose::Font::Cff::CffFontMetrics::GetFontMatrixForGlyph(System::SharedPtr<Glyphs::GlyphId> glyphId)
```


| Parameter | Type | Description |
| --- | --- | --- |
| glyphId | System::SharedPtr\<Aspose::Font::Glyphs::GlyphId\> | Glyph identifier. |
| glyphId | System::SharedPtr\<Glyphs::GlyphId\> | Glyph identifier. |

### ReturnValue

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ url: /cpp/aspose.font.cff/cfffontmetrics/getglyphwidth/
Returns glyph width. May be overridden by specific [Font](../../../aspose.font/font/) encoding inheritors.

```cpp
double Aspose::Font::Cff::CffFontMetrics::GetGlyphWidth(System::SharedPtr<Aspose::Font::Glyphs::GlyphId> glyphId) override
double Aspose::Font::Cff::CffFontMetrics::GetGlyphWidth(System::SharedPtr<Glyphs::GlyphId> glyphId) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| glyphId | System::SharedPtr\<Aspose::Font::Glyphs::GlyphId\> | Glyph identifier. |
| glyphId | System::SharedPtr\<Glyphs::GlyphId\> | Glyph identifier. |

### ReturnValue

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
title: Aspose::Font::Cff::CffFontMetrics::MeasureString method
linktitle: MeasureString
second_title: Aspose.Font for C++
description: 'Aspose::Font::Cff::CffFontMetrics::MeasureString method. Measures string and returns string width in C++.'
description: 'Aspose::Font::Cff::CffFontMetrics::MeasureString method. Sets glyph width in C++.'
type: docs
weight: 800
url: /cpp/aspose.font.cff/cfffontmetrics/measurestring/
---
## CffFontMetrics::MeasureString method


Measures string and returns string width.
Sets glyph width.

```cpp
double Aspose::Font::Cff::CffFontMetrics::MeasureString(System::String unicode, double fontSize) override
Expand All @@ -19,12 +19,17 @@ double Aspose::Font::Cff::CffFontMetrics::MeasureString(System::String unicode,

| Parameter | Type | Description |
| --- | --- | --- |
| unicode | System::String | Unicode string. |
| fontSize | double | [Font](../../../aspose.font/font/) size. |
| glyphId | System::String | Glyph identifier. |
| value | double | New width |

### ReturnValue

String width.
## Remarks



Measures string and returns string width.

## See Also

Expand Down
2 changes: 1 addition & 1 deletion english/cpp/aspose.font.cff/cfffontssettings/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class CffFontsSettings : public System::Object
| --- | --- |
| [CffFontsSettings](./cfffontssettings/)() | Constructor. |
| [get_UpdateStringsStrategy](./get_updatestringsstrategy/)() const | Strategy for updating strings in the CFF String INDEX structure. The AddStringAsIs option is used by default. |
| [set_UpdateStringsStrategy](./set_updatestringsstrategy/)(Aspose::Font::CffDataProviders::CffUpdateStringIndexStrategy) | Strategy for updating strings in the CFF String INDEX structure. The AddStringAsIs option is used by default. |
| [set_UpdateStringsStrategy](./set_updatestringsstrategy/)(CffDataProviders::CffUpdateStringIndexStrategy) | Strategy for updating strings in the CFF String INDEX structure. The AddStringAsIs option is used by default. |
## See Also

* Class [Object](../../system/object/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ url: /cpp/aspose.font.cff/cfffontssettings/get_updatestringsstrategy/
Strategy for updating strings in the CFF String INDEX structure. The AddStringAsIs option is used by default.

```cpp
Aspose::Font::CffDataProviders::CffUpdateStringIndexStrategy Aspose::Font::Cff::CffFontsSettings::get_UpdateStringsStrategy() const
CffDataProviders::CffUpdateStringIndexStrategy Aspose::Font::Cff::CffFontsSettings::get_UpdateStringsStrategy() const
```

## See Also
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ url: /cpp/aspose.font.cff/cfffontssettings/set_updatestringsstrategy/
Strategy for updating strings in the CFF String INDEX structure. The AddStringAsIs option is used by default.

```cpp
void Aspose::Font::Cff::CffFontsSettings::set_UpdateStringsStrategy(Aspose::Font::CffDataProviders::CffUpdateStringIndexStrategy value)
void Aspose::Font::Cff::CffFontsSettings::set_UpdateStringsStrategy(CffDataProviders::CffUpdateStringIndexStrategy value)
```

## See Also
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class CffPrivateDictDataProvider : public Aspose::Font::CffDataProviders::Privat

| Method | Description |
| --- | --- |
| [CffPrivateDictDataProvider](./cffprivatedictdataprovider/)(System::SharedPtr\<Aspose::Font::Cff::Internals::CffCidChildFont\>) | |
| [CffPrivateDictDataProvider](./cffprivatedictdataprovider/)(System::SharedPtr\<Cff::Internals::CffCidChildFont\>) | |
## See Also

* Class [PrivateDictDataProvider](../privatedictdataprovider/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ url: /cpp/aspose.font.cffdataproviders/cffprivatedictdataprovider/cffprivatedict


```cpp
Aspose::Font::CffDataProviders::CffPrivateDictDataProvider::CffPrivateDictDataProvider(System::SharedPtr<Aspose::Font::Cff::Internals::CffCidChildFont> font)
Aspose::Font::CffDataProviders::CffPrivateDictDataProvider::CffPrivateDictDataProvider(System::SharedPtr<Cff::Internals::CffCidChildFont> font)
```

## See Also
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class CffTopDictDataProvider : public Aspose::Font::CffDataProviders::TopDictDat

| Method | Description |
| --- | --- |
| [CffTopDictDataProvider](./cfftopdictdataprovider/)(System::SharedPtr\<Aspose::Font::Cff::Internals::CffCidChildFont\>) | |
| [CffTopDictDataProvider](./cfftopdictdataprovider/)(System::SharedPtr\<Cff::Internals::CffCidChildFont\>) | |
## See Also

* Class [TopDictDataProvider](../topdictdataprovider/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ url: /cpp/aspose.font.cffdataproviders/cfftopdictdataprovider/cfftopdictdataprov


```cpp
Aspose::Font::CffDataProviders::CffTopDictDataProvider::CffTopDictDataProvider(System::SharedPtr<Aspose::Font::Cff::Internals::CffCidChildFont> font)
Aspose::Font::CffDataProviders::CffTopDictDataProvider::CffTopDictDataProvider(System::SharedPtr<Cff::Internals::CffCidChildFont> font)
```

## See Also
Expand Down
Loading