**Inheritance:**
java.lang.Object, com.aspose.pdf.text.FontSubstitution com.aspose.pdf.text.CustomFontSubstitutionBase, com.aspose.pdf.text.FontSubstitution, com.aspose.pdf.text.CustomFontSubstitutionBase

```
public class CustomFontSubstitutionBase extends FontSubstitution
```

Represents a base class for custom font substitution strategy.

## Constructors

| Constructor | Description |
| --- | --- |
| [CustomFontSubstitutionBase](#CustomFontSubstitutionBase--) |  |

## Methods

| Method | Description |
| --- | --- |
| [trySubstitute](#trySubstitute-com.aspose.pdf.text.CustomFontSubstitutionBase.OriginalFontSpecification-com.aspose.pdf.Font:A-) | Substitutes original font with another font. |

### CustomFontSubstitutionBase {#CustomFontSubstitutionBase--}
```
public CustomFontSubstitutionBase()
```



### trySubstitute {#trySubstitute-com.aspose.pdf.text.CustomFontSubstitutionBase.OriginalFontSpecification-com.aspose.pdf.Font:A-}
Substitutes original font with another font.
