summaryrefslogtreecommitdiffstats
path: root/libjava/gnu/java/awt/font
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/java/awt/font')
-rw-r--r--libjava/gnu/java/awt/font/FontDelegate.h68
-rw-r--r--libjava/gnu/java/awt/font/FontFactory.h46
-rw-r--r--libjava/gnu/java/awt/font/GNUGlyphVector.h98
-rw-r--r--libjava/gnu/java/awt/font/autofit/AxisHints.h43
-rw-r--r--libjava/gnu/java/awt/font/autofit/Constants.h40
-rw-r--r--libjava/gnu/java/awt/font/autofit/GlyphHints.h59
-rw-r--r--libjava/gnu/java/awt/font/autofit/Latin.h59
-rw-r--r--libjava/gnu/java/awt/font/autofit/LatinAxis.h47
-rw-r--r--libjava/gnu/java/awt/font/autofit/LatinMetrics.h44
-rw-r--r--libjava/gnu/java/awt/font/autofit/Scaler.h48
-rw-r--r--libjava/gnu/java/awt/font/autofit/Script.h48
-rw-r--r--libjava/gnu/java/awt/font/autofit/ScriptMetrics.h43
-rw-r--r--libjava/gnu/java/awt/font/autofit/Segment.h42
-rw-r--r--libjava/gnu/java/awt/font/autofit/Width.h43
-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/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.h122
-rw-r--r--libjava/gnu/java/awt/font/opentype/OpenTypeFontFactory.h49
-rw-r--r--libjava/gnu/java/awt/font/opentype/Scaler.h59
-rw-r--r--libjava/gnu/java/awt/font/opentype/truetype/Fixed.h54
-rw-r--r--libjava/gnu/java/awt/font/opentype/truetype/GlyphLoader.h91
-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/TrueTypeScaler.h75
-rw-r--r--libjava/gnu/java/awt/font/opentype/truetype/VirtualMachine.h153
-rw-r--r--libjava/gnu/java/awt/font/opentype/truetype/Zone.h88
-rw-r--r--libjava/gnu/java/awt/font/opentype/truetype/ZonePathIterator.h67
36 files changed, 2254 insertions, 0 deletions
diff --git a/libjava/gnu/java/awt/font/FontDelegate.h b/libjava/gnu/java/awt/font/FontDelegate.h
new file mode 100644
index 00000000000..202529b547a
--- /dev/null
+++ b/libjava/gnu/java/awt/font/FontDelegate.h
@@ -0,0 +1,68 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_FontDelegate__
+#define __gnu_java_awt_font_FontDelegate__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ class FontDelegate;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ namespace font
+ {
+ class FontRenderContext;
+ class GlyphVector;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ class GeneralPath;
+ class Point2D;
+ }
+ }
+ namespace text
+ {
+ class CharacterIterator;
+ }
+ }
+}
+
+class gnu::java::awt::font::FontDelegate : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getFullName(::java::util::Locale *) = 0;
+ virtual ::java::lang::String * getFamilyName(::java::util::Locale *) = 0;
+ virtual ::java::lang::String * getSubFamilyName(::java::util::Locale *) = 0;
+ virtual ::java::lang::String * getPostScriptName() = 0;
+ virtual jint getNumGlyphs() = 0;
+ virtual jint getMissingGlyphCode() = 0;
+ virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, ::java::text::CharacterIterator *) = 0;
+ virtual void getAdvance(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean, ::java::awt::geom::Point2D *) = 0;
+ virtual ::java::awt::geom::GeneralPath * getGlyphOutline(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean) = 0;
+ virtual ::java::lang::String * getGlyphName(jint) = 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;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_java_awt_font_FontDelegate__
diff --git a/libjava/gnu/java/awt/font/FontFactory.h b/libjava/gnu/java/awt/font/FontFactory.h
new file mode 100644
index 00000000000..660ca220962
--- /dev/null
+++ b/libjava/gnu/java/awt/font/FontFactory.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_FontFactory__
+#define __gnu_java_awt_font_FontFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ class FontDelegate;
+ class FontFactory;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::java::awt::font::FontFactory : public ::java::lang::Object
+{
+
+ FontFactory();
+public:
+ static JArray< ::gnu::java::awt::font::FontDelegate * > * createFonts(::java::nio::ByteBuffer *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_FontFactory__
diff --git a/libjava/gnu/java/awt/font/GNUGlyphVector.h b/libjava/gnu/java/awt/font/GNUGlyphVector.h
new file mode 100644
index 00000000000..4d47e2addc2
--- /dev/null
+++ b/libjava/gnu/java/awt/font/GNUGlyphVector.h
@@ -0,0 +1,98 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_GNUGlyphVector__
+#define __gnu_java_awt_font_GNUGlyphVector__
+
+#pragma interface
+
+#include <java/awt/font/GlyphVector.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ class FontDelegate;
+ class GNUGlyphVector;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class Shape;
+ namespace font
+ {
+ class FontRenderContext;
+ class GlyphJustificationInfo;
+ class GlyphMetrics;
+ class GlyphVector;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::font::GNUGlyphVector : public ::java::awt::font::GlyphVector
+{
+
+public:
+ GNUGlyphVector(::gnu::java::awt::font::FontDelegate *, ::java::awt::Font *, ::java::awt::font::FontRenderContext *, JArray< jint > *);
+ virtual ::java::awt::Font * getFont();
+ virtual ::java::awt::font::FontRenderContext * getFontRenderContext();
+ virtual void performDefaultLayout();
+ virtual jint getNumGlyphs();
+ virtual jint getGlyphCode(jint);
+ virtual JArray< jint > * getGlyphCodes(jint, jint, JArray< jint > *);
+ virtual ::java::awt::geom::Rectangle2D * getLogicalBounds();
+ virtual ::java::awt::geom::Rectangle2D * getVisualBounds();
+ virtual ::java::awt::Shape * getOutline();
+ virtual ::java::awt::Shape * getOutline(jfloat, jfloat);
+ virtual ::java::awt::Shape * getGlyphOutline(jint);
+ virtual ::java::awt::geom::Point2D * getGlyphPosition(jint);
+ virtual void setGlyphPosition(jint, ::java::awt::geom::Point2D *);
+ virtual ::java::awt::geom::AffineTransform * getGlyphTransform(jint);
+ virtual void setGlyphTransform(jint, ::java::awt::geom::AffineTransform *);
+ virtual jint getLayoutFlags();
+ virtual JArray< jfloat > * getGlyphPositions(jint, jint, JArray< jfloat > *);
+private:
+ jfloat getAscent();
+ jfloat getDescent();
+public:
+ virtual ::java::awt::Shape * getGlyphLogicalBounds(jint);
+ virtual ::java::awt::Shape * getGlyphVisualBounds(jint);
+ virtual ::java::awt::font::GlyphMetrics * getGlyphMetrics(jint);
+ virtual ::java::awt::font::GlyphJustificationInfo * getGlyphJustificationInfo(jint);
+ virtual jboolean equals(::java::awt::font::GlyphVector *);
+private:
+ void validate();
+ ::gnu::java::awt::font::FontDelegate * __attribute__((aligned(__alignof__( ::java::awt::font::GlyphVector)))) fontDelegate;
+ ::java::awt::Font * font;
+ ::java::awt::font::FontRenderContext * renderContext;
+ JArray< jint > * glyphs;
+ jfloat fontSize;
+ ::java::awt::geom::AffineTransform * transform;
+ jboolean valid;
+ JArray< jfloat > * pos;
+ JArray< ::java::awt::geom::AffineTransform * > * transforms;
+ jint layoutFlags;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_GNUGlyphVector__
diff --git a/libjava/gnu/java/awt/font/autofit/AxisHints.h b/libjava/gnu/java/awt/font/autofit/AxisHints.h
new file mode 100644
index 00000000000..29dad47f239
--- /dev/null
+++ b/libjava/gnu/java/awt/font/autofit/AxisHints.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_autofit_AxisHints__
+#define __gnu_java_awt_font_autofit_AxisHints__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace autofit
+ {
+ class AxisHints;
+ class Segment;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::font::autofit::AxisHints : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AxisHints();
+ JArray< ::gnu::java::awt::font::autofit::Segment * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) segments;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_autofit_AxisHints__
diff --git a/libjava/gnu/java/awt/font/autofit/Constants.h b/libjava/gnu/java/awt/font/autofit/Constants.h
new file mode 100644
index 00000000000..ae103683e0d
--- /dev/null
+++ b/libjava/gnu/java/awt/font/autofit/Constants.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_autofit_Constants__
+#define __gnu_java_awt_font_autofit_Constants__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace autofit
+ {
+ class Constants;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::font::autofit::Constants : public ::java::lang::Object
+{
+
+public:
+ static const jint DIMENSION_HORZ = 0;
+ static const jint DIMENSION_VERT = 1;
+ static const jint DIMENSION_MAX = 2;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_java_awt_font_autofit_Constants__
diff --git a/libjava/gnu/java/awt/font/autofit/GlyphHints.h b/libjava/gnu/java/awt/font/autofit/GlyphHints.h
new file mode 100644
index 00000000000..6a878d56c81
--- /dev/null
+++ b/libjava/gnu/java/awt/font/autofit/GlyphHints.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_autofit_GlyphHints__
+#define __gnu_java_awt_font_autofit_GlyphHints__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace autofit
+ {
+ class AxisHints;
+ class GlyphHints;
+ class ScriptMetrics;
+ }
+ namespace opentype
+ {
+ namespace truetype
+ {
+ class Zone;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::font::autofit::GlyphHints : public ::java::lang::Object
+{
+
+public: // actually package-private
+ GlyphHints();
+ virtual void rescale(::gnu::java::awt::font::autofit::ScriptMetrics *);
+ virtual void reload(::gnu::java::awt::font::opentype::truetype::Zone *);
+ virtual void computeSegments(jint);
+ virtual void linkSegments(jint);
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) xScale;
+ jint xDelta;
+ jint yScale;
+ jint yDelta;
+ JArray< ::gnu::java::awt::font::autofit::AxisHints * > * axis;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_autofit_GlyphHints__
diff --git a/libjava/gnu/java/awt/font/autofit/Latin.h b/libjava/gnu/java/awt/font/autofit/Latin.h
new file mode 100644
index 00000000000..af4c300d943
--- /dev/null
+++ b/libjava/gnu/java/awt/font/autofit/Latin.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_autofit_Latin__
+#define __gnu_java_awt_font_autofit_Latin__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace autofit
+ {
+ class GlyphHints;
+ class Latin;
+ class LatinMetrics;
+ class ScriptMetrics;
+ }
+ namespace opentype
+ {
+ class OpenTypeFont;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::font::autofit::Latin : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Latin();
+public:
+ virtual void applyHints(::gnu::java::awt::font::autofit::GlyphHints *, ::gnu::java::awt::font::autofit::ScriptMetrics *);
+ virtual void doneMetrics(::gnu::java::awt::font::autofit::ScriptMetrics *);
+ virtual void initHints(::gnu::java::awt::font::autofit::GlyphHints *, ::gnu::java::awt::font::autofit::ScriptMetrics *);
+ virtual void initMetrics(::gnu::java::awt::font::autofit::ScriptMetrics *, ::gnu::java::awt::font::opentype::OpenTypeFont *);
+ virtual void scaleMetrics(::gnu::java::awt::font::autofit::ScriptMetrics *);
+private:
+ void initWidths(::gnu::java::awt::font::autofit::LatinMetrics *, ::gnu::java::awt::font::opentype::OpenTypeFont *, jchar);
+ void initBlues(::gnu::java::awt::font::autofit::LatinMetrics *, ::gnu::java::awt::font::opentype::OpenTypeFont *);
+ jint constant(::gnu::java::awt::font::autofit::LatinMetrics *, jint);
+ static const jint MAX_WIDTHS = 16;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_autofit_Latin__
diff --git a/libjava/gnu/java/awt/font/autofit/LatinAxis.h b/libjava/gnu/java/awt/font/autofit/LatinAxis.h
new file mode 100644
index 00000000000..631cd794a57
--- /dev/null
+++ b/libjava/gnu/java/awt/font/autofit/LatinAxis.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_autofit_LatinAxis__
+#define __gnu_java_awt_font_autofit_LatinAxis__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace autofit
+ {
+ class LatinAxis;
+ class Width;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::font::autofit::LatinAxis : public ::java::lang::Object
+{
+
+public: // actually package-private
+ LatinAxis();
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) scale;
+ jint delta;
+ jint widthCount;
+ JArray< ::gnu::java::awt::font::autofit::Width * > * widths;
+ jfloat edgeDistanceTreshold;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_autofit_LatinAxis__
diff --git a/libjava/gnu/java/awt/font/autofit/LatinMetrics.h b/libjava/gnu/java/awt/font/autofit/LatinMetrics.h
new file mode 100644
index 00000000000..a7a12fd4c7e
--- /dev/null
+++ b/libjava/gnu/java/awt/font/autofit/LatinMetrics.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_autofit_LatinMetrics__
+#define __gnu_java_awt_font_autofit_LatinMetrics__
+
+#pragma interface
+
+#include <gnu/java/awt/font/autofit/ScriptMetrics.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace autofit
+ {
+ class LatinAxis;
+ class LatinMetrics;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::font::autofit::LatinMetrics : public ::gnu::java::awt::font::autofit::ScriptMetrics
+{
+
+public: // actually package-private
+ LatinMetrics();
+ JArray< ::gnu::java::awt::font::autofit::LatinAxis * > * __attribute__((aligned(__alignof__( ::gnu::java::awt::font::autofit::ScriptMetrics)))) axis;
+ jint unitsPerEm;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_autofit_LatinMetrics__
diff --git a/libjava/gnu/java/awt/font/autofit/Scaler.h b/libjava/gnu/java/awt/font/autofit/Scaler.h
new file mode 100644
index 00000000000..ffebc5a30dd
--- /dev/null
+++ b/libjava/gnu/java/awt/font/autofit/Scaler.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_autofit_Scaler__
+#define __gnu_java_awt_font_autofit_Scaler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace autofit
+ {
+ class Scaler;
+ }
+ namespace opentype
+ {
+ class OpenTypeFont;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::font::autofit::Scaler : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Scaler();
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) xScale;
+ jint xDelta;
+ jint yScale;
+ jint yDelta;
+ ::gnu::java::awt::font::opentype::OpenTypeFont * face;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_autofit_Scaler__
diff --git a/libjava/gnu/java/awt/font/autofit/Script.h b/libjava/gnu/java/awt/font/autofit/Script.h
new file mode 100644
index 00000000000..5a722896a80
--- /dev/null
+++ b/libjava/gnu/java/awt/font/autofit/Script.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_autofit_Script__
+#define __gnu_java_awt_font_autofit_Script__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace autofit
+ {
+ class GlyphHints;
+ class Script;
+ class ScriptMetrics;
+ }
+ namespace opentype
+ {
+ class OpenTypeFont;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::font::autofit::Script : public ::java::lang::Object
+{
+
+public:
+ virtual void initMetrics(::gnu::java::awt::font::autofit::ScriptMetrics *, ::gnu::java::awt::font::opentype::OpenTypeFont *) = 0;
+ virtual void scaleMetrics(::gnu::java::awt::font::autofit::ScriptMetrics *) = 0;
+ virtual void doneMetrics(::gnu::java::awt::font::autofit::ScriptMetrics *) = 0;
+ virtual void initHints(::gnu::java::awt::font::autofit::GlyphHints *, ::gnu::java::awt::font::autofit::ScriptMetrics *) = 0;
+ virtual void applyHints(::gnu::java::awt::font::autofit::GlyphHints *, ::gnu::java::awt::font::autofit::ScriptMetrics *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_java_awt_font_autofit_Script__
diff --git a/libjava/gnu/java/awt/font/autofit/ScriptMetrics.h b/libjava/gnu/java/awt/font/autofit/ScriptMetrics.h
new file mode 100644
index 00000000000..79ab128b5a5
--- /dev/null
+++ b/libjava/gnu/java/awt/font/autofit/ScriptMetrics.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_autofit_ScriptMetrics__
+#define __gnu_java_awt_font_autofit_ScriptMetrics__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace autofit
+ {
+ class Scaler;
+ class Script;
+ class ScriptMetrics;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::font::autofit::ScriptMetrics : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ScriptMetrics();
+ ::gnu::java::awt::font::autofit::Script * __attribute__((aligned(__alignof__( ::java::lang::Object)))) script;
+ ::gnu::java::awt::font::autofit::Scaler * scaler;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_autofit_ScriptMetrics__
diff --git a/libjava/gnu/java/awt/font/autofit/Segment.h b/libjava/gnu/java/awt/font/autofit/Segment.h
new file mode 100644
index 00000000000..4b2adef67b0
--- /dev/null
+++ b/libjava/gnu/java/awt/font/autofit/Segment.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_autofit_Segment__
+#define __gnu_java_awt_font_autofit_Segment__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace autofit
+ {
+ class Segment;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::font::autofit::Segment : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Segment();
+ ::gnu::java::awt::font::autofit::Segment * __attribute__((aligned(__alignof__( ::java::lang::Object)))) link;
+ jint index;
+ jint pos;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_autofit_Segment__
diff --git a/libjava/gnu/java/awt/font/autofit/Width.h b/libjava/gnu/java/awt/font/autofit/Width.h
new file mode 100644
index 00000000000..23d21fe07c5
--- /dev/null
+++ b/libjava/gnu/java/awt/font/autofit/Width.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_font_autofit_Width__
+#define __gnu_java_awt_font_autofit_Width__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ namespace autofit
+ {
+ class Width;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::awt::font::autofit::Width : public ::java::lang::Object
+{
+
+public:
+ Width();
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) org;
+ jint cur;
+ jint fit;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_autofit_Width__
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 00000000000..a5f784d7a7c
--- /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 00000000000..0b5a45f9d99
--- /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 00000000000..d1250fcbe8b
--- /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 00000000000..30092003607
--- /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 00000000000..d5baafb7231
--- /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 00000000000..55e47902f4d
--- /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/MacResourceFork$Resource.h b/libjava/gnu/java/awt/font/opentype/MacResourceFork$Resource.h
new file mode 100644
index 00000000000..d6ba8363450
--- /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 00000000000..76ad0a65353
--- /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 00000000000..a33ffa3ed6a
--- /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 00000000000..149337c4c8a
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/OpenTypeFont.h
@@ -0,0 +1,122 @@
+
+// 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 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 *);
+ 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);
+ ::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);
+ 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;
+ ::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 00000000000..d3562506d32
--- /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 00000000000..a9118288ba2
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/Scaler.h
@@ -0,0 +1,59 @@
+
+// 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 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) = 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 00000000000..e93546aca72
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/truetype/Fixed.h
@@ -0,0 +1,54 @@
+
+// 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 div(jint, jint);
+ static jint ceil(jint);
+ static jint floor(jint);
+ static jint vectorLength(jint, jint);
+ static jint intValue(jint);
+ static jfloat floatValue(jint);
+ static jdouble doubleValue(jint);
+ static jint valueOf(jfloat);
+ static jint valueOf(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 00000000000..2b0dd072428
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/truetype/GlyphLoader.h
@@ -0,0 +1,91 @@
+
+// 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
+ {
+ 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 *);
+ void loadGlyph(jint, ::java::awt::geom::AffineTransform *, ::gnu::java::awt::font::opentype::truetype::Zone *);
+private:
+ void loadSubGlyph(jint, jdouble, ::java::awt::geom::AffineTransform *, jboolean, ::gnu::java::awt::font::opentype::truetype::Zone *, jint, jint);
+ void loadSimpleGlyph(jint, jdouble, ::java::awt::geom::AffineTransform *, jboolean, jint, ::java::nio::ByteBuffer *, ::gnu::java::awt::font::opentype::truetype::Zone *, jint, jint);
+ void loadCompoundGlyph(jint, jdouble, ::java::awt::geom::AffineTransform *, jboolean, ::java::nio::ByteBuffer *, ::gnu::java::awt::font::opentype::truetype::Zone *, jint, jint);
+ 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 00000000000..1e06f695361
--- /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 00000000000..7489c5e4e91
--- /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 00000000000..aa93b65be1f
--- /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 00000000000..558584d4f98
--- /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/TrueTypeScaler.h b/libjava/gnu/java/awt/font/opentype/truetype/TrueTypeScaler.h
new file mode 100644
index 00000000000..77ae20fb3ad
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/truetype/TrueTypeScaler.h
@@ -0,0 +1,75 @@
+
+// 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
+ {
+ 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::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 00000000000..6193a6d4c93
--- /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 00000000000..b3ff4f05959
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/truetype/Zone.h
@@ -0,0 +1,88 @@
+
+// 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 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);
+ void setX(jint, jint, jboolean);
+ void setY(jint, jint, jboolean);
+ jint getY(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();
+ ::java::awt::geom::GeneralPath * getPath();
+private:
+ JArray< jint > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) pos;
+ JArray< jint > * origPos;
+ JArray< jbyte > * flags;
+ jint numPoints;
+ static const jint FLAG_TOUCHED_X = 1;
+ static const jint FLAG_TOUCHED_Y = 2;
+ static const jint FLAG_ON_CURVE = 4;
+ static const jint FLAG_CONTOUR_END = 8;
+public:
+ 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 00000000000..fe610037981
--- /dev/null
+++ b/libjava/gnu/java/awt/font/opentype/truetype/ZonePathIterator.h
@@ -0,0 +1,67 @@
+
+// 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 *);
+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;
+public: // actually package-private
+ JArray< jfloat > * floats;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_font_opentype_truetype_ZonePathIterator__
OpenPOWER on IntegriCloud