~ft/pdffs

9a75fdb2a24e222ec203f88c47f21db92d5a9556 — Noam Preil 5 months ago a4a05ae
bump hardcoded font width
1 files changed, 1 insertions(+), 1 deletions(-)

M op.c
M op.c => op.c +1 -1
@@ 726,7 726,7 @@ glyphwidth(Page *p, ulong c)
{
	// 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;