+# else /* HAVE_COCOA */
+
+ {
+ int afid, face, size;
+ afid = jwxyz_font_info (id, &size, &face);
+
+ if (dlist_ret)
+ {
+ clear_gl_error ();
+ *dlist_ret = glGenLists ((GLuint) last+1);
+ check_gl_error ("glGenLists");
+
+ AGLContext ctx = aglGetCurrentContext();
+ if (! aglUseFont (ctx, afid, face, size,
+ first, last-first+1, *dlist_ret + first)) {
+ check_gl_error ("aglUseFont");
+ abort();
+ }
+ }
+ }
+
+# endif /* HAVE_COCOA */
+