shithub: pdffs

Download patch

ref: 9a75fdb2a24e222ec203f88c47f21db92d5a9556
parent: a4a05ae434545d03ea8981e7aa4cc215bee577d7
author: Noam Preil <noam@pixelhero.dev>
date: Mon Apr 24 02:22:39 EDT 2023

bump hardcoded font width

--- a/op.c
+++ b/op.c
@@ -726,7 +726,7 @@
 {
 	// TODO: type 3 fonts have explicit metrics? See 9.2.4 / 9.6.5 of the spec.
 	// For all other fonts, units are 1/1000th of text space
-	double gwidth = 420;
+	double gwidth = 435;
 //	if(c >= p->GSactive->Font.first && c <= p->GSactive->Font.last)
 //		gwidth = p->GSactive->Font.widths[c - p->GSactive->Font.first];
 	return gwidth / 1000;