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))
return font_otf_capability (fontp);
#else /* not HAVE_LIBOTF */
if (fontp->driver->otf_capability)
return fontp->driver->otf_capability (fontp);
return Qnil;
#endif /* not HAVE_LIBOTF */
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