From 88074516976927dbb436888c47ff25ef53578a0d Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 18 Nov 2004 07:26:25 +0100 Subject: image bit depths 2 and 4 --- tree/font.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tree/font.c') diff --git a/tree/font.c b/tree/font.c index 0814efba..b7367ce1 100644 --- a/tree/font.c +++ b/tree/font.c @@ -185,7 +185,7 @@ fz_hmtx fz_gethmtx(fz_font *font, int cid) { int l = 0; - int r = font->nhmtx; + int r = font->nhmtx - 1; int m; if (!font->hmtx) @@ -212,7 +212,7 @@ fz_getvmtx(fz_font *font, int cid) fz_hmtx h; fz_vmtx v; int l = 0; - int r = font->nvmtx; + int r = font->nvmtx - 1; int m; if (!font->vmtx) -- cgit v1.2.3