void CreateTypograph() { string text = TextUtil.NormalizeLineEnding(File.ReadAllText(@"C:\Users\Bryan\Desktop\text.gtxt")); displayProperties = new TypographDisplayProperties(OverflowBehavior.Extend, 500); var td = LoadFromMarkup.Load(text, english, false); Console.WriteLine(td.ToStringDebug()); typograph = new Typograph(td, new Vector2(100, 100), displayProperties); //typograph = new Typograph(td, library.DefaultFont, library.DefaultTextColor, library.DefaultFontSize, new Vector2(100, 100), displayProperties); }
internal virtual void Apply(Typograph typograph, int glyphIndex, Glyph glyph) { }