1378 |
{ |
{ |
1379 |
name = Fdowncase (name); |
name = Fdowncase (name); |
1380 |
val = split_font_name_into_vector (name); |
val = split_font_name_into_vector (name); |
1381 |
if (NILP (val)) |
if (NILP (val) || NILP (AREF (val, 12)) || NILP (AREF (val, 13))) |
1382 |
error ("Fontset name must be in XLFD format"); |
error ("Fontset name must be in XLFD format"); |
1383 |
if (strcmp (SDATA (AREF (val, 12)), "fontset")) |
if (strcmp (SDATA (AREF (val, 12)), "fontset")) |
1384 |
error ("Registry field of fontset name must be \"fontset\""); |
error ("Registry field of fontset name must be \"fontset\""); |