]> git.eshelyaron.com Git - emacs.git/commit
Simplify mainline Harfbuzz-using code
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 13 Dec 2018 19:58:09 +0000 (11:58 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 13 Dec 2018 19:58:09 +0000 (11:58 -0800)
commita7214683bede0bb05ee23d63331d289c37d3b667
treed6cc8dea09933245cd388b5e3fc9d3273760f1bc
parent981b3d292aff49452c2b5f0217b57ec1a2829a8b
Simplify mainline Harfbuzz-using code

* src/ftfont.c (ft_face_destroy): Omit unnecessary cast.
(hb_ft_font_create_referenced) [!HAVE_HB_FT_FONT_CREATE_REFERENCED]:
New function.
(ftfont_get_hb_font): Use it.
src/ftfont.c