summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/awt/font/opentype
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/java/awt/font/opentype')
-rw-r--r--libjava/gnu/java/awt/font/opentype/CharGlyphMap$Dummy.h42
-rw-r--r--libjava/gnu/java/awt/font/opentype/CharGlyphMap$Type0.h66
-rw-r--r--libjava/gnu/java/awt/font/opentype/CharGlyphMap$Type12.h53
-rw-r--r--libjava/gnu/java/awt/font/opentype/CharGlyphMap$Type4.h60
-rw-r--r--libjava/gnu/java/awt/font/opentype/CharGlyphMap.h52
-rw-r--r--libjava/gnu/java/awt/font/opentype/GlyphNamer.h69
-rw-r--r--libjava/gnu/java/awt/font/opentype/Hinter.h45
-rw-r--r--libjava/gnu/java/awt/font/opentype/MacResourceFork$Resource.h58
-rw-r--r--libjava/gnu/java/awt/font/opentype/MacResourceFork.h55
-rw-r--r--libjava/gnu/java/awt/font/opentype/NameDecoder.h85
-rw-r--r--libjava/gnu/java/awt/font/opentype/OpenTypeFont.h128
-rw-r--r--libjava/gnu/java/awt/font/opentype/OpenTypeFontFactory.h49
-rw-r--r--libjava/gnu/java/awt/font/opentype/Scaler.h60
-rw-r--r--libjava/gnu/java/awt/font/opentype/truetype/Fixed.h58
-rw-r--r--libjava/gnu/java/awt/font/opentype/truetype/GlyphLoader.h92
-rw-r--r--libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator$FourByte.h54
-rw-r--r--libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator$TwoByte.h54
-rw-r--r--libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator.h54
-rw-r--r--libjava/gnu/java/awt/font/opentype/truetype/GlyphMeasurer.h66
-rw-r--r--libjava/gnu/java/awt/font/opentype/truetype/Point.h99
-rw-r--r--libjava/gnu/java/awt/font/opentype/truetype/TrueTypeScaler.h76
-rw-r--r--libjava/gnu/java/awt/font/opentype/truetype/VirtualMachine.h153
-rw-r--r--libjava/gnu/java/awt/font/opentype/truetype/Zone.h92
-rw-r--r--libjava/gnu/java/awt/font/opentype/truetype/ZonePathIterator.h68
24 files changed, 1688 insertions, 0 deletions
diff --git a/libjava/gnu/java/awt/font/opentype/CharGlyphMap$Dummy.h b/libjava/gnu/java/awt/font/opentype/CharGlyphMap$Dummy.h
new file mode 100644
index 000000000..a5f784d7a
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/CharGlyphMap$Dummy.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_CharGlyphMap$Dummy__
+#define __gnu_java_awt_font_opentype_CharGlyphMap$Dummy__
+
+#pragma interface
+
+#include <gnu/java/awt/font/opentype/CharGlyphMap.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ class CharGlyphMap$Dummy;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::CharGlyphMap$Dummy : public ::gnu::java::awt::font::opentype::CharGlyphMap
+{
+
+ CharGlyphMap$Dummy();
+public:
+ jint getGlyph(jint);
+public: // actually package-private
+ CharGlyphMap$Dummy(::gnu::java::awt::font::opentype::CharGlyphMap$Dummy *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_CharGlyphMap$Dummy__
diff --git a/libjava/gnu/java/awt/font/opentype/CharGlyphMap$Type0.h b/libjava/gnu/java/awt/font/opentype/CharGlyphMap$Type0.h
new file mode 100644
index 000000000..0b5a45f9d
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/CharGlyphMap$Type0.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_CharGlyphMap$Type0__
+#define __gnu_java_awt_font_opentype_CharGlyphMap$Type0__
+
+#pragma interface
+
+#include <gnu/java/awt/font/opentype/CharGlyphMap.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ class CharGlyphMap$Type0;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::CharGlyphMap$Type0 : public ::gnu::java::awt::font::opentype::CharGlyphMap
+{
+
+public:
+ CharGlyphMap$Type0(::java::nio::ByteBuffer *);
+private:
+ void readSingleTable(::java::nio::ByteBuffer *, jint, jint, jint);
+public:
+ jint getGlyph(jint);
+private:
+ static ::java::lang::String * getUpper129(jint, jint, jint);
+ JArray< jchar > * __attribute__((aligned(__alignof__( ::gnu::java::awt::font::opentype::CharGlyphMap)))) glyphToUCS2;
+ static ::java::lang::String * UPPER_ARABIC;
+ static ::java::lang::String * UPPER_EAST_EUROPEAN_ROMAN;
+ static ::java::lang::String * UPPER_CROATIAN;
+ static ::java::lang::String * UPPER_CYRILLIC;
+ static ::java::lang::String * UPPER_FARSI;
+ static ::java::lang::String * UPPER_GREEK;
+ static ::java::lang::String * UPPER_HEBREW;
+ static ::java::lang::String * UPPER_ICELANDIC;
+ static ::java::lang::String * UPPER_ROMAN;
+ static ::java::lang::String * UPPER_ROMANIAN;
+ static ::java::lang::String * UPPER_TURKISH;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_CharGlyphMap$Type0__
diff --git a/libjava/gnu/java/awt/font/opentype/CharGlyphMap$Type12.h b/libjava/gnu/java/awt/font/opentype/CharGlyphMap$Type12.h
new file mode 100644
index 000000000..d1250fcbe
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/CharGlyphMap$Type12.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_CharGlyphMap$Type12__
+#define __gnu_java_awt_font_opentype_CharGlyphMap$Type12__
+
+#pragma interface
+
+#include <gnu/java/awt/font/opentype/CharGlyphMap.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ class CharGlyphMap$Type12;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class IntBuffer;
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::CharGlyphMap$Type12 : public ::gnu::java::awt::font::opentype::CharGlyphMap
+{
+
+public: // actually package-private
+ static jboolean isSupported(jint, jint);
+ CharGlyphMap$Type12(::java::nio::ByteBuffer *, jint, jint);
+public:
+ jint getGlyph(jint);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::gnu::java::awt::font::opentype::CharGlyphMap)))) numGroups;
+ ::java::nio::IntBuffer * data;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_CharGlyphMap$Type12__
diff --git a/libjava/gnu/java/awt/font/opentype/CharGlyphMap$Type4.h b/libjava/gnu/java/awt/font/opentype/CharGlyphMap$Type4.h
new file mode 100644
index 000000000..300920036
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/CharGlyphMap$Type4.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_CharGlyphMap$Type4__
+#define __gnu_java_awt_font_opentype_CharGlyphMap$Type4__
+
+#pragma interface
+
+#include <gnu/java/awt/font/opentype/CharGlyphMap.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ class CharGlyphMap$Type4;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class CharBuffer;
+ class ShortBuffer;
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::CharGlyphMap$Type4 : public ::gnu::java::awt::font::opentype::CharGlyphMap
+{
+
+public: // actually package-private
+ static jboolean isSupported(jint, jint, jint);
+ static ::gnu::java::awt::font::opentype::CharGlyphMap$Type4 * readTable(::java::nio::ByteBuffer *, jint, jint);
+private:
+ CharGlyphMap$Type4(jint, ::java::nio::CharBuffer *, ::java::nio::CharBuffer *, ::java::nio::ShortBuffer *, ::java::nio::CharBuffer *);
+public:
+ jint getGlyph(jint);
+private:
+ jint find(jchar);
+ ::java::nio::CharBuffer * __attribute__((aligned(__alignof__( ::gnu::java::awt::font::opentype::CharGlyphMap)))) lastChar;
+ ::java::nio::CharBuffer * firstChar;
+ ::java::nio::ShortBuffer * idDelta;
+ ::java::nio::CharBuffer * rangeID;
+ jint numSegments;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_CharGlyphMap$Type4__
diff --git a/libjava/gnu/java/awt/font/opentype/CharGlyphMap.h b/libjava/gnu/java/awt/font/opentype/CharGlyphMap.h
new file mode 100644
index 000000000..d5baafb72
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/CharGlyphMap.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_CharGlyphMap__
+#define __gnu_java_awt_font_opentype_CharGlyphMap__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ class CharGlyphMap;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::CharGlyphMap : public ::java::lang::Object
+{
+
+public:
+ CharGlyphMap();
+ virtual jint getGlyph(jint) = 0;
+ static ::gnu::java::awt::font::opentype::CharGlyphMap * forTable(::java::nio::ByteBuffer *);
+private:
+ static const jint PLATFORM_UNICODE = 0;
+ static const jint PLATFORM_MACINTOSH = 1;
+ static const jint PLATFORM_MICROSOFT = 3;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_CharGlyphMap__
diff --git a/libjava/gnu/java/awt/font/opentype/GlyphNamer.h b/libjava/gnu/java/awt/font/opentype/GlyphNamer.h
new file mode 100644
index 000000000..55e47902f
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/GlyphNamer.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_GlyphNamer__
+#define __gnu_java_awt_font_opentype_GlyphNamer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ class GlyphNamer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class CharBuffer;
+ class IntBuffer;
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::GlyphNamer : public ::java::lang::Object
+{
+
+ GlyphNamer(jint, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *);
+public:
+ static ::gnu::java::awt::font::opentype::GlyphNamer * forTables(jint, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *);
+public: // actually package-private
+ ::java::lang::String * getGlyphName(jint);
+private:
+ void readZapf(jint);
+ void readPost();
+ static ::java::lang::String * getAGLFNName(jchar);
+ static ::java::lang::String * getGlyphName(JArray< jchar > *);
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) postTable;
+ ::java::nio::ByteBuffer * zapfTable;
+ ::java::nio::IntBuffer * zapfOffsets;
+ jint zapfExtraInfo;
+ jint postFormat;
+ JArray< ::java::lang::String * > * glyphNames;
+ ::java::nio::CharBuffer * glyphCharacterCodes;
+ static JArray< ::java::lang::String * > * STANDARD_POSTSCRIPT_GLYPH_NAMES;
+ static ::java::lang::String * AGLFN_GLYPHS;
+ static ::java::lang::String * AGLFN_NAME_OFFSET;
+ static ::java::lang::String * AGLFN_NAMES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_GlyphNamer__
diff --git a/libjava/gnu/java/awt/font/opentype/Hinter.h b/libjava/gnu/java/awt/font/opentype/Hinter.h
new file mode 100644
index 000000000..29992b70a
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/Hinter.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_Hinter__
+#define __gnu_java_awt_font_opentype_Hinter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ class Hinter;
+ class OpenTypeFont;
+ namespace truetype
+ {
+ class Zone;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::Hinter : public ::java::lang::Object
+{
+
+public:
+ virtual void init(::gnu::java::awt::font::opentype::OpenTypeFont *) = 0;
+ virtual void applyHints(::gnu::java::awt::font::opentype::truetype::Zone *) = 0;
+ virtual void setFlags(jint) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_java_awt_font_opentype_Hinter__
diff --git a/libjava/gnu/java/awt/font/opentype/MacResourceFork$Resource.h b/libjava/gnu/java/awt/font/opentype/MacResourceFork$Resource.h
new file mode 100644
index 000000000..d6ba83634
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/MacResourceFork$Resource.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_MacResourceFork$Resource__
+#define __gnu_java_awt_font_opentype_MacResourceFork$Resource__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ class MacResourceFork$Resource;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::MacResourceFork$Resource : public ::java::lang::Object
+{
+
+ MacResourceFork$Resource(::java::nio::ByteBuffer *, jint, jshort, jint, jint);
+public:
+ jint getType();
+ jshort getID();
+ ::java::nio::ByteBuffer * getContent();
+ jint getLength();
+public: // actually package-private
+ MacResourceFork$Resource(::java::nio::ByteBuffer *, jint, jshort, jint, jint, ::gnu::java::awt::font::opentype::MacResourceFork$Resource *);
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
+ jshort id;
+ jbyte attribute;
+ jint nameOffset;
+ jint dataOffset;
+ ::java::nio::ByteBuffer * buf;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_MacResourceFork$Resource__
diff --git a/libjava/gnu/java/awt/font/opentype/MacResourceFork.h b/libjava/gnu/java/awt/font/opentype/MacResourceFork.h
new file mode 100644
index 000000000..76ad0a653
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/MacResourceFork.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_MacResourceFork__
+#define __gnu_java_awt_font_opentype_MacResourceFork__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ class MacResourceFork;
+ class MacResourceFork$Resource;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::MacResourceFork : public ::java::lang::Object
+{
+
+public:
+ MacResourceFork(::java::nio::ByteBuffer *);
+ JArray< ::gnu::java::awt::font::opentype::MacResourceFork$Resource * > * getResources(jint);
+ ::gnu::java::awt::font::opentype::MacResourceFork$Resource * getResource(jint, jshort);
+public: // actually package-private
+ JArray< jint > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) types;
+ JArray< JArray< ::gnu::java::awt::font::opentype::MacResourceFork$Resource * > * > * resources;
+ ::java::nio::ByteBuffer * buf;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_MacResourceFork__
diff --git a/libjava/gnu/java/awt/font/opentype/NameDecoder.h b/libjava/gnu/java/awt/font/opentype/NameDecoder.h
new file mode 100644
index 000000000..a33ffa3ed
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/NameDecoder.h
@@ -0,0 +1,85 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_NameDecoder__
+#define __gnu_java_awt_font_opentype_NameDecoder__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ class NameDecoder;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::NameDecoder : public ::java::lang::Object
+{
+
+public:
+ NameDecoder();
+ static ::java::lang::String * getName(::java::nio::ByteBuffer *, jint, ::java::util::Locale *);
+private:
+ static jint getMacLanguageCode(::java::util::Locale *);
+ static jint getMicrosoftLanguageCode(::java::util::Locale *);
+ static jint findLanguageCode(::java::lang::String *, ::java::lang::String *);
+ static ::java::lang::String * decodeName(jint, jint, jint, ::java::nio::ByteBuffer *, jint, jint);
+ static ::java::lang::String * decodeName(::java::lang::String *, ::java::nio::ByteBuffer *, jint, jint);
+ static ::java::util::Locale * getMacLocale(jint);
+ static ::java::util::Locale * getWindowsLocale(jint);
+ static ::java::lang::String * getMacCharsetName(jint);
+ static ::java::lang::String * getMicrosoftCharsetName(jint);
+public:
+ static ::java::util::Locale * getLocale(jint, jint, jint);
+ static ::java::lang::String * getCharsetName(jint, jint, jint);
+ static const jint NAME_COPYRIGHT = 0;
+ static const jint NAME_FAMILY = 1;
+ static const jint NAME_SUBFAMILY = 2;
+ static const jint NAME_UNIQUE = 3;
+ static const jint NAME_FULL = 4;
+ static const jint NAME_VERSION = 5;
+ static const jint NAME_POSTSCRIPT = 6;
+ static const jint NAME_TRADEMARK = 7;
+ static const jint NAME_MANUFACTURER = 8;
+ static const jint NAME_DESIGNER = 9;
+ static const jint NAME_DESCRIPTION = 10;
+ static const jint NAME_VENDOR_URL = 11;
+ static const jint NAME_DESIGNER_URL = 12;
+ static const jint NAME_LICENSE = 13;
+ static const jint NAME_LICENSE_URL = 14;
+ static const jint NAME_PREFERRED_FAMILY = 16;
+ static const jint NAME_PREFERRED_SUBFAMILY = 17;
+ static const jint NAME_FULL_MACCOMPATIBLE = 18;
+ static const jint NAME_SAMPLE_TEXT = 19;
+ static const jint NAME_POSTSCRIPT_CID = 20;
+private:
+ static const jint PLATFORM_MACINTOSH = 1;
+ static const jint PLATFORM_MICROSOFT = 3;
+ static ::java::lang::String * macLanguageCodes;
+ static ::java::lang::String * microsoftLanguageCodes;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_NameDecoder__
diff --git a/libjava/gnu/java/awt/font/opentype/OpenTypeFont.h b/libjava/gnu/java/awt/font/opentype/OpenTypeFont.h
new file mode 100644
index 000000000..3fec583d7
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/OpenTypeFont.h
@@ -0,0 +1,128 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_OpenTypeFont__
+#define __gnu_java_awt_font_opentype_OpenTypeFont__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ class CharGlyphMap;
+ class GlyphNamer;
+ class Hinter;
+ class OpenTypeFont;
+ class Scaler;
+ namespace truetype
+ {
+ class Zone;
+ }
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ namespace font
+ {
+ class FontRenderContext;
+ class GlyphVector;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ class GeneralPath;
+ class Point2D;
+ }
+ }
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ namespace text
+ {
+ class CharacterIterator;
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::OpenTypeFont : public ::java::lang::Object
+{
+
+public: // actually package-private
+ OpenTypeFont(::java::nio::ByteBuffer *, jint);
+private:
+ jint getTableIndex(jint);
+public:
+ ::java::lang::String * getFamilyName(::java::util::Locale *);
+ ::java::lang::String * getSubFamilyName(::java::util::Locale *);
+ ::java::lang::String * getFullName(::java::util::Locale *);
+ ::java::lang::String * getPostScriptName();
+ jint getNumGlyphs();
+ jint getMissingGlyphCode();
+private:
+ ::java::lang::String * getName(jint, ::java::util::Locale *);
+public:
+ jint getVersion();
+ ::java::nio::ByteBuffer * getFontTable(jint);
+ jint getFontTableSize(jint);
+private:
+ ::gnu::java::awt::font::opentype::CharGlyphMap * getCharGlyphMap();
+public:
+ jint getGlyph(jint);
+ ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, ::java::text::CharacterIterator *);
+ jint getGlyphIndex(jint);
+ void getAdvance(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean, ::java::awt::geom::Point2D *);
+ ::java::awt::geom::GeneralPath * getGlyphOutline(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jint);
+ ::gnu::java::awt::font::opentype::truetype::Zone * getRawGlyphOutline(jint, ::java::awt::geom::AffineTransform *);
+ ::java::lang::String * getGlyphName(jint);
+ jfloat getAscent(jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean);
+ jfloat getDescent(jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean);
+public: // actually package-private
+ static ::java::lang::String * tagToString(jint);
+private:
+ void checkHinter(jint);
+public: // actually package-private
+ static const jint TAG_OTTO = 1330926671;
+ static const jint TAG_SFNT = 1936092788;
+ static const jint TAG_TRUE = 1953658213;
+ static const jint TAG_TTCF = 1953784678;
+ static const jint TAG_ZAPF = 1516335206;
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buf;
+ jint numGlyphs;
+ JArray< jint > * tableTag;
+ JArray< jint > * tableStart;
+ JArray< jint > * tableLength;
+private:
+ jint version;
+public:
+ jint unitsPerEm;
+private:
+ jfloat emsPerUnit;
+ ::gnu::java::awt::font::opentype::Scaler * scaler;
+ ::gnu::java::awt::font::opentype::CharGlyphMap * cmap;
+ ::gnu::java::awt::font::opentype::GlyphNamer * glyphNamer;
+ ::gnu::java::awt::font::opentype::Hinter * hinter;
+ ::java::nio::ByteBuffer * nameTable;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_OpenTypeFont__
diff --git a/libjava/gnu/java/awt/font/opentype/OpenTypeFontFactory.h b/libjava/gnu/java/awt/font/opentype/OpenTypeFontFactory.h
new file mode 100644
index 000000000..d3562506d
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/OpenTypeFontFactory.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_OpenTypeFontFactory__
+#define __gnu_java_awt_font_opentype_OpenTypeFontFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ class FontDelegate;
+ namespace opentype
+ {
+ class OpenTypeFontFactory;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::OpenTypeFontFactory : public ::java::lang::Object
+{
+
+ OpenTypeFontFactory();
+public:
+ static JArray< ::gnu::java::awt::font::FontDelegate * > * createFonts(::java::nio::ByteBuffer *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_OpenTypeFontFactory__
diff --git a/libjava/gnu/java/awt/font/opentype/Scaler.h b/libjava/gnu/java/awt/font/opentype/Scaler.h
new file mode 100644
index 000000000..6d229d709
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/Scaler.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_Scaler__
+#define __gnu_java_awt_font_opentype_Scaler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ class Hinter;
+ class Scaler;
+ namespace truetype
+ {
+ class Zone;
+ }
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class AffineTransform;
+ class GeneralPath;
+ class Point2D;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::Scaler : public ::java::lang::Object
+{
+
+public:
+ Scaler();
+ virtual ::java::awt::geom::GeneralPath * getOutline(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, ::gnu::java::awt::font::opentype::Hinter *, jint) = 0;
+ virtual void getAdvance(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean, ::java::awt::geom::Point2D *) = 0;
+ virtual jfloat getAscent(jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean) = 0;
+ virtual jfloat getDescent(jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean) = 0;
+ virtual ::gnu::java::awt::font::opentype::truetype::Zone * getRawOutline(jint, ::java::awt::geom::AffineTransform *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_Scaler__
diff --git a/libjava/gnu/java/awt/font/opentype/truetype/Fixed.h b/libjava/gnu/java/awt/font/opentype/truetype/Fixed.h
new file mode 100644
index 000000000..9427f135a
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/truetype/Fixed.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_truetype_Fixed__
+#define __gnu_java_awt_font_opentype_truetype_Fixed__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ namespace truetype
+ {
+ class Fixed;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::truetype::Fixed : public ::java::lang::Object
+{
+
+ Fixed();
+public:
+ static jint mul(jint, jint);
+ static jint mul16(jint, jint);
+ static jint div(jint, jint);
+ static jint div16(jint, jint);
+ static jint ceil(jint);
+ static jint floor(jint);
+ static jint vectorLength(jint, jint);
+ static jint intValue(jint);
+ static jfloat floatValue(jint);
+ static jfloat floatValue16(jint);
+ static jdouble doubleValue(jint);
+ static jint valueOf(jfloat);
+ static jint valueOf(jdouble);
+ static jint valueOf16(jdouble);
+ static ::java::lang::String * toString(jint);
+ static ::java::lang::String * toString(jint, jint);
+ static const jint ONE = 64;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_truetype_Fixed__
diff --git a/libjava/gnu/java/awt/font/opentype/truetype/GlyphLoader.h b/libjava/gnu/java/awt/font/opentype/truetype/GlyphLoader.h
new file mode 100644
index 000000000..f0582d347
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/truetype/GlyphLoader.h
@@ -0,0 +1,92 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_truetype_GlyphLoader__
+#define __gnu_java_awt_font_opentype_truetype_GlyphLoader__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ class Hinter;
+ namespace truetype
+ {
+ class GlyphLoader;
+ class GlyphLocator;
+ class GlyphMeasurer;
+ class VirtualMachine;
+ class Zone;
+ }
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class AffineTransform;
+ }
+ }
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::truetype::GlyphLoader : public ::java::lang::Object
+{
+
+public: // actually package-private
+ GlyphLoader(::gnu::java::awt::font::opentype::truetype::GlyphLocator *, ::gnu::java::awt::font::opentype::truetype::VirtualMachine *, jint, jint, jint, ::gnu::java::awt::font::opentype::truetype::GlyphMeasurer *);
+public:
+ void loadGlyph(jint, jdouble, ::java::awt::geom::AffineTransform *, jboolean, ::gnu::java::awt::font::opentype::truetype::Zone *, ::gnu::java::awt::font::opentype::Hinter *);
+ void loadGlyph(jint, ::java::awt::geom::AffineTransform *, ::gnu::java::awt::font::opentype::truetype::Zone *, ::gnu::java::awt::font::opentype::Hinter *);
+private:
+ void loadSubGlyph(jint, jdouble, ::java::awt::geom::AffineTransform *, jboolean, ::gnu::java::awt::font::opentype::truetype::Zone *, jint, jint, ::gnu::java::awt::font::opentype::Hinter *);
+ void loadSimpleGlyph(jint, jdouble, ::java::awt::geom::AffineTransform *, jboolean, jint, ::java::nio::ByteBuffer *, ::gnu::java::awt::font::opentype::truetype::Zone *, jint, jint, ::gnu::java::awt::font::opentype::Hinter *);
+ void loadCompoundGlyph(jint, jdouble, ::java::awt::geom::AffineTransform *, jboolean, ::java::nio::ByteBuffer *, ::gnu::java::awt::font::opentype::truetype::Zone *, jint, jint, ::gnu::java::awt::font::opentype::Hinter *);
+ jdouble getDouble214(::java::nio::ByteBuffer *);
+ void loadFlags(jint, ::java::nio::ByteBuffer *);
+ void loadCoordinates(jint, ::java::nio::ByteBuffer *, ::gnu::java::awt::font::opentype::truetype::Zone *);
+ void setPhantomPoints(jint, jint, ::gnu::java::awt::font::opentype::truetype::Zone *);
+ ::gnu::java::awt::font::opentype::truetype::GlyphLocator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) glyphLocator;
+ ::gnu::java::awt::font::opentype::truetype::GlyphMeasurer * glyphMeasurer;
+ ::gnu::java::awt::font::opentype::truetype::VirtualMachine * vm;
+ jint unitsPerEm;
+ JArray< jint > * contourEndPoints;
+ JArray< jbyte > * pointFlags;
+ static const jshort ARGS_ARE_WORDS = 1;
+ static const jshort ARGS_ARE_XY_VALUES = 2;
+ static const jshort ROUND_XY_TO_GRID = 4;
+ static const jshort WE_HAVE_A_SCALE = 8;
+ static const jshort MORE_COMPONENTS = 32;
+ static const jshort WE_HAVE_AN_X_AND_Y_SCALE = 64;
+ static const jshort WE_HAVE_A_TWO_BY_TWO = 128;
+ static const jshort WE_HAVE_INSTRUCTIONS = 256;
+ static const jshort USE_MY_METRICS = 512;
+ static const jshort OVERLAP_COMPOUND = 1024;
+ static const jshort SCALED_COMPONENT_OFFSET = 2048;
+ static const jshort UNSCALED_COMPONENT_OFFSET = 4096;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_truetype_GlyphLoader__
diff --git a/libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator$FourByte.h b/libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator$FourByte.h
new file mode 100644
index 000000000..1e06f6953
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator$FourByte.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_truetype_GlyphLocator$FourByte__
+#define __gnu_java_awt_font_opentype_truetype_GlyphLocator$FourByte__
+
+#pragma interface
+
+#include <gnu/java/awt/font/opentype/truetype/GlyphLocator.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ namespace truetype
+ {
+ class GlyphLocator$FourByte;
+ }
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class IntBuffer;
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::truetype::GlyphLocator$FourByte : public ::gnu::java::awt::font::opentype::truetype::GlyphLocator
+{
+
+public: // actually package-private
+ GlyphLocator$FourByte(::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *);
+public:
+ ::java::nio::ByteBuffer * getGlyphData(jint);
+public: // actually package-private
+ ::java::nio::IntBuffer * __attribute__((aligned(__alignof__( ::gnu::java::awt::font::opentype::truetype::GlyphLocator)))) indexToLoc;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_truetype_GlyphLocator$FourByte__
diff --git a/libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator$TwoByte.h b/libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator$TwoByte.h
new file mode 100644
index 000000000..7489c5e4e
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator$TwoByte.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_truetype_GlyphLocator$TwoByte__
+#define __gnu_java_awt_font_opentype_truetype_GlyphLocator$TwoByte__
+
+#pragma interface
+
+#include <gnu/java/awt/font/opentype/truetype/GlyphLocator.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ namespace truetype
+ {
+ class GlyphLocator$TwoByte;
+ }
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class CharBuffer;
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::truetype::GlyphLocator$TwoByte : public ::gnu::java::awt::font::opentype::truetype::GlyphLocator
+{
+
+public: // actually package-private
+ GlyphLocator$TwoByte(::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *);
+public:
+ ::java::nio::ByteBuffer * getGlyphData(jint);
+public: // actually package-private
+ ::java::nio::CharBuffer * __attribute__((aligned(__alignof__( ::gnu::java::awt::font::opentype::truetype::GlyphLocator)))) indexToLoc;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_truetype_GlyphLocator$TwoByte__
diff --git a/libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator.h b/libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator.h
new file mode 100644
index 000000000..aa93b65be
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_truetype_GlyphLocator__
+#define __gnu_java_awt_font_opentype_truetype_GlyphLocator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ namespace truetype
+ {
+ class GlyphLocator;
+ }
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::truetype::GlyphLocator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ GlyphLocator();
+public:
+ static ::gnu::java::awt::font::opentype::truetype::GlyphLocator * forTable(jint, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *);
+ virtual ::java::nio::ByteBuffer * getGlyphData(jint) = 0;
+public: // actually protected
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) glyfTable;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_truetype_GlyphLocator__
diff --git a/libjava/gnu/java/awt/font/opentype/truetype/GlyphMeasurer.h b/libjava/gnu/java/awt/font/opentype/truetype/GlyphMeasurer.h
new file mode 100644
index 000000000..558584d4f
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/truetype/GlyphMeasurer.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_truetype_GlyphMeasurer__
+#define __gnu_java_awt_font_opentype_truetype_GlyphMeasurer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ namespace truetype
+ {
+ class GlyphMeasurer;
+ }
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class ShortBuffer;
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::truetype::GlyphMeasurer : public ::java::lang::Object
+{
+
+public: // actually package-private
+ GlyphMeasurer(::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *);
+public:
+ jint getAscent(jboolean);
+ jint getDescent(jboolean);
+ jint getLineGap(jboolean);
+ jint getAdvanceWidth(jint, jboolean);
+ jint getAdvanceHeight(jint, jboolean);
+private:
+ ::java::nio::ShortBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) horizontalGlyphMetrics;
+ ::java::nio::ShortBuffer * verticalGlyphMetrics;
+ jint numLongHorizontalMetricsEntries;
+ jint numLongVerticalMetricsEntries;
+ jint horizontalAscent;
+ jint verticalAscent;
+ jint horizontalDescent;
+ jint verticalDescent;
+ jint horizontalLineGap;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_truetype_GlyphMeasurer__
diff --git a/libjava/gnu/java/awt/font/opentype/truetype/Point.h b/libjava/gnu/java/awt/font/opentype/truetype/Point.h
new file mode 100644
index 000000000..a993ca023
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/truetype/Point.h
@@ -0,0 +1,99 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_truetype_Point__
+#define __gnu_java_awt_font_opentype_truetype_Point__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ namespace truetype
+ {
+ class Point;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::truetype::Point : public ::java::lang::Object
+{
+
+public:
+ Point();
+ virtual ::gnu::java::awt::font::opentype::truetype::Point * getNext();
+ virtual void setNext(::gnu::java::awt::font::opentype::truetype::Point *);
+ virtual ::gnu::java::awt::font::opentype::truetype::Point * getPrev();
+ virtual void setPrev(::gnu::java::awt::font::opentype::truetype::Point *);
+ virtual jint getOrigX();
+ virtual void setOrigX(jint);
+ virtual jint getOrigY();
+ virtual void setOrigY(jint);
+ virtual jint getInDir();
+ virtual void setInDir(jint);
+ virtual jint getOutDir();
+ virtual void setOutDir(jint);
+ virtual jshort getFlags();
+ virtual void setFlags(jshort);
+ virtual void addFlags(jshort);
+ virtual jboolean isControlPoint();
+ virtual jint getU();
+ virtual void setU(jint);
+ virtual jint getV();
+ virtual void setV(jint);
+ virtual ::java::lang::String * toString();
+ virtual jint getX();
+ virtual void setX(jint);
+ virtual jint getY();
+ virtual void setY(jint);
+ virtual jint getScaledX();
+ virtual void setScaledX(jint);
+ virtual jint getScaledY();
+ virtual void setScaledY(jint);
+ static const jshort FLAG_TOUCHED_X = 1;
+ static const jshort FLAG_TOUCHED_Y = 2;
+ static const jshort FLAG_ON_CURVE = 4;
+ static const jshort FLAG_CONTOUR_END = 8;
+ static const jshort FLAG_WEAK_INTERPOLATION = 16;
+ static const jshort FLAG_INFLECTION = 32;
+ static const jshort FLAG_DONE_X = 64;
+ static const jshort FLAG_DONE_Y = 128;
+ static const jint DIR_RIGHT = 1;
+ static const jint DIR_LEFT = -1;
+ static const jint DIR_UP = 2;
+ static const jint DIR_DOWN = -2;
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) origX;
+ jint origY;
+ jint scaledX;
+ jint scaledY;
+ jint x;
+ jint y;
+ jint u;
+ jint v;
+ jshort flags;
+private:
+ ::gnu::java::awt::font::opentype::truetype::Point * prev;
+ ::gnu::java::awt::font::opentype::truetype::Point * next;
+public: // actually package-private
+ jint inDir;
+ jint outDir;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_truetype_Point__
diff --git a/libjava/gnu/java/awt/font/opentype/truetype/TrueTypeScaler.h b/libjava/gnu/java/awt/font/opentype/truetype/TrueTypeScaler.h
new file mode 100644
index 000000000..fadc996cc
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/truetype/TrueTypeScaler.h
@@ -0,0 +1,76 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_truetype_TrueTypeScaler__
+#define __gnu_java_awt_font_opentype_truetype_TrueTypeScaler__
+
+#pragma interface
+
+#include <gnu/java/awt/font/opentype/Scaler.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ class Hinter;
+ namespace truetype
+ {
+ class GlyphLoader;
+ class GlyphMeasurer;
+ class TrueTypeScaler;
+ class Zone;
+ }
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class AffineTransform;
+ class GeneralPath;
+ class Point2D;
+ }
+ }
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::truetype::TrueTypeScaler : public ::gnu::java::awt::font::opentype::Scaler
+{
+
+public:
+ TrueTypeScaler(jint, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, jint, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *);
+ ::java::awt::geom::GeneralPath * getOutline(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, ::gnu::java::awt::font::opentype::Hinter *, jint);
+ ::gnu::java::awt::font::opentype::truetype::Zone * getRawOutline(jint, ::java::awt::geom::AffineTransform *);
+ void getAdvance(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean, ::java::awt::geom::Point2D *);
+private:
+ jfloat scaleFromFUnits(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean);
+public:
+ jfloat getAscent(jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean);
+ jfloat getDescent(jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean);
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::gnu::java::awt::font::opentype::Scaler)))) glyfTable;
+ ::gnu::java::awt::font::opentype::truetype::GlyphLoader * glyphLoader;
+ ::gnu::java::awt::font::opentype::truetype::GlyphMeasurer * glyphMeasurer;
+ ::gnu::java::awt::font::opentype::truetype::Zone * glyphZone;
+ jint unitsPerEm;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_truetype_TrueTypeScaler__
diff --git a/libjava/gnu/java/awt/font/opentype/truetype/VirtualMachine.h b/libjava/gnu/java/awt/font/opentype/truetype/VirtualMachine.h
new file mode 100644
index 000000000..6193a6d4c
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/truetype/VirtualMachine.h
@@ -0,0 +1,153 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_truetype_VirtualMachine__
+#define __gnu_java_awt_font_opentype_truetype_VirtualMachine__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ namespace truetype
+ {
+ class VirtualMachine;
+ class Zone;
+ }
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class AffineTransform;
+ }
+ }
+ namespace nio
+ {
+ class ByteBuffer;
+ class ShortBuffer;
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::truetype::VirtualMachine : public ::java::lang::Object
+{
+
+public: // actually package-private
+ VirtualMachine(jint, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *);
+private:
+ void resetGraphicsState();
+ void reloadControlValueTable();
+ jint funitsToPixels(jint);
+public:
+ virtual jboolean setup(jdouble, ::java::awt::geom::AffineTransform *, jboolean);
+private:
+ void execute(::java::nio::ByteBuffer *, jint);
+ void dumpInstruction(::java::nio::ByteBuffer *);
+ static jchar getNibble(jint, jint);
+ static ::java::lang::String * getHex(jbyte);
+ static ::java::lang::String * getHex(jshort);
+ static void skipAfter(::java::nio::ByteBuffer *, jint, jint, jint, jint, jboolean);
+ static jint getInstructionLength(jint);
+ jboolean executeInstruction(::java::nio::ByteBuffer *);
+ void setRoundingMode(jint, jint);
+ void deltaC(JArray< jint > *, jint, jint, jint);
+ ::gnu::java::awt::font::opentype::truetype::Zone * getZone(jint);
+ jint getProjection(jint, jint);
+ jint getDualProjection(jint, jint);
+ jint getProjection(::gnu::java::awt::font::opentype::truetype::Zone *, jint);
+ jint getOriginalProjection(::gnu::java::awt::font::opentype::truetype::Zone *, jint);
+ void handleISECT(jint, jint, jint, jint, jint);
+ static jint muldiv(jint, jint, jint);
+ jint getFreeDotProj();
+ void movePoint(::gnu::java::awt::font::opentype::truetype::Zone *, jint, jint);
+ void dumpVectors();
+ void handleIP();
+ void handleMDAP(jint, jboolean);
+ void handleMIAP(jint, jint, jboolean);
+ void handleMIRP(jint, jint, jint);
+ jint round(jint, jint);
+ static jint nround(jint, jint);
+ jboolean isRotated();
+ jboolean isStretched();
+ jint getPixelsPerEM();
+ void setProjectionVector(jshort, jshort);
+ void setFreedomVector(jshort, jshort);
+ void setDualVector(jshort, jshort);
+ jint applyCTM_x(jint, jint);
+ jint applyCTM_y(jint, jint);
+ static const jboolean PATENTED_HINTING = 0;
+ static const jboolean TRACE_EXECUTION = 0;
+ static const jshort ONE_214 = 16384;
+ JArray< jint > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) storage;
+ JArray< jint > * stack;
+ jint maxStackElements;
+ jint sp;
+ JArray< ::java::nio::ByteBuffer * > * fdefBuffer;
+ JArray< jint > * fdefEntryPoint;
+ ::java::nio::ShortBuffer * controlValueTable;
+ JArray< jint > * cvt;
+ jint engineCompensation;
+ ::java::nio::ByteBuffer * fontProgram;
+ ::java::nio::ByteBuffer * preProgram;
+ jint numTwilightPoints;
+ jint pointSize;
+ ::java::awt::geom::AffineTransform * deviceTransform;
+ jint scaleX;
+ jint scaleY;
+ jint shearX;
+ jint shearY;
+ jboolean antialiased;
+ jint cvtCutIn;
+ jint deltaBase;
+ jint deltaShift;
+ jshort freeX;
+ jshort freeY;
+ jint loop;
+ jint minimumDistance;
+ jshort projX;
+ jshort projY;
+ jshort dualX;
+ jshort dualY;
+ jint rp0;
+ jint rp1;
+ jint rp2;
+ jboolean scanControl;
+ jint scanType;
+ jint singleWidthValue;
+ ::gnu::java::awt::font::opentype::truetype::Zone * zp0;
+ ::gnu::java::awt::font::opentype::truetype::Zone * zp1;
+ ::gnu::java::awt::font::opentype::truetype::Zone * zp2;
+ ::gnu::java::awt::font::opentype::truetype::Zone * twilightZone;
+ ::gnu::java::awt::font::opentype::truetype::Zone * glyphZone;
+ jboolean executeGlyphInstructions;
+ jboolean ignoreCVTProgram;
+ jint roundPeriod;
+ jint roundPhase;
+ jint roundThreshold;
+ jint cachedPixelsPerEM;
+ jint unitsPerEm;
+ static JArray< ::java::lang::String * > * INST_NAME;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_truetype_VirtualMachine__
diff --git a/libjava/gnu/java/awt/font/opentype/truetype/Zone.h b/libjava/gnu/java/awt/font/opentype/truetype/Zone.h
new file mode 100644
index 000000000..e5647898e
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/truetype/Zone.h
@@ -0,0 +1,92 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_truetype_Zone__
+#define __gnu_java_awt_font_opentype_truetype_Zone__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ namespace truetype
+ {
+ class Point;
+ class Zone;
+ }
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class AffineTransform;
+ class GeneralPath;
+ class PathIterator;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::truetype::Zone : public ::java::lang::Object
+{
+
+public:
+ Zone(jint);
+ jint getCapacity();
+ jint getSize();
+ jint getX(jint);
+ jint getX(jint, jint);
+ void setX(jint, jint, jboolean);
+ void setY(jint, jint, jboolean);
+ jint getY(jint);
+ jint getY(jint, jint);
+ jint getOriginalX(jint);
+ jint getOriginalY(jint);
+ void setOriginalX(jint, jint);
+ void setOriginalY(jint, jint);
+ void setNumPoints(jint);
+ jboolean isOnCurve(jint);
+ void setOnCurve(jint, jboolean);
+ jboolean isContourEnd(jint);
+ void setContourEnd(jint, jboolean);
+public: // actually package-private
+ void transform(jdouble, ::java::awt::geom::AffineTransform *, jint, jint, jint);
+ void combineWithSubGlyph(::gnu::java::awt::font::opentype::truetype::Zone *, jint);
+private:
+ void dump();
+public:
+ ::java::awt::geom::PathIterator * getPathIterator(jint);
+ ::java::awt::geom::GeneralPath * getPath(jint);
+ jint getNumContours();
+ jint getContourEnd(jint);
+ JArray< ::gnu::java::awt::font::opentype::truetype::Point * > * getPoints();
+private:
+ JArray< ::gnu::java::awt::font::opentype::truetype::Point * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) points;
+ jint numPoints;
+public:
+ jdouble scaleX;
+ jdouble scaleY;
+ jdouble shearX;
+ jdouble shearY;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_truetype_Zone__
diff --git a/libjava/gnu/java/awt/font/opentype/truetype/ZonePathIterator.h b/libjava/gnu/java/awt/font/opentype/truetype/ZonePathIterator.h
new file mode 100644
index 000000000..5e64ba875
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/truetype/ZonePathIterator.h
@@ -0,0 +1,68 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_opentype_truetype_ZonePathIterator__
+#define __gnu_java_awt_font_opentype_truetype_ZonePathIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace opentype
+ {
+ namespace truetype
+ {
+ class Zone;
+ class ZonePathIterator;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::font::opentype::truetype::ZonePathIterator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ZonePathIterator(::gnu::java::awt::font::opentype::truetype::Zone *, jint);
+public:
+ jint getWindingRule();
+ jboolean isDone();
+ void next();
+private:
+ jint getSuccessor(jint);
+public:
+ jint currentSegment(JArray< jfloat > *);
+ jint currentSegment(JArray< jdouble > *);
+private:
+ jint getSegment(jint, JArray< jfloat > *);
+ jint getStartSegment(jint, JArray< jfloat > *);
+ static const jint EMIT_SEGMENT = 0;
+ static const jint EMIT_CLOSE = 1;
+ static const jint EMIT_MOVETO = 2;
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) state;
+ ::gnu::java::awt::font::opentype::truetype::Zone * zone;
+ jint numPoints;
+ jint curPoint;
+ jint contourStart;
+ jint type;
+public: // actually package-private
+ JArray< jfloat > * floats;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_truetype_ZonePathIterator__