Hi,
I am running ImageMagick 6.2.8-0.
in magick/nt_feature.c in NTLoadTypeLists() there is an insertion of the fonts to the splay tree as read from windows registry.
the problem is that before the insertion:
status=AddValueToSplayTree(type_list,ConstantString(type_info->name),
type_info);
there is first an update of the family:
CopyMagickString(buffer,value_name,family_extent-value_name +1);
type_info->family=ConstantString(buffer);
this cause Arial to be inserted to the tree as family="Arial"
and Arial Bold as family="Arial " (it takes the <space> after the Arial as well).
when rendering a text with, for example, Arial Bold, there is only one node in the tree with family "Arial" (the rest are with "Arial<space>") and there is no exact match (found Arial but not Arial Bold).
I sent a question in the developers forum yesterday and this was the problem.
Ronen.