public static MieFontWeightEntry Read(BinaryReader reader)
        {
            MieFontWeightEntry result = new MieFontWeightEntry();

            result.RegularTypeFaceFildID = reader.ReadInt32();
            result.RegularTypeFacePathID = reader.ReadInt64();
            result.ItalicTypeFaceFileID  = reader.ReadInt32();
            result.ItalicTypeFacePathID  = reader.ReadInt64();

            return(result);
        }
        public static MieFontWeights Read(BinaryReader reader)
        {
            MieFontWeights result = new MieFontWeights();

            result.NumOfFontWeights = reader.ReadInt32();
            for (int i = 0; i < result.NumOfFontWeights; i++)
            {
                MieFontWeightEntry entry = MieFontWeightEntry.Read(reader);
                result.Items.Add(entry);
            }

            return(result);
        }