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 }