Beispiel #1
0
        //-------------------------------------------------------



        //experiment
        internal void LoadOpenFontLayoutInfo(GDEF gdefTable, GSUB gsubTable, GPOS gposTable, BASE baseTable, COLR colrTable, CPAL cpalTable)
        {
            //***
            this.GDEFTable = gdefTable;
            this.GSUBTable = gsubTable;
            this.GPOSTable = gposTable;
            this.BaseTable = baseTable;
            this.COLRTable = colrTable;
            this.CPALTable = cpalTable;
            //---------------------------
            //1. fill glyph definition
            if (gdefTable != null)
            {
                gdefTable.FillGlyphData(this.Glyphs);
                //if (this.Glyphs != null)
                //{

                //}
                //else if (_cffTable != null)
                //{
                //    //post script outline
                //    //TODO: fill gdef for cff font

                //}
            }
        }
Beispiel #2
0
 //-------------------------------------------------------
 //experiment
 internal void LoadOpenFontLayoutInfo(GDEF gdefTable, GSUB gsubTable, GPOS gposTable, BASE baseTable)
 {
     //***
     this.GDEFTable = gdefTable;
     this.GSUBTable = gsubTable;
     this.GPOSTable = gposTable;
     this.BaseTable = baseTable;
     //---------------------------
     //1. fill glyph definition
     if (gdefTable != null)
     {
         gdefTable.FillGlyphData(this.Glyphs);
     }
 }