summaryrefslogtreecommitdiff
path: root/in_afm.c
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2007-01-06 17:47:34 +0000
committerBen Harris <bjh21@bjh21.me.uk>2007-01-06 17:47:34 +0000
commitfb816f82ea8a90a1e92557dcc699cbcfe53f236c (patch)
treec885fffe93ec01e13788345aee1f5320593fa9cb /in_afm.c
parent30ca2bdcde0675a2d52a9decf9dce73e57fdcee1 (diff)
downloadhalibut-fb816f82ea8a90a1e92557dcc699cbcfe53f236c.zip
halibut-fb816f82ea8a90a1e92557dcc699cbcfe53f236c.tar.gz
halibut-fb816f82ea8a90a1e92557dcc699cbcfe53f236c.tar.bz2
halibut-fb816f82ea8a90a1e92557dcc699cbcfe53f236c.tar.xz
Make ps_glyph_to_unicode() take a glyph index instead of a glyph name.
[originally from svn r7062]
Diffstat (limited to 'in_afm.c')
-rw-r--r--in_afm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/in_afm.c b/in_afm.c
index d3d5ecb..69cd1e3 100644
--- a/in_afm.c
+++ b/in_afm.c
@@ -194,7 +194,7 @@ void read_afm_file(input *in) {
w->glyph = g;
w->width = width;
add234(fi->widths, w);
- ucs = ps_glyph_to_unicode(glyph_extern(g));
+ ucs = ps_glyph_to_unicode(g);
if (ucs < 0xFFFF)
fi->bmp[ucs] = g;
}