strcmp ((char *) &pattern->family, family))
return false;
- if (!ignore_flags_p && (pattern->specified & FSPEC_SPACING) &&
- !(pattern->mono_spacing_p) != !(flags & B_IS_FIXED))
+ if (!ignore_flags_p && (pattern->specified & FSPEC_SPACING)
+ && !(pattern->mono_spacing_p) != !(flags & B_IS_FIXED))
return false;
if (pattern->specified & FSPEC_STYLE)
if ((pattern->specified & FSPEC_SLANT)
&& (pattern->slant
- != ((m.specified & FSPEC_SLANT) ? m.slant : SLANT_REGULAR)))
+ != (m.specified & FSPEC_SLANT
+ ? m.slant : SLANT_REGULAR)))
return false;
if ((pattern->specified & FSPEC_WANTED)
return false;
if ((pattern->specified & FSPEC_WIDTH)
- && (pattern->width !=
- ((m.specified & FSPEC_WIDTH) ? m.width : NORMAL_WIDTH)))
+ && (pattern->width
+ != (m.specified & FSPEC_WIDTH
+ ? m.width : NORMAL_WIDTH)))
return false;
if ((pattern->specified & FSPEC_NEED_ONE_OF)
if (!NILP (val) && !EQ (val, Qunspecified))
{
pattern->specified |= FSPEC_SLANT;
- pattern->slant = haikufont_lisp_to_slant (font_object);
+ pattern->slant = haikufont_lisp_to_slant (val);
}
val = FONT_WIDTH_FOR_FACE (font_object);
if (!NILP (val) && !EQ (val, Qunspecified))
{
pattern->specified |= FSPEC_WIDTH;
- pattern->width = haikufont_lisp_to_width (font_object);
+ pattern->width = haikufont_lisp_to_width (val);
}
}