Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.SetFontSearchOrder
Changes the font search order.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 4.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.SetFontSearchOrder"; PDF { ; Type1; Type2; Type3; Type4 } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
The PDF reference returned from DynaPDF.New. | |||
Type1 | The first type. | "TrueType" | Optional |
Type2 | The second type. | "Type1" | Optional |
Type3 | The third type. | "OpenType" | Optional |
Type4 | The forth type. | "StdFont" | Optional |
Result
Returns OK or error.
Description
Changes the font search order.The default search order is:
- TrueType
- OpenType (OpenType fonts with PostScript outlines)
- Type1
Every font type can be disabled if necessary with the value "Disabled". You can pass no parameters, you reset the search order to the default order as described above. If you provide 4 types, you define a new search order.
See also SetFontSearchOrder function in DynaPDF manual.
See also
This function checks for a license.
Created 21st October 2014, last changed 21st October 2014