/[libvob]/libvob/src/jni/FTFont.cxx
ViewVC logotype

Diff of /libvob/src/jni/FTFont.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by tjl, Fri Oct 10 13:52:25 2003 UTC revision 1.3 by tjl, Wed Oct 22 08:57:48 2003 UTC
# Line 58  static void gotError(JNIEnv *env, int er Line 58  static void gotError(JNIEnv *env, int er
58  extern "C" {  extern "C" {
59    
60  jf( jint, impl_1FTFont_1create )  jf( jint, impl_1FTFont_1create )
61      (JNIEnv *env, jclass, jstring filename, jint pixsize_x, jint pixsize_y)      (JNIEnv *env, jclass, jstring filename, jint pixsize_x, jint pixsize_y,
62            jint xx, jint xy, jint yx, jint yy)
63  {  {
64      std::string filename_str = jstr2stdstr(env, filename);      std::string filename_str = jstr2stdstr(env, filename);
65      if(!inited) {      if(!inited) {
# Line 82  jf( jint, impl_1FTFont_1create ) Line 83  jf( jint, impl_1FTFont_1create )
83                    
84          return -1;          return -1;
85      }      }
86    
87        FT_Matrix transform;
88        transform.xx = xx;
89        transform.xy = xy;
90        transform.yx = yx;
91        transform.yy = yy;
92            
93        FT_Set_Transform(*face, &transform, 0);
94    
95      return ftfonts.add(face);      return ftfonts.add(face);
96  }  }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26