diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2026-10-26 08:25:59 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2026-10-26 08:25:59 +0100 |
| commit | 110bc6d9ef413ad4ccdc15d2215cda00b74a4748 (patch) | |
| tree | ac38c917b8bb15d47870674bac11434720078161 /tests | |
| parent | 272db86a1755e87595dc3c2c6f4925c352af3056 (diff) | |
win compilation, font size in apiwin_comp
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/text.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/text.c b/tests/text.c index d151b53..fda9c4a 100644 --- a/tests/text.c +++ b/tests/text.c @@ -260,7 +260,7 @@ void font_file_path() { vkvg_set_source_rgb(ctx, 0, 0, 0); vkvg_paint(ctx); vkvg_set_source_rgb(ctx, 1, 1, 1); - vkvg_load_font_from_path(ctx, "data/DancingScript-Regular.ttf", "droid"); + vkvg_load_font_from_path(ctx, "data/DancingScript-Regular.ttf", 50); print_boxed(ctx, "This is a test string!", 50, 20, 12); print_boxed(ctx, "This is a test string!", 50, 50, 20); print_boxed(ctx, "ANOTHER ONE TO CHECK..", 50, 80, 20); @@ -312,7 +312,7 @@ void proto_sinaitic() { vkvg_paint(ctx); vkvg_set_source_rgb(ctx, 1, 1, 1); - vkvg_load_font_from_path(ctx, "data/Proto-Sinaitic15.ttf", "sinaitic"); + vkvg_load_font_from_path(ctx, "data/Proto-Sinaitic15.ttf", 50); print_boxed(ctx, "hwhy", 100, 150, 60); vkvg_destroy(ctx); |