diff --git a/examples/markdown/markdown.go b/examples/markdown/markdown.go index 07a219d8..7c569e4c 100644 --- a/examples/markdown/markdown.go +++ b/examples/markdown/markdown.go @@ -63,8 +63,8 @@ func loop() { }), }, giu.Markdown(&markdown). - Header(0, (giu.GetDefaultFonts())[0].SetSize(28), true). - Header(1, (giu.GetDefaultFonts())[0].SetSize(26), false). + Header(0, (giu.Context.FontAtlas.GetDefaultFonts())[0].SetSize(28), true). + Header(1, (giu.Context.FontAtlas.GetDefaultFonts())[0].SetSize(26), false). Header(2, nil, true), ), )