From a9e9079e48ad5f86d2338044b40631005aee4ea7 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sat, 27 Feb 2021 09:15:26 +0200 Subject: [PATCH] gg: make .set_cfg public --- vlib/gg/text_rendering.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/gg/text_rendering.v b/vlib/gg/text_rendering.v index 8ee5122807..d3678e9a0f 100644 --- a/vlib/gg/text_rendering.v +++ b/vlib/gg/text_rendering.v @@ -135,7 +135,7 @@ fn new_ft(c FTConfig) ?&FT { } } -fn (ctx &Context) set_cfg(cfg gx.TextCfg) { +pub fn (ctx &Context) set_cfg(cfg gx.TextCfg) { if !ctx.font_inited { return }