*** empty log message ***
[m17n/libotf.git] / example / otfview.c
index 79eb728..5706e4c 100644 (file)
@@ -13,7 +13,7 @@
 #include <X11/keysym.h>
 #include <X11/Xutil.h>
 
-#define PIXEL_SIZE 20
+#define PIXEL_SIZE 40
 
 //#define FONT_NAME "-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1"
 #define FONT_NAME "6x13"
@@ -145,10 +145,7 @@ main (int argc, char **argv)
   otf = OTF_open (argv[1]);
   if (! otf
       || OTF_get_table (otf, "head") < 0
-      || OTF_get_table (otf, "cmap") < 0
-      || OTF_get_table (otf, "GDEF") < 0
-      || OTF_get_table (otf, "GSUB") < 0
-      || OTF_get_table (otf, "GPOS") < 0)
+      || OTF_get_table (otf, "cmap") < 0)
     {
       OTF_perror ("otfview");
       exit (1);