I have made a font that works in Chrome and Firefox, but not in LibreOffice Writer 7.2.2.2, even though all three of those use HarfBuzz. Specifically, it looks like cursive attachment is broken. There is clearly a bug somewhere, but is it in my font or in LibreOffice?
To reproduce, install the font at https://github.com/dscorbett/duployan-test/blob/4e2002c170a20e7b1c941b89005ed617d57df8ce/assets/fonts/Duployan-Regular.otf and create a new document containing “𛰅𛰆𛱂𛰀𛱚𛱊𛱁𛰙 𛰙𛰜𛱁𛱆𛰅𛱁!” (that is, <U+1BC05, U+1BC06, U+1BC42, U+200C, U+1BC00, U+1BC5A, U+200C, U+1BC4A, U+1BC41, U+1BC19, U+0020, U+1BC19, U+1BC1C, U+1BC41, U+1BC46, U+200C, U+1BC05, U+1BC41, U+0021>) in that font. The letters aren’t cursively joined properly. Paste the same string at Duployan font test to see the intended rendering.
My best guess is that LibreOffice configures HarfBuzz with a lower HB_BUFFER_MAX_OPS_FACTOR than the default. Could that be it? Does LibreOffice have its own maximums that this very complex font might be overshooting?
Here is the string rendered in Firefox on the left and LibreOffice on the right.