void FT_Set_Transform(FT_Face Face, FT_Matrix *MatriceRotation, FT_Vector *VecteurTranslation);
La transformation du repère de coordonnées n'affecte pas les métriques des glyphes.
#include <ft2build.h>
#include <freetype/ftoutln.h>
#include <freetype/ftstroke.h>
FT_Library Bibliotheque;
char NomFichierPolice[256];
FT_Face Face;
FT_Matrix Matrice;
...
if (FT_New_Face(Bibliotheque, NomFichierPolice, 0, &Face))
{
...
}
...
if (FT_Set_Char_Size(Face, 0, 640, 72, 72))
{
...
}
...
if (FT_Set_Transform(Face, &Matrice, NULL))
{
...
}
...
if (FT_Done_Face(Face))
{
...
}
...