public static ActiveTypefaceCache GetTypefaceStoreOrCreateNewIfNotExist() { if (s_typefaceStore == null) { s_typefaceStore = new ActiveTypefaceCache(); } return(s_typefaceStore); }
public TextServices() { typefaceStore = ActiveTypefaceCache.GetTypefaceStoreOrCreateNewIfNotExist(); _glyphLayout = new GlyphLayout(); }