From 8f5f11d521897752ff40bad2648c18a970f1536e Mon Sep 17 00:00:00 2001 From: Ali Gholami Rudi Date: Sun, 8 Sep 2013 16:25:47 +0430 Subject: [PATCH] out: add unicode aliases for fixlist[] --- out.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/out.c b/out.c index 8e26d80..6bfb864 100644 --- a/out.c +++ b/out.c @@ -81,7 +81,13 @@ static struct fixlist { char *name; int dh, dv; } fixlist[] = { - {"br", -5, 15}, + {"", -5, 4}, + {"", 20, 0}, + {"", 20, 0}, + {"", -11, 0}, + {"", -11, 0}, + {"", -50, 0}, + {"br", -5, 4}, {"lc", 20, 0}, {"lf", 20, 0}, {"rc", -11, 0}, @@ -95,7 +101,7 @@ static void fixpos(struct glyph *g, int *dh, int *dv) int i; *dh = 0; *dv = 0; - if (!strcmp("S", fn->name)) { + if (!strcmp("S", fn->name) && !strcmp("Symbol", fn->fontname)) { for (i = 0; i < LEN(fixlist); i++) { if (!strcmp(fixlist[i].name, g->name)) { *dh = charwid(fixlist[i].dh, o_s); -- 2.11.4.GIT