aboutsummaryrefslogtreecommitdiffstats
path: root/demo.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--demo.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/demo.c b/demo.c
index 60ba4bb..a4d998c 100644
--- a/demo.c
+++ b/demo.c
@@ -23,6 +23,12 @@ main(void)
perror("libskrift_open_font_file");
return -1;
}
+ rendering.char_transformation[0] = 1;
+ rendering.char_transformation[1] = 0.25;
+ rendering.char_transformation[2] = 0;
+ rendering.char_transformation[3] = 0;
+ rendering.char_transformation[4] = 1;
+ rendering.char_transformation[5] = 0;
height = libskrift_points_to_pixels(72, &rendering);
if (libskrift_create_context(&ctx, &font, 1, height, &rendering, NULL)) {
perror("libskrift_create_context");