diff --git a/Source/Utilities/Fonts/TextPrinter.cs b/Source/Utilities/Fonts/TextPrinter.cs index 16703a7a..c9f80b45 100644 --- a/Source/Utilities/Fonts/TextPrinter.cs +++ b/Source/Utilities/Fonts/TextPrinter.cs @@ -207,7 +207,7 @@ namespace OpenTK.Graphics if (alignment == StringAlignment.Near && !rightToLeft || alignment == StringAlignment.Far && rightToLeft) { ICollection ranges = new List(); - font.MeasureCharacterRanges(text, StringFormat.GenericTypographic, ref ranges); + font.MeasureCharacterRanges(text, ref ranges); int current = 0; //foreach (char c in text)