Source for java.awt.font.OpenType

   1: /* OpenType.java
   2:    Copyright (C) 2003 Free Software Foundation, Inc.
   3: 
   4: This file is part of GNU Classpath.
   5: 
   6: GNU Classpath is free software; you can redistribute it and/or modify
   7: it under the terms of the GNU General Public License as published by
   8: the Free Software Foundation; either version 2, or (at your option)
   9: any later version.
  10: 
  11: GNU Classpath is distributed in the hope that it will be useful, but
  12: WITHOUT ANY WARRANTY; without even the implied warranty of
  13: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  14: General Public License for more details.
  15: 
  16: You should have received a copy of the GNU General Public License
  17: along with GNU Classpath; see the file COPYING.  If not, write to the
  18: Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  19: 02110-1301 USA.
  20: 
  21: Linking this library statically or dynamically with other modules is
  22: making a combined work based on this library.  Thus, the terms and
  23: conditions of the GNU General Public License cover the whole
  24: combination.
  25: 
  26: As a special exception, the copyright holders of this library give you
  27: permission to link this library with independent modules to produce an
  28: executable, regardless of the license terms of these independent
  29: modules, and to copy and distribute the resulting executable under
  30: terms of your choice, provided that you also meet, for each linked
  31: independent module, the terms and conditions of the license of that
  32: module.  An independent module is a module which is not derived from
  33: or based on this library.  If you modify this library, you may extend
  34: this exception to your version of the library, but you are not
  35: obligated to do so.  If you do not wish to do so, delete this
  36: exception statement from your version. */
  37: 
  38: 
  39: package java.awt.font;
  40: 
  41: /**
  42:  * @author Michael Koch
  43:  */
  44: public interface OpenType
  45: {
  46:   int TAG_ACNT = 1633906292;
  47:   int TAG_AVAR = 1635148146;
  48:   int TAG_BASE = 1111577413;
  49:   int TAG_BDAT = 1650745716;
  50:   int TAG_BLOC = 1651273571;
  51:   int TAG_BSLN = 1651731566;
  52:   int TAG_CFF = 1128678944;
  53:   int TAG_CMAP = 1668112752;
  54:   int TAG_CVAR = 1668702578;
  55:   int TAG_CVT = 1668707360;
  56:   int TAG_DSIG = 1146308935;
  57:   int TAG_EBDT = 1161970772;
  58:   int TAG_EBLC = 1161972803;
  59:   int TAG_EBSC = 1161974595;
  60:   int TAG_FDSC = 1717859171;
  61:   int TAG_FEAT = 1717920116;
  62:   int TAG_FMTX = 1718449272;
  63:   int TAG_FPGM = 1718642541;
  64:   int TAG_FVAR = 1719034226;
  65:   int TAG_GASP = 1734439792;
  66:   int TAG_GDEF = 1195656518;
  67:   int TAG_GLYF = 1735162214;
  68:   int TAG_GPOS = 1196445523;
  69:   int TAG_GSUB = 1196643650;
  70:   int TAG_GVAR = 1735811442;
  71:   int TAG_HDMX = 1751412088;
  72:   int TAG_HEAD = 1751474532;
  73:   int TAG_HHEA = 1751672161;
  74:   int TAG_HMTX = 1752003704;
  75:   int TAG_JSTF = 1246975046;
  76:   int TAG_JUST = 1786082164;
  77:   int TAG_KERN = 1801810542;
  78:   int TAG_LCAR = 1818452338;
  79:   int TAG_LOCA = 1819239265;
  80:   int TAG_LTSH = 1280594760;
  81:   int TAG_MAXP = 1835104368;
  82:   int TAG_MMFX = 1296909912;
  83:   int TAG_MMSD = 1296913220;
  84:   int TAG_MORT = 1836020340;
  85:   int TAG_NAME = 1851878757;
  86:   int TAG_OPBD = 1836020340;
  87:   int TAG_OS2 = 1330851634;
  88:   int TAG_PCLT = 1346587732;
  89:   int TAG_POST = 1886352244;
  90:   int TAG_PREP = 1886545264;
  91:   int TAG_PROP = 1886547824;
  92:   int TAG_TRAK = 1953653099;
  93:   int TAG_TYP1 = 1954115633;
  94:   int TAG_VDMX = 1447316824;
  95:   int TAG_VHEA = 1986553185;
  96:   int TAG_VMTX = 1986884728;
  97:   
  98:   byte[] getFontTable (int sfntTag);
  99:   
 100:   byte[] getFontTable (int sfntTag, int offset, int count);
 101:   
 102:   byte[] getFontTable (String strSfntTag);
 103:   
 104:   byte[] getFontTable (String strSfntTag, int offset, int count);
 105:   
 106:   int getFontTableSize (int sfntTag);
 107:   
 108:   int getFontTableSize (String strSfntTag);
 109:   
 110:   int getVersion ();
 111: }