aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-08-05 20:53:28 +0200
committerMattias Andrée <maandree@kth.se>2021-08-05 20:53:28 +0200
commita5fe9dab3f68668e3bc31326447139b7446edbc7 (patch)
tree5490cf70dacbf27406817bf759cecd61f7402219 /common.h
parentmake demo flexible + minor fixes (diff)
downloadlibskrift-a5fe9dab3f68668e3bc31326447139b7446edbc7.tar.gz
libskrift-a5fe9dab3f68668e3bc31326447139b7446edbc7.tar.bz2
libskrift-a5fe9dab3f68668e3bc31326447139b7446edbc7.tar.xz
Improvements for character transformations
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--common.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/common.h b/common.h
index 787ec68..d8c4a56 100644
--- a/common.h
+++ b/common.h
@@ -36,8 +36,10 @@ struct libskrift_context {
char subpixel_horizontally;
char subpixel_vertically;
char subpixel_bgr;
- double x_advancement;
- double y_advancement;
+ double char_x_advancement;
+ double char_y_advancement;
+ double text_x_advancement;
+ double text_y_advancement;
double transformation[6];
size_t nfonts;
LIBSKRIFT_FONT *fonts[];