diff options
author | Mattias Andrée <maandree@kth.se> | 2021-08-05 20:53:28 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-08-05 20:53:28 +0200 |
commit | a5fe9dab3f68668e3bc31326447139b7446edbc7 (patch) | |
tree | 5490cf70dacbf27406817bf759cecd61f7402219 /common.h | |
parent | make demo flexible + minor fixes (diff) | |
download | libskrift-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.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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[]; |