sciurius / perl-HarfBuzz-Shaper

Perl extension to use HarfBuzz for text shaping
0 stars 1 forks source link

Lower harfbuzz version requirement to 1.6.0 #1

Open sciurius opened 4 years ago

sciurius commented 4 years ago

Current requirement for the harfbuzz library is version 1.7.7 (august 2018). This is because HarfBuzz::Shaper uses the function hb_glob_create_from_file, which was added in that version.

It should be possible to replace this function by a perl slurp and hb_glob_create. This will lower the harfbuzz requirement to 1.6.0, which is sufficiently low.

PhilterPaper commented 4 years ago

It seems to me that lowering the version required would really only be useful if it is more difficult to obtain 1.7.7 (or higher) than it is to get 1.6.0. 1.7.7 is approaching two years of age, so any reasonably updated Perl and/or OS should have it by now. Besides, leaving in the 1.7.7 requirement gives you some wiggle room for adding new features to HarfBuzz::Shaper without having to then worry about requiring a HarfBuzz version later than 1.6.0. I would suggest leaving well enough alone.