asciidoctor / asciidoctor-pdf

:page_with_curl: Asciidoctor PDF: A native PDF converter for AsciiDoc based on Asciidoctor and Prawn, written entirely in Ruby.
https://docs.asciidoctor.org/pdf-converter/latest/
MIT License
1.14k stars 500 forks source link

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

Closed mojavelinux closed 6 months ago

mojavelinux commented 6 months ago

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.

mojavelinux commented 6 months ago

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.

mojavelinux commented 6 months ago

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