public void InitDictionary() { if (useDictionary && charDict == null) { charDict = new Dictionary<int, tk2dFontChar>(charDictKeys.Count); for (int i = 0; i < charDictKeys.Count; ++i) { charDict[charDictKeys[i]] = charDictValues[i]; } } }
void InitInstance() { if (data != null && data.font != null) { _fontInst = data.font.inst; _fontInst.InitDictionary(); } }