diff options
author | Werner Lemberg <wl@gnu.org> | 2022-10-24 06:59:45 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2022-10-24 07:01:21 +0200 |
commit | dea2e6358b2f963008d447d27564dd79890b61f0 (patch) | |
tree | e1081c6ad6bc26d6ac71eae8fa7e60493cc82f15 /include | |
parent | 05e1b37e3deeaae35174bafb6d3a113ed6505e50 (diff) | |
download | freetype2-dea2e6358b2f963008d447d27564dd79890b61f0.tar.gz |
Replace '1/64th' (and similar entries) with '1/64' in docs and comments.
Diffstat (limited to 'include')
-rw-r--r-- | include/freetype/ftcache.h | 2 | ||||
-rw-r--r-- | include/freetype/ftglyph.h | 4 | ||||
-rw-r--r-- | include/freetype/ftlcdfil.h | 6 | ||||
-rw-r--r-- | include/freetype/ftpfr.h | 2 | ||||
-rw-r--r-- | include/freetype/internal/pshints.h | 4 | ||||
-rw-r--r-- | include/freetype/tttables.h | 4 |
6 files changed, 11 insertions, 11 deletions
diff --git a/include/freetype/ftcache.h b/include/freetype/ftcache.h index ecbbd7b8f..296ea01a2 100644 --- a/include/freetype/ftcache.h +++ b/include/freetype/ftcache.h @@ -424,7 +424,7 @@ FT_BEGIN_HEADER * pixel :: * A Boolean. If 1, the `width` and `height` fields are interpreted as * integer pixel character sizes. Otherwise, they are expressed as - * 1/64th of points. + * 1/64 of points. * * x_res :: * Only used when `pixel` is value~0 to indicate the horizontal diff --git a/include/freetype/ftglyph.h b/include/freetype/ftglyph.h index b9235463f..765379a86 100644 --- a/include/freetype/ftglyph.h +++ b/include/freetype/ftglyph.h @@ -413,7 +413,7 @@ FT_BEGIN_HEADER * * delta :: * A pointer to a 2d vector to apply. Coordinates are expressed in - * 1/64th of a pixel. + * 1/64 of a pixel. * * @return: * FreeType error code (if not 0, the glyph format is not scalable). @@ -500,7 +500,7 @@ FT_BEGIN_HEADER * @output: * acbox :: * The glyph coordinate bounding box. Coordinates are expressed in - * 1/64th of pixels if it is grid-fitted. + * 1/64 of pixels if it is grid-fitted. * * @note: * Coordinates are relative to the glyph origin, using the y~upwards diff --git a/include/freetype/ftlcdfil.h b/include/freetype/ftlcdfil.h index c767c6cb4..09e582a4d 100644 --- a/include/freetype/ftlcdfil.h +++ b/include/freetype/ftlcdfil.h @@ -137,11 +137,11 @@ FT_BEGIN_HEADER * * FT_LCD_FILTER_DEFAULT :: * This is a beveled, normalized, and color-balanced five-tap filter - * with weights of [0x08 0x4D 0x56 0x4D 0x08] in 1/256th units. + * with weights of [0x08 0x4D 0x56 0x4D 0x08] in 1/256 units. * * FT_LCD_FILTER_LIGHT :: * this is a boxy, normalized, and color-balanced three-tap filter with - * weights of [0x00 0x55 0x56 0x55 0x00] in 1/256th units. + * weights of [0x00 0x55 0x56 0x55 0x00] in 1/256 units. * * FT_LCD_FILTER_LEGACY :: * FT_LCD_FILTER_LEGACY1 :: @@ -226,7 +226,7 @@ FT_BEGIN_HEADER * * weights :: * A pointer to an array; the function copies the first five bytes and - * uses them to specify the filter weights in 1/256th units. + * uses them to specify the filter weights in 1/256 units. * * @return: * FreeType error code. 0~means success. diff --git a/include/freetype/ftpfr.h b/include/freetype/ftpfr.h index 428e32706..547d09f43 100644 --- a/include/freetype/ftpfr.h +++ b/include/freetype/ftpfr.h @@ -161,7 +161,7 @@ FT_BEGIN_HEADER * * @note: * You can use the `x_scale` or `y_scale` results of @FT_Get_PFR_Metrics - * to convert the advance to device subpixels (i.e., 1/64th of pixels). + * to convert the advance to device subpixels (i.e., 1/64 of pixels). */ FT_EXPORT( FT_Error ) FT_Get_PFR_Advance( FT_Face face, diff --git a/include/freetype/internal/pshints.h b/include/freetype/internal/pshints.h index 5de83e456..6d85e412f 100644 --- a/include/freetype/internal/pshints.h +++ b/include/freetype/internal/pshints.h @@ -294,7 +294,7 @@ FT_BEGIN_HEADER * * @note: * On input, all points within the outline are in font coordinates. On - * output, they are in 1/64th of pixels. + * output, they are in 1/64 of pixels. * * The scaling transformation is taken from the 'globals' object which * must correspond to the same font as the glyph. @@ -607,7 +607,7 @@ FT_BEGIN_HEADER * * @note: * On input, all points within the outline are in font coordinates. On - * output, they are in 1/64th of pixels. + * output, they are in 1/64 of pixels. * * The scaling transformation is taken from the 'globals' object which * must correspond to the same font than the glyph. diff --git a/include/freetype/tttables.h b/include/freetype/tttables.h index 21664df7b..82c24ff4e 100644 --- a/include/freetype/tttables.h +++ b/include/freetype/tttables.h @@ -424,8 +424,8 @@ FT_BEGIN_HEADER /* only version 5 and higher: */ - FT_UShort usLowerOpticalPointSize; /* in twips (1/20th points) */ - FT_UShort usUpperOpticalPointSize; /* in twips (1/20th points) */ + FT_UShort usLowerOpticalPointSize; /* in twips (1/20 points) */ + FT_UShort usUpperOpticalPointSize; /* in twips (1/20 points) */ } TT_OS2; |