shithub: neatpost

Download patch

ref: b623b0677c331279879b17931b66e9abcae4b4c3
parent: b42609caa2a9a86004731c353e516673374d6d0e
author: Ali Gholami Rudi <ali@rudi.ir>
date: Sat Jun 16 07:18:39 EDT 2018

pdf: embed font collections just like TrueType fonts

--- a/pdf.c
+++ b/pdf.c
@@ -124,6 +124,8 @@
 		return 't';
 	if (ext && !strcmp(".otf", ext))
 		return 't';
+	if (ext && (!strcmp(".ttc", ext) || !strcmp(".otc", ext)))
+		return 't';
 	return '1';
 }