diff --git a/src/settings/native-magick-settings.ts b/src/settings/native-magick-settings.ts index 42807941..4c9f4807 100644 --- a/src/settings/native-magick-settings.ts +++ b/src/settings/native-magick-settings.ts @@ -60,7 +60,7 @@ export class NativeMagickSettings extends NativeInstance { const fileName = Magick._getFontFileName(settings.font); _withString(fileName, ptr => { - ImageMagick._api._MagickSettings_Font_Set(this._instance, ptr); + ImageMagick._api._MagickSettings_SetFont(this._instance, ptr); }); }