asciidoctor/asciidoctor-pdf

Lock ttfunk to 1.7.x in 2.3.x release line

mojavelinux opened this issue · 2 comments

ttfunk is the TTF/OTF font library used by Prawn. Prawn only locks ttfunk to the major version 1 (~> 1.0). When ttfunk 1.8.0 was released, Asciidoctor PDF releases in the 2.3.x release line got this upgrade transitively on the install. However, ttfunk 1.8.0 requires Ruby headers (i.e., development libraries to install). This new requirement violates our commitment to adhere to semantic versioning. Therefore, it's necessary to lock ttfunk to 1.7.x and defer the upgrade to the Asciidoctor PDF 3 release.

There has also been at least one report that the ttfunk upgrade causes some glyphs in TTF fonts to not resolve. That's yet another reason to hold it back until we have time to investigate and assess the situation.

Unfortunately, this means the users of Asciidoctor PDF will have to wait until Asciidoctor PDF 3 is released to get the improvements to the OTF font support introduced by ttfunk 1.8.0.

Resolved by 21760a1. This fix will not be added to main.