public override TKernedString[] KernString(string s) { int[] b = new int[s.Length]; for (int i = 0; i < b.Length; i++) { b[i] = FTrueTypeData.Glyph(s[i], false); } return(FTrueTypeData.KernString(s, b)); }
public override TKernedString[] KernString(string s) { //Here we don't have chars > 255, so there are no unicode surrogates. int[] bi = new int[s.Length]; for (int i = 0; i < s.Length; i++) { bi[i] = FTrueTypeData.Glyph(s[i], false); } return(FTrueTypeData.KernString(s, bi)); }