diff --git a/MagickCore/annotate.c b/MagickCore/annotate.c index 18ca2c2df6..67bb38e677 100644 --- a/MagickCore/annotate.c +++ b/MagickCore/annotate.c @@ -1073,15 +1073,8 @@ static MagickBooleanType RenderType(Image *image,const DrawInfo *draw_info, font=DestroyString(font); } sans_exception=AcquireExceptionInfo(); - if (type_info == (const TypeInfo *) NULL) - type_info=GetTypeInfoByFamily("Noto Sans",draw_info->style, - draw_info->stretch,draw_info->weight,sans_exception); - if (type_info == (const TypeInfo *) NULL) - type_info=GetTypeInfoByFamily("Nimbus Sans",draw_info->style, - draw_info->stretch,draw_info->weight,sans_exception); - if (type_info == (const TypeInfo *) NULL) - type_info=GetTypeInfoByFamily((const char *) NULL,draw_info->style, - draw_info->stretch,draw_info->weight,sans_exception); + type_info=GetTypeInfoByFamily((const char *) NULL,draw_info->style, + draw_info->stretch,draw_info->weight,sans_exception); if (type_info == (const TypeInfo *) NULL) type_info=GetTypeInfo("*",sans_exception); sans_exception=DestroyExceptionInfo(sans_exception);