1. 05 Jun, 2020 1 commit
  2. 01 Jan, 2020 1 commit
  3. 11 Dec, 2019 1 commit
  4. 10 Dec, 2019 1 commit
  5. 01 Jul, 2019 2 commits
    • Eli Zaretskii's avatar
      More XFIXNUM fixes · 0f830340
      Eli Zaretskii authored
      * src/hbfont.c (hbfont_shape): Don't assume LGLYPH_TO is
      always a fixnum.
      * src/fontset.c (fontset_find_font): A cleaner test for
      matching charset_id.
      0f830340
    • YAMAMOTO Mitsuharu's avatar
      Implement the otf_capability method for HarfBuzz · 6cabb698
      YAMAMOTO Mitsuharu authored
      * src/hbfont.c: Include hb-ot.h.
      [HAVE_NTGUI]: Add DEF_DLL_FN and #define for hb_tag_to_string,
      hb_font_get_face, hb_ot_layout_table_get_script_tags,
      hb_ot_layout_table_get_feature_tags, hb_ot_layout_script_get_language_tags,
      and hb_ot_layout_language_get_feature_tags.
      (hbfont_init_w32_funcs) [HAVE_NTGUI]: Add LOAD_DLL_FN for them.
      (hbfont_otf_features, hbfont_otf_capability): New functions.
      
      * src/font.h (hbfont_otf_capability) [HAVE_HARFBUZZ]: Add extern.
      
      * src/ftcrfont.c (syms_of_ftcrfont_for_pdumper) [HAVE_HARFBUZZ]:
      * src/ftfont.c (syms_of_ftfont_for_pdumper) [HAVE_HARFBUZZ]:
      * src/w32uniscribe.c (syms_of_w32uniscribe_for_pdumper) [HAVE_HARFBUZZ]:
      * src/xftfont.c (syms_of_xftfont_for_pdumper) [HAVE_HARFBUZZ]: Populate
      otf_capability method with hbfont_otf_capability.
      6cabb698
  6. 13 Jun, 2019 1 commit
  7. 02 Jun, 2019 1 commit
  8. 01 Jun, 2019 3 commits
    • Paul Eggert's avatar
      Port hbfont.c to GCC 9 with --enable-gcc-warnings · 0c22b520
      Paul Eggert authored
      * src/hbfont.c (hbfont_shape): Use ptrdiff_t, not int,
      for indexes that in theory might overflow int.
      Add UNINIT to pacify GCC 9 and omit an unnecessary initialization.
      0c22b520
    • Eli Zaretskii's avatar
      ; * src/hbfont.c: Fix commentary. · a1f26686
      Eli Zaretskii authored
      a1f26686
    • Eli Zaretskii's avatar
      Move common HarfBuzz code to a common file hbfont.c · 4363777d
      Eli Zaretskii authored
      * src/hbfont.c: New file, with code moved from w32uniscribe.c
      and renamed/modified as appropriate.
      * src/w32uniscribe.c: Move to hbfont.c DEF_DLL_FN and macro
      definitions for HarfBuzz functions used in hbfont.c
      (load_harfbuzz_funcs): Move loading of HarfBuzz functions used
      by hbfont.c to hbfont.c:hbfont_init_w32_funcs, and call that
      function from here.
      (syms_of_w32uniscribe_for_pdumper): Fill the 'shape' and
      'combining_capability' members with hbfont.c function names.
      * src/w32common.h (hbfont_init_w32_funcs) [HAVE_HARFBUZZ]: Add
      prototype.
      * src/font.h (hbfont_shape, hbfont_combining_capability)
      [HAVE_HARFBUZZ]: Add prototypes.
      * src/Makefile.in (SOME_MACHINE_OBJECTS): Add hbfont.o.
      
      * configure.ac (FONT_OBJ): Add hbfont.o if HAVE_HARFBUZZ.
      4363777d