summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2003-07-03 13:56:28 +0000
committerWerner Lemberg <wl@gnu.org>2003-07-03 13:56:28 +0000
commitc8cbf832ee87fb0ffa993be5b4b2a0abb64a15aa (patch)
tree60e600bb005a5a5dcb5ce281b6c6487dec1d8b5e
parent3d6ad172a89ac663b4c2cc097dbcc9f7b7b5769f (diff)
downloadfreetype2-c8cbf832ee87fb0ffa993be5b4b2a0abb64a15aa.tar.gz
formatting, improving documentation
-rw-r--r--include/freetype/freetype.h17
-rw-r--r--src/type1/t1objs.c6
2 files changed, 13 insertions, 10 deletions
diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h
index f4c3e6188..f69475584 100644
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -167,9 +167,10 @@ FT_BEGIN_HEADER
/* FT_Glyph_Metrics */
/* */
/* <Description> */
- /* A structure used to model the metrics of a single glyph. Note */
- /* that values are expressed in 26.6 fractional pixel format or in */
- /* font units, depending on context. */
+ /* A structure used to model the metrics of a single glyph. The */
+ /* values are expressed in 26.6 fractional pixel format; if the flag */
+ /* FT_LOAD_NO_SCALE is used, values are returned in font units */
+ /* instead. */
/* */
/* <Fields> */
/* width :: The glyph's width. */
@@ -1363,13 +1364,15 @@ FT_BEGIN_HEADER
/* FT_GLYPH_FORMAT_OUTLINE. */
/* */
/* num_subglyphs :: The number of subglyphs in a composite glyph. */
- /* This format is only valid for the composite */
- /* glyph format, that should normally only be */
- /* loaded with the FT_LOAD_NO_RECURSE flag. */
+ /* This field is only valid for the composite */
+ /* glyph format that should normally only be */
+ /* loaded with the FT_LOAD_NO_RECURSE flag. For */
+ /* now this is internal to FreeType. */
/* */
/* subglyphs :: An array of subglyph descriptors for */
/* composite glyphs. There are `num_subglyphs' */
- /* elements in there. */
+ /* elements in there. Currently internal to */
+ /* FreeType. */
/* */
/* control_data :: Certain font drivers can also return the */
/* control data for a given glyph image (e.g. */
diff --git a/src/type1/t1objs.c b/src/type1/t1objs.c
index 0b6586ce2..547af263d 100644
--- a/src/type1/t1objs.c
+++ b/src/type1/t1objs.c
@@ -118,9 +118,9 @@
if ( funcs )
error = funcs->set_scale( (PSH_Globals)size->root.internal,
- size->root.metrics.x_scale,
- size->root.metrics.y_scale,
- 0, 0 );
+ size->root.metrics.x_scale,
+ size->root.metrics.y_scale,
+ 0, 0 );
return error;
}