summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-12-19 20:55:45 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-12-19 20:55:45 +0000
commit8b2ffc7720361ca3dd61bda16e384e8258aae803 (patch)
treef997a93ac764fa004f0fa1833df49ad87c38a377
parentc76578dc7395126605b9282f8453f1c54f38e61e (diff)
-rw-r--r--mkfontscale.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/mkfontscale.c b/mkfontscale.c
index a5a5984..989cf4c 100644
--- a/mkfontscale.c
+++ b/mkfontscale.c
@@ -19,7 +19,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* $XFree86: xc/programs/mkfontscale/mkfontscale.c,v 1.19 2003/11/23 05:40:36 dawes Exp $ */
+/* $XFree86: xc/programs/mkfontscale/mkfontscale.c,v 1.22 2003/12/19 02:05:39 dawes Exp $ */
#include <stdio.h>
#include <stdlib.h>
@@ -30,6 +30,7 @@
#include <unistd.h>
#include <errno.h>
+#include <X11/Xos.h>
#include <X11/fonts/fontenc.h>
#include <ft2build.h>
#include FT_FREETYPE_H
@@ -45,6 +46,12 @@
#include "data.h"
#include "ident.h"
+#ifdef NEED_SNPRINTF
+#undef SCOPE
+#define SCOPE static
+#include "snprintf.c"
+#endif
+
#define NPREFIX 1024
#ifndef MAXFONTFILENAMELEN
@@ -62,6 +69,7 @@ char *encodings_array[] =
"iso8859-15", "iso8859-16",
"ansi-1251", "koi8-r", "koi8-u", "koi8-ru", "koi8-e", "koi8-uni",
"tis620-2",
+ "sun.unicode.india-0",
"adobe-standard", "adobe-symbol",
"ibm-cp437", "ibm-cp850", "ibm-cp852", "ibm-cp866", "microsoft-cp1252",
/* But not "adobe-dingbats", as it uses generic glyph names. */