equal
deleted
inserted
replaced
27 #define HB_JDK_H |
27 #define HB_JDK_H |
28 |
28 |
29 #include "hb.h" |
29 #include "hb.h" |
30 #include <jni.h> |
30 #include <jni.h> |
31 #include <sunfontids.h> |
31 #include <sunfontids.h> |
|
32 #include <fontscalerdefs.h> |
32 |
33 |
33 # ifdef __cplusplus |
34 # ifdef __cplusplus |
34 extern "C" { |
35 extern "C" { |
35 #endif |
36 #endif |
36 |
37 |
37 typedef struct JDKFontInfo_Struct { |
38 typedef struct JDKFontInfo_Struct { |
38 JNIEnv* env; |
39 JNIEnv* env; |
39 jobject font2D; |
40 jobject font2D; |
40 jobject fontStrike; |
41 jobject fontStrike; |
41 long nativeFont; |
42 long nativeFont; |
|
43 TTLayoutTableCache *layoutTables; |
42 float matrix[4]; |
44 float matrix[4]; |
43 float ptSize; |
45 float ptSize; |
44 float xPtSize; |
46 float xPtSize; |
45 float yPtSize; |
47 float yPtSize; |
46 float devScale; // How much applying the full glyph tx scales x distance. |
48 float devScale; // How much applying the full glyph tx scales x distance. |