001 /* OpenType.java
002 Copyright (C) 2003 Free Software Foundation, Inc.
003
004 This file is part of GNU Classpath.
005
006 GNU Classpath is free software; you can redistribute it and/or modify
007 it under the terms of the GNU General Public License as published by
008 the Free Software Foundation; either version 2, or (at your option)
009 any later version.
010
011 GNU Classpath is distributed in the hope that it will be useful, but
012 WITHOUT ANY WARRANTY; without even the implied warranty of
013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
014 General Public License for more details.
015
016 You should have received a copy of the GNU General Public License
017 along with GNU Classpath; see the file COPYING. If not, write to the
018 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
019 02110-1301 USA.
020
021 Linking this library statically or dynamically with other modules is
022 making a combined work based on this library. Thus, the terms and
023 conditions of the GNU General Public License cover the whole
024 combination.
025
026 As a special exception, the copyright holders of this library give you
027 permission to link this library with independent modules to produce an
028 executable, regardless of the license terms of these independent
029 modules, and to copy and distribute the resulting executable under
030 terms of your choice, provided that you also meet, for each linked
031 independent module, the terms and conditions of the license of that
032 module. An independent module is a module which is not derived from
033 or based on this library. If you modify this library, you may extend
034 this exception to your version of the library, but you are not
035 obligated to do so. If you do not wish to do so, delete this
036 exception statement from your version. */
037
038
039 package java.awt.font;
040
041 /**
042 * @author Michael Koch
043 */
044 public interface OpenType
045 {
046 int TAG_ACNT = 1633906292;
047 int TAG_AVAR = 1635148146;
048 int TAG_BASE = 1111577413;
049 int TAG_BDAT = 1650745716;
050 int TAG_BLOC = 1651273571;
051 int TAG_BSLN = 1651731566;
052 int TAG_CFF = 1128678944;
053 int TAG_CMAP = 1668112752;
054 int TAG_CVAR = 1668702578;
055 int TAG_CVT = 1668707360;
056 int TAG_DSIG = 1146308935;
057 int TAG_EBDT = 1161970772;
058 int TAG_EBLC = 1161972803;
059 int TAG_EBSC = 1161974595;
060 int TAG_FDSC = 1717859171;
061 int TAG_FEAT = 1717920116;
062 int TAG_FMTX = 1718449272;
063 int TAG_FPGM = 1718642541;
064 int TAG_FVAR = 1719034226;
065 int TAG_GASP = 1734439792;
066 int TAG_GDEF = 1195656518;
067 int TAG_GLYF = 1735162214;
068 int TAG_GPOS = 1196445523;
069 int TAG_GSUB = 1196643650;
070 int TAG_GVAR = 1735811442;
071 int TAG_HDMX = 1751412088;
072 int TAG_HEAD = 1751474532;
073 int TAG_HHEA = 1751672161;
074 int TAG_HMTX = 1752003704;
075 int TAG_JSTF = 1246975046;
076 int TAG_JUST = 1786082164;
077 int TAG_KERN = 1801810542;
078 int TAG_LCAR = 1818452338;
079 int TAG_LOCA = 1819239265;
080 int TAG_LTSH = 1280594760;
081 int TAG_MAXP = 1835104368;
082 int TAG_MMFX = 1296909912;
083 int TAG_MMSD = 1296913220;
084 int TAG_MORT = 1836020340;
085 int TAG_NAME = 1851878757;
086 int TAG_OPBD = 1836020340;
087 int TAG_OS2 = 1330851634;
088 int TAG_PCLT = 1346587732;
089 int TAG_POST = 1886352244;
090 int TAG_PREP = 1886545264;
091 int TAG_PROP = 1886547824;
092 int TAG_TRAK = 1953653099;
093 int TAG_TYP1 = 1954115633;
094 int TAG_VDMX = 1447316824;
095 int TAG_VHEA = 1986553185;
096 int TAG_VMTX = 1986884728;
097
098 byte[] getFontTable (int sfntTag);
099
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 }