]> granicus.if.org Git - graphviz/commitdiff
make textlayout respect -Gdpi
authorellson <devnull@localhost>
Thu, 30 Aug 2007 19:20:21 +0000 (19:20 +0000)
committerellson <devnull@localhost>
Thu, 30 Aug 2007 19:20:21 +0000 (19:20 +0000)
lib/gvc/gvplugin_textlayout.h
lib/gvc/gvtextlayout.c

index c4819a6cb019ab9fd55d67f3b9c9a3682f6ca7be..95eb05e904595b14f2f709d6a5cf247e8639548b 100644 (file)
@@ -27,7 +27,7 @@ extern "C" {
 #endif
 
     struct gvtextlayout_engine_s {
-       boolean (*textlayout) (GVCOMMON_t *common, textpara_t *para, char** fontpath);
+       boolean (*textlayout) (textpara_t *para, char** fontpath);
     };
 
 #ifdef __cplusplus
index 44357776e6242c285323667a346845f014b0687c..6b056d232a63dd27177e70a0ecd206a041aead2b 100644 (file)
@@ -46,6 +46,6 @@ boolean gvtextlayout(GVC_t *gvc, textpara_t *para, char **fontpath)
     gvtextlayout_engine_t *gvte = gvc->textlayout.engine;
 
     if (gvte && gvte->textlayout)
-       return gvte->textlayout(&(gvc->common), para, fontpath);
+       return gvte->textlayout(para, fontpath);
     return FALSE;
 }