summaryrefslogtreecommitdiff
path: root/fonttosfnt.h
diff options
context:
space:
mode:
authorChristopher Zimmermann <madroach@gmerlin.de>2020-07-12 15:12:59 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2020-09-22 22:00:38 +0000
commitfacf71184163d50adf0b8fccffcaffa18b7bd277 (patch)
tree102ee88e1b6dba37295eeed66cef60e464ae782e /fonttosfnt.h
parent9fb05de7d6c57d045b4a88516f3c28cf3cf98722 (diff)
use design metrics in eblc instead of calculated metrics
This will probably not work for a font providing multiple strikes. But .bdf fonts don't provide multiple strikes (or do they?!?) I don't know about .pcf fonts, but I would recommend against running fonttosfnt on .pcf fonts because bdf2pcf seems to loose some attributes during conversion.
Diffstat (limited to 'fonttosfnt.h')
-rw-r--r--fonttosfnt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fonttosfnt.h b/fonttosfnt.h
index a05e036..9869129 100644
--- a/fonttosfnt.h
+++ b/fonttosfnt.h
@@ -167,7 +167,7 @@ CmapPtr makeCmap(FontPtr);
int findIndex(CmapPtr, int);
int findCode(CmapPtr, int);
BitmapPtr strikeBitmapIndex(StrikePtr, CmapPtr, int);
-void strikeMetrics(StrikePtr, int*, int*, int*, int*, int*);
+int strikeMaxWidth(StrikePtr);
int glyphMetrics(FontPtr, int, int*, int*, int*, int*, int*);
void fontMetrics(FontPtr, MetricsPtr);
int maxIndex(CmapPtr);