Beispiel #1
0
        internal void AddMap(string mapFileName, string fontFileName)
        {
            CharacterSet characterSet = findExistingCharsetByFileName(fontFileName);

            if (characterSet == null)
            {
                characterSet = CharacterSet.CreateFromFileName(fontFileName);
                AddCharSet(characterSet, false);
            }

            AddMap(MapDeserializer.Load(this, Path, mapFileName, characterSet));
        }
Beispiel #2
0
        public void AddMap(String fontFileName)
        {
            CharacterSet characterSet = findExistingCharsetByFileName(fontFileName);

            if (characterSet == null)
            {
                characterSet = CharacterSet.CreateFromFileName(fontFileName);
                AddCharSet(characterSet, false);
            }

            AddMap(Map.CreateNewMap(this, characterSet));
        }