diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-11-05 10:07:33 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-11-05 10:07:33 -0800 |
commit | 0ca983a6bac03489fb0d2ad158114a811eb276a2 (patch) | |
tree | b730601c46334c7f29606d783638859e5c704a1e /mkfontscale.c | |
parent | 8126d2b694f48cc8137be05705a125f7d02e7e12 (diff) |
Add support for bzip2 compressed fonts if configured --with-bzip2
Diffstat (limited to 'mkfontscale.c')
-rw-r--r-- | mkfontscale.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mkfontscale.c b/mkfontscale.c index e6aacd7..3497d95 100644 --- a/mkfontscale.c +++ b/mkfontscale.c @@ -740,6 +740,10 @@ filePrio(char *filename) return 4; if(strcmp(filename + n - 3, ".gz") == 0) return 3; +#ifdef X_BZIP2_FONT_COMPRESSION + if(strcmp(filename + n - 4, ".bz2") == 0) + return 2; +#endif if(strcmp(filename + n - 2, ".Z") == 0) return 2; if(strcmp(filename + n - 4, ".bdf") == 0) |