Commit 27649fb62bf94af9c58f14cfa6c6414d8b8643f6

Werner Lemberg 2007-10-29T22:00:58

* src/winfonts/winfnt.c (FNT_Face_Init): Check first that the driver can handle the font at all, then check `face_index'. Otherwise, the driver might return the wrong error code. This fixes Savannah bug #21468.