sillsdev / ptx2pdf

XeTeX based macro package for typesetting USFM formatted (Paratext output) scripture files
21 stars 7 forks source link

Warning: Harfbuzz (Ubuntu 20.04 and 22.04) rendering issues with Annapurna SIL #964

Open davidg-sil opened 6 days ago

davidg-sil commented 6 days ago

XeTeX uses the harfbuzz library "behind the scenes" in producing the text. We've identified a problem with the way that Annapurna is handled harfbuzz versions 6.0.0 and lower, as found in Ubuntu 22.04, and 20.04. Other fonts and scripts may be affected also. We don't know the exact version of harfbuzz with solves the issue. The result is visible even to non-readers of the script as occasional excursions into the margin, there may be other issues. The good news is that ubuntu 24.04 has a significantly updated harfbuzz library.

It is also possible to compile and install a new harfbuzz version (I've tried with 8.3 on 22.04) and that solves the problem. Unfortunately, there are other dependencies that make it hard to try compiling a version of harfbuzz without this bug on ubuntu 20.04

markpenny commented 5 days ago

The good news is that this issue doesn't affect an Windows users for a change! :-)