Commit 771bd479 authored by Jason Rumney's avatar Jason Rumney
Browse files

(Ffont_get): Use font driver to determine otf capability.

parent 9a3ff4f1
......@@ -2998,11 +2998,10 @@ FONT is a font-spec, a font-entity, or a font-object. */)
if (EQ (prop, QCotf))
{
#ifdef HAVE_LIBOTF
return font_otf_capability (fontp);
#else /* not HAVE_LIBOTF */
return Qnil;
#endif /* not HAVE_LIBOTF */
if (fontp->driver->otf_capability)
return fontp->driver->otf_capability (fontp);
else
return Qnil;
}
font = fontp->entity;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment