* src/pshinter/pshglob.h (PSH_DimensionRec): s/std/stdw/. * src/pshinter/pshglob.c (psh_global_scale_widths, psh_dimension_snap_width, psh_globals_destroy, psh_globals_new): Ditto.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
diff --git a/ChangeLog b/ChangeLog
index f8ce135..916cdc5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-03-06 Werner Lemberg <wl@gnu.org>
+
+ * src/pshinter/pshglob.h (PSH_DimensionRec): s/std/stdw/.
+ * src/pshinter/pshglob.c (psh_global_scale_widths,
+ psh_dimension_snap_width, psh_globals_destroy, psh_globals_new):
+ Ditto.
+
2002-03-05 David Turner <david@freetype.org>
* src/type1/t1objs.c (T1_Face_Init),
diff --git a/src/pshinter/pshglob.c b/src/pshinter/pshglob.c
index 4fb0788..03a722d 100644
--- a/src/pshinter/pshglob.c
+++ b/src/pshinter/pshglob.c
@@ -42,9 +42,9 @@
FT_UInt direction )
{
PSH_Dimension dim = &globals->dimension[direction];
- PSH_Widths std = &dim->std;
- FT_UInt count = std->count;
- PSH_Width width = std->widths;
+ PSH_Widths stdw = &dim->stdw;
+ FT_UInt count = stdw->count;
+ PSH_Width width = stdw->widths;
FT_Fixed scale = dim->scale_mult;
@@ -67,13 +67,13 @@
FT_Pos reference = width;
- for ( n = 0; n < dimension->std.count; n++ )
+ for ( n = 0; n < dimension->stdw.count; n++ )
{
FT_Pos w;
FT_Pos dist;
- w = dimension->std.widths[n].cur;
+ w = dimension->stdw.widths[n].cur;
dist = width - w;
if ( dist < 0 )
dist = -dist;
@@ -560,8 +560,8 @@
memory = globals->memory;
- globals->dimension[0].std.count = 0;
- globals->dimension[1].std.count = 0;
+ globals->dimension[0].stdw.count = 0;
+ globals->dimension[1].stdw.count = 0;
globals->blues.normal_top.count = 0;
globals->blues.normal_bottom.count = 0;
@@ -597,7 +597,7 @@
/* copy standard widths */
{
PSH_Dimension dim = &globals->dimension[1];
- PSH_Width write = dim->std.widths;
+ PSH_Width write = dim->stdw.widths;
write->org = priv->standard_width[1];
@@ -611,13 +611,13 @@
read++;
}
- dim->std.count = write - dim->std.widths;
+ dim->stdw.count = write - dim->stdw.widths;
}
/* copy standard heights */
{
PSH_Dimension dim = &globals->dimension[0];
- PSH_Width write = dim->std.widths;
+ PSH_Width write = dim->stdw.widths;
write->org = priv->standard_height[1];
@@ -631,7 +631,7 @@
read++;
}
- dim->std.count = write - dim->std.widths;
+ dim->stdw.count = write - dim->stdw.widths;
}
/* copy blue zones */
diff --git a/src/pshinter/pshglob.h b/src/pshinter/pshglob.h
index 33045df..a0ba233 100644
--- a/src/pshinter/pshglob.h
+++ b/src/pshinter/pshglob.h
@@ -82,7 +82,7 @@ FT_BEGIN_HEADER
typedef struct PSH_DimensionRec_
{
- PSH_WidthsRec std;
+ PSH_WidthsRec stdw;
FT_Fixed scale_mult;
FT_Fixed scale_delta;