summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnurag Thakur <anurag105csec21@bpitindia.edu.in>2022-09-11 11:57:14 +0530
committerAnurag Thakur <anurag105csec21@bpitindia.edu.in>2022-09-11 11:58:22 +0530
commitea114d2cdfff6cdacd73921ccfc92acad32a7ffd (patch)
treed2c0c403af0f963023f47233e436612f5662271e
parent8e68439a6ffc9e489a70f2c278a016fe15394abf (diff)
downloadfreetype2-gsoc-anurag-2022-docs.tar.gz
Begin adding comments for documentationgsoc-anurag-2022-docs
-rw-r--r--src/smooth/ftsmooth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/smooth/ftsmooth.c b/src/smooth/ftsmooth.c
index df227c375..9015dca9c 100644
--- a/src/smooth/ftsmooth.c
+++ b/src/smooth/ftsmooth.c
@@ -477,6 +477,7 @@
slot->internal->flags |= FT_GLYPH_OWN_BITMAP;
+ /* Outline points are expressed as 1/64th of a pixel (26.6 fixed-point format) */
x_shift = 64 * -slot->bitmap_left;
y_shift = 64 * -slot->bitmap_top;
if ( bitmap->pixel_mode == FT_PIXEL_MODE_LCD_V )