mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-25 11:24:54 +02:00
No longer check for Noto Sans and Nimbus Sans to make sure the correct default is used on Windows.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user