DynaPDF.Parser.ChangeAltFont
----------------------------

Changes alternative font to use.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DynaPDF](component_DynaPDF.md) | [14.0](newinversion140.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "DynaPDF.Parser.ChangeAltFont"; PDF; FontHandle ) 

**MBS**( **"DynaPDF.Parser.ChangeAltFont";** /\* Changes alternative font to use. \*/  
**$PDF**; /\* The PDF reference. \*/   
**$FontHandle**) /\* The font handle.e.g. $font \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference. | $pdf |
| FontHandle | The font handle. | $font |

### Result

Returns OK or error.

### Description

Changes alternative font to use.  
Changes the active alternate font that is used by [DynaPDF.Parser.ReplaceSelText](DynaPDFParserReplaceSelText.md) when the original font is not available. The font handle must be a handle that was returned by [DynaPDF.SetFont](DynaPDFSetFont.md), [DynaPDF.SetFontEx](DynaPDFSetFontEx.md), DynaPDF.SetCIDFont, or [DynaPDF.Parser.SetAltFont](DynaPDFParserSetAltFont.md).  
### See also

- [DynaPDF.Parser.ReplaceSelText](DynaPDFParserReplaceSelText.md)
- [DynaPDF.Parser.SetAltFont](DynaPDFParserSetAltFont.md)
- [DynaPDF.SetFont](DynaPDFSetFont.md)
- [DynaPDF.SetFontEx](DynaPDFSetFontEx.md)

### Release notes

- **Version 14.0**
    - Added DynaPDF parser functions: [DynaPDF.Parser.ChangeAltFont](https://www.mbsplugins.eu/DynaPDFParserChangeAltFont.shtml), [DynaPDF.Parser.Create](https://www.mbsplugins.eu/DynaPDFParserCreate.shtml), [DynaPDF.Parser.DeleteText](https://www.mbsplugins.eu/DynaPDFParserDeleteText.shtml), [DynaPDF.Parser.ExtractText](https://www.mbsplugins.eu/DynaPDFParserExtractText.shtml), [DynaPDF.Parser.FindText](https://www.mbsplugins.eu/DynaPDFParserFindText.shtml), [DynaPDF.Parser.Line](https://www.mbsplugins.eu/DynaPDFParserLine.shtml), [DynaPDF.Parser.ParsePage](https://www.mbsplugins.eu/DynaPDFParserParsePage.shtml), [DynaPDF.Parser.ReplaceSelText](https://www.mbsplugins.eu/DynaPDFParserReplaceSelText.shtml), [DynaPDF.Parser.SetAltFont](https://www.mbsplugins.eu/DynaPDFParserSetAltFont.shtml), [DynaPDF.Parser.TextMatrix](https://www.mbsplugins.eu/DynaPDFParserTextMatrix.shtml), [DynaPDF.Parser.WriteToPage](https://www.mbsplugins.eu/DynaPDFParserWriteToPage.shtml).

### Blog Entries

- [MBS FileMaker Plugin, version 13.6pr1](https://www.mbsplugins.de/archive/2023-12-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 23th November 2023 , last changed 23th November 2023

  
[DynaPDF.ParseContent](DynaPDFParseContent.md) - [DynaPDF.Parser.Content](DynaPDFParserContent.md)

[HTML Version](DynaPDFParserChangeAltFont.shtml)