diff --git a/products/fonts/index.html b/products/fonts/index.html index be8987c..6b011a6 100644 --- a/products/fonts/index.html +++ b/products/fonts/index.html @@ -266,8 +266,8 @@

Simple yet powerful

collection.Add("path/to/emojiFont.ttf"); collection.AddCollection("path/to/font.ttc"); -if(collection.TryFind("Font Name", out FontFamily family)) -if(collection.TryFind("Emoji Font Name", out FontFamily emojiFamily)) +if(collection.TryGet("Font Name", out FontFamily family)) +if(collection.TryGet("Emoji Font Name", out FontFamily emojiFamily)) { Font font = family.CreateFont(12, FontStyle.Italic); TextOptions options = new(font) @@ -323,4 +323,4 @@

Simple yet powerful

hljs.initLineNumbersOnLoad({singleLine: true}); - \ No newline at end of file +