Note the lack of floating-point data types.

This commit is contained in:
Alexei Podtelezhnikov 2022-10-14 22:06:23 -04:00
parent 5182264a40
commit 3ab1875cd2
2 changed files with 6 additions and 2 deletions

View File

@ -4694,7 +4694,8 @@ FT_BEGIN_HEADER
*
* @description:
* This section contains various functions used to perform computations
* on 16.16 fixed-float numbers or 2d vectors.
* on 16.16 fixed-point numbers or 2D vectors. FreeType does not use
* floating-point data types.
*
* **Attention**: Most arithmetic functions take `FT_Long` as arguments.
* For historical reasons, FreeType was designed under the assumption

View File

@ -45,7 +45,10 @@ FT_BEGIN_HEADER
* @description:
* This section contains the basic data types defined by FreeType~2,
* ranging from simple scalar types to bitmap descriptors. More
* font-specific structures are defined in a different section.
* font-specific structures are defined in a different section. Note
* that FreeType does not use floating-point data types. Fractional
* values are represented by fixed-point integers, with lower bits
* storing the fractional part.
*
* @order:
* FT_Byte