Пример #1
0
        protected internal override void vmethod_0(Class80 reader)
        {
            Class74 stream = reader.Stream;
            int     num1   = (int)stream.method_8();
            int     num2   = (int)stream.method_8();

            this.ushort_0 = stream.method_8();
            for (int index = 0; index < num2; ++index)
            {
                int num3         = (int)stream.method_8();
                int num4         = (int)stream.method_8();
                int num5         = (int)stream.method_8();
                int num6         = (int)stream.method_8();
                int length       = (int)stream.method_8();
                int stringOffset = (int)stream.method_8();
                if (num3 == 3 && (num4 == 0 || num4 == 1) && num5 == 1033)
                {
                    switch (num6)
                    {
                    case 1:
                        this.string_0 = this.method_0(stream, stringOffset, length);
                        break;

                    case 4:
                        this.string_1 = this.method_0(stream, stringOffset, length);
                        break;
                    }
                    if (this.string_0 != string.Empty && this.string_1 != string.Empty)
                    {
                        break;
                    }
                }
            }
        }
Пример #2
0
        protected internal override void vmethod_0(Class80 reader)
        {
            Class74 stream        = reader.Stream;
            bool    isShortFormat = reader.method_3().IsShortFormat;
            int     capacity      = reader.method_4().GlyphCount + 1;

            this.ilist_0 = (IList <uint>) new List <uint>(capacity);
            for (int index = 0; index < capacity; ++index)
            {
                this.ilist_0.Insert(index, isShortFormat ? (uint)stream.method_8() << 1 : stream.method_14());
            }
        }
Пример #3
0
        protected internal override void vmethod_0(Class80 reader)
        {
            Class74 stream = reader.Stream;

            stream.method_25(2L);
            int num1 = (int)stream.method_8();

            for (int index1 = 0; index1 < num1; ++index1)
            {
                stream.method_25(2L);
                ushort num2 = stream.method_8();
                ushort num3 = stream.method_8();
                if (((int)num3 & 1) == 1 && ((int)num3 & 2) == 0 && (int)num3 >> 8 == 0)
                {
                    int numPairs = (int)stream.method_8();
                    this.bool_0    = true;
                    this.class77_0 = new Class77(numPairs);
                    stream.method_25(6L);
                    for (int index2 = 0; index2 < numPairs; ++index2)
                    {
                        this.class77_0.method_1(stream.method_8(), stream.method_8(), (int)stream.method_6());
                    }
                }
                else
                {
                    stream.method_25((long)((int)num2 - 6));
                }
            }
        }
Пример #4
0
        protected internal void method_0(Class74 stream)
        {
            stream.method_25(4L);
            int capacity = (int)stream.method_8();

            stream.method_25(6L);
            this.idictionary_0 = (IDictionary <string, Class41>) new Dictionary <string, Class41>(capacity);
            for (int index = 0; index < capacity; ++index)
            {
                Class41 class41 = new Class41(stream.method_20(), stream.method_14(), stream.method_14(), stream.method_14());
                this.idictionary_0.Add(class41.TableName, class41);
            }
        }
Пример #5
0
        protected internal override void vmethod_0(Class80 reader)
        {
            Class74 stream = reader.Stream;

            this.int_0    = stream.method_16();
            this.short_0  = stream.method_6();
            this.short_1  = stream.method_6();
            this.short_2  = stream.method_6();
            this.ushort_0 = stream.method_10();
            this.short_3  = stream.method_6();
            this.short_4  = stream.method_6();
            this.short_5  = stream.method_6();
            this.short_6  = stream.method_4();
            this.short_7  = stream.method_4();
            this.short_8  = stream.method_4();
            int num1 = (int)stream.method_4();
            int num2 = (int)stream.method_4();
            int num3 = (int)stream.method_4();
            int num4 = (int)stream.method_4();

            this.short_9  = stream.method_4();
            this.ushort_1 = stream.method_8();
        }
Пример #6
0
        protected internal override void vmethod_0(Class80 reader)
        {
            Class74 stream       = reader.Stream;
            int     hmetricCount = reader.method_5().HMetricCount;
            int     glyphCount   = reader.method_4().GlyphCount;
            int     capacity     = glyphCount > hmetricCount ? glyphCount : hmetricCount;

            this.ilist_0 = (IList <Class57>) new List <Class57>(capacity);
            for (int index = 0; index < hmetricCount; ++index)
            {
                this.ilist_0.Add(new Class57(stream.method_8(), stream.method_4()));
            }
            if (hmetricCount >= capacity)
            {
                return;
            }
            Class57 class57 = this.ilist_0[this.ilist_0.Count - 1];

            for (int index = hmetricCount; index < glyphCount; ++index)
            {
                this.ilist_0.Add(new Class57(class57.AdvanceWidth, stream.method_4()));
            }
        }
Пример #7
0
        protected internal override void vmethod_0(Class80 reader)
        {
            Class74 stream = reader.Stream;

            this.int_0    = stream.method_16();
            this.ushort_0 = stream.method_8();
            if (this.int_0 != 65536)
            {
                return;
            }
            this.ushort_1  = stream.method_8();
            this.ushort_2  = stream.method_8();
            this.ushort_3  = stream.method_8();
            this.ushort_4  = stream.method_8();
            this.ushort_5  = stream.method_8();
            this.ushort_6  = stream.method_8();
            this.ushort_7  = stream.method_8();
            this.ushort_8  = stream.method_8();
            this.ushort_9  = stream.method_8();
            this.ushort_10 = stream.method_8();
            this.ushort_11 = stream.method_8();
            this.ushort_12 = stream.method_8();
            this.ushort_13 = stream.method_8();
        }
Пример #8
0
        protected internal override void vmethod_0(Class80 reader)
        {
            Class74 stream = reader.Stream;

            this.ushort_0 = stream.method_8();
            this.short_0  = stream.method_4();
            this.ushort_1 = stream.method_8();
            this.ushort_2 = stream.method_8();
            this.ushort_3 = (ushort)((uint)stream.method_8() & 4294967294U);
            this.short_1  = stream.method_4();
            this.short_2  = stream.method_4();
            this.short_3  = stream.method_4();
            this.short_4  = stream.method_4();
            this.short_5  = stream.method_4();
            this.short_6  = stream.method_4();
            this.short_7  = stream.method_4();
            this.short_8  = stream.method_4();
            this.short_9  = stream.method_4();
            this.short_10 = stream.method_4();
            short num = stream.method_4();

            this.byte_0 = (byte)((uint)num >> 8);
            this.byte_1 = (byte)((uint)num & (uint)byte.MaxValue);
            stream.method_24(this.byte_2, 0, this.byte_2.Length);
            this.uint_0     = stream.method_14();
            this.uint_1     = stream.method_14();
            this.uint_2     = stream.method_14();
            this.uint_3     = stream.method_14();
            this.sbyte_0[0] = stream.method_2();
            this.sbyte_0[1] = stream.method_2();
            this.sbyte_0[2] = stream.method_2();
            this.sbyte_0[3] = stream.method_2();
            this.ushort_4   = stream.method_8();
            this.ushort_5   = stream.method_8();
            this.ushort_6   = stream.method_8();
            this.short_11   = stream.method_4();
            this.short_12   = stream.method_4();
            this.short_13   = stream.method_4();
            this.ushort_7   = stream.method_8();
            this.ushort_8   = stream.method_8();
            this.uint_4     = stream.method_14();
            this.uint_5     = stream.method_14();
            this.short_14   = stream.method_4();
            this.short_15   = stream.method_4();
            this.ushort_9   = stream.method_8();
            this.ushort_10  = stream.method_8();
            this.ushort_11  = stream.method_8();
        }