shithub: freetype+ttf2subf

Download patch

ref: 1c0b8e9d7286792f9839f4f68f33a22ae53a9585
parent: 3061e893ce4e3ee45407a621f63358cccec43e2f
author: Werner Lemberg <[email protected]>
date: Thu Oct 23 00:54:14 EDT 2003

Only whitespace changes.

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/cff/cffdrivr.c
+++ b/src/cff/cffdrivr.c
@@ -329,7 +329,7 @@
 
   static const FT_ServiceDescRec  cff_services[] =
   {
-    { FT_SERVICE_ID_XF86_NAME, FT_XF86_FORMAT_CFF },
+    { FT_SERVICE_ID_XF86_NAME,  FT_XF86_FORMAT_CFF },
 #ifndef FT_CONFIG_OPTION_NO_GLYPH_NAMES
     { FT_SERVICE_ID_GLYPH_DICT, &cff_service_glyph_dict },
 #endif
--- a/src/cid/cidriver.c
+++ b/src/cid/cidriver.c
@@ -69,7 +69,7 @@
   static const FT_ServiceDescRec  cid_services[] =
   {
     { FT_SERVICE_ID_POSTSCRIPT_FONT_NAME, &cid_service_ps_name },
-    { FT_SERVICE_ID_XF86_NAME, FT_XF86_FORMAT_CID },
+    { FT_SERVICE_ID_XF86_NAME,            FT_XF86_FORMAT_CID },
     { NULL, NULL }
   };
 
--- a/src/pcf/pcfdrivr.c
+++ b/src/pcf/pcfdrivr.c
@@ -526,7 +526,7 @@
 
   static FT_ServiceDescRec  pcf_services[] =
   {
-    { FT_SERVICE_ID_BDF, &pcf_service_bdf },
+    { FT_SERVICE_ID_BDF,       &pcf_service_bdf },
     { FT_SERVICE_ID_XF86_NAME, FT_XF86_FORMAT_PCF },
     { NULL, NULL }
   };
--- a/src/pfr/pfrdrivr.c
+++ b/src/pfr/pfrdrivr.c
@@ -125,9 +125,9 @@
   FT_CALLBACK_TABLE_DEF
   const FT_Service_PfrMetricsRec  pfr_metrics_service_rec =
   {
-    (FT_PFR_GetMetricsFunc)  pfr_get_metrics,
-    (FT_PFR_GetKerningFunc)  pfr_face_get_kerning,
-    (FT_PFR_GetAdvanceFunc)  pfr_get_advance
+    (FT_PFR_GetMetricsFunc)pfr_get_metrics,
+    (FT_PFR_GetKerningFunc)pfr_face_get_kerning,
+    (FT_PFR_GetAdvanceFunc)pfr_get_advance
   };
 
  /*
@@ -137,8 +137,8 @@
 
   static const FT_ServiceDescRec  pfr_services[] =
   {
-    { FT_SERVICE_ID_PFR_METRICS,  & pfr_metrics_service_rec },
-    { FT_SERVICE_ID_XF86_NAME,    FT_XF86_FORMAT_PFR },
+    { FT_SERVICE_ID_PFR_METRICS, & pfr_metrics_service_rec },
+    { FT_SERVICE_ID_XF86_NAME,   FT_XF86_FORMAT_PFR },
     { NULL, NULL }
   };
 
--- a/src/sfnt/sfdriver.c
+++ b/src/sfnt/sfdriver.c
@@ -243,7 +243,7 @@
 
   static const FT_Service_PsFontNameRec   sfnt_service_ps_name =
   {
-    (FT_PsName_GetFunc) sfnt_get_ps_name
+    (FT_PsName_GetFunc)sfnt_get_ps_name
   };
 
 
@@ -257,7 +257,7 @@
   {
     { FT_SERVICE_ID_POSTSCRIPT_FONT_NAME, & sfnt_service_ps_name },
 #ifdef TT_CONFIG_OPTION_POSTSCRIPT_NAMES
-    { FT_SERVICE_ID_GLYPH_DICT,      & sfnt_service_glyph_dict },
+    { FT_SERVICE_ID_GLYPH_DICT,           & sfnt_service_glyph_dict },
 #endif
 
     { NULL, NULL }
--- a/src/truetype/ttdriver.c
+++ b/src/truetype/ttdriver.c
@@ -409,20 +409,20 @@
     sizeof ( FT_GlyphSlotRec ),
 
 
-    (FT_Face_InitFunc)        tt_face_init,
-    (FT_Face_DoneFunc)        tt_face_done,
-    (FT_Size_InitFunc)        tt_size_init,
-    (FT_Size_DoneFunc)        tt_size_done,
-    (FT_Slot_InitFunc)        0,
-    (FT_Slot_DoneFunc)        0,
+    (FT_Face_InitFunc)       tt_face_init,
+    (FT_Face_DoneFunc)       tt_face_done,
+    (FT_Size_InitFunc)       tt_size_init,
+    (FT_Size_DoneFunc)       tt_size_done,
+    (FT_Slot_InitFunc)       0,
+    (FT_Slot_DoneFunc)       0,
 
-    (FT_Size_ResetPointsFunc) Set_Char_Sizes,
-    (FT_Size_ResetPixelsFunc) Set_Pixel_Sizes,
-    (FT_Slot_LoadFunc)        Load_Glyph,
+    (FT_Size_ResetPointsFunc)Set_Char_Sizes,
+    (FT_Size_ResetPixelsFunc)Set_Pixel_Sizes,
+    (FT_Slot_LoadFunc)       Load_Glyph,
 
-    (FT_Face_GetKerningFunc)  Get_Kerning,
-    (FT_Face_AttachFunc)      0,
-    (FT_Face_GetAdvancesFunc) 0
+    (FT_Face_GetKerningFunc) Get_Kerning,
+    (FT_Face_AttachFunc)     0,
+    (FT_Face_GetAdvancesFunc)0
   };
 
 
--- a/src/type1/t1driver.c
+++ b/src/type1/t1driver.c
@@ -116,7 +116,7 @@
 
   static const FT_Service_PsFontNameRec  t1_service_ps_name =
   {
-    (FT_PsName_GetFunc)  t1_get_ps_name
+    (FT_PsName_GetFunc)t1_get_ps_name
   };
 
 
@@ -143,11 +143,11 @@
   static const FT_ServiceDescRec  t1_services[] =
   {
     { FT_SERVICE_ID_POSTSCRIPT_FONT_NAME, &t1_service_ps_name },
-    { FT_SERVICE_ID_GLYPH_DICT, &t1_service_glyph_dict },
-    { FT_SERVICE_ID_XF86_NAME, FT_XF86_FORMAT_TYPE_1 },
+    { FT_SERVICE_ID_GLYPH_DICT,           &t1_service_glyph_dict },
+    { FT_SERVICE_ID_XF86_NAME,            FT_XF86_FORMAT_TYPE_1 },
 
 #ifndef T1_CONFIG_OPTION_NO_MM_SUPPORT
-    { FT_SERVICE_ID_MULTI_MASTERS, &t1_service_multi_masters },
+    { FT_SERVICE_ID_MULTI_MASTERS,        &t1_service_multi_masters },
 #endif
     { NULL, NULL }
   };
--- a/src/type42/t42drivr.c
+++ b/src/type42/t42drivr.c
@@ -137,7 +137,7 @@
   {
     { FT_SERVICE_ID_GLYPH_DICT,           &t42_service_glyph_dict },
     { FT_SERVICE_ID_POSTSCRIPT_FONT_NAME, &t42_service_ps_font_name },
-    { FT_SERVICE_ID_XF86_NAME,            FT_XF86_FORMAT_TYPE_42   },
+    { FT_SERVICE_ID_XF86_NAME,            FT_XF86_FORMAT_TYPE_42 },
     { NULL, NULL }
   };
 
--- a/src/winfonts/winfnt.c
+++ b/src/winfonts/winfnt.c
@@ -672,8 +672,8 @@
 
   static const FT_ServiceDescRec  winfnt_services[] =
   {
-    { FT_SERVICE_ID_XF86_NAME,    FT_XF86_FORMAT_WINFNT },
-    { FT_SERVICE_ID_WINFNT,       & winfnt_service_rec },
+    { FT_SERVICE_ID_XF86_NAME, FT_XF86_FORMAT_WINFNT },
+    { FT_SERVICE_ID_WINFNT,    &winfnt_service_rec },
     { NULL, NULL }
   };