x = (GLfloat) op->u.text.x;
if (op->u.text.align == -1)
x = (GLfloat) op->u.text.x + op->u.text.width;
- fontSize(view->FontSize);
+ fontSize(view->fontset
+ view->FontSize);
if (param == 0)
fontColor(view->penColor.R, view->penColor.G, view->penColor.B);
if (param == 1) //selected
smyrnaDir = SMYRNA_PATH;
#endif
-// create_font_file("c:\\pango_test.png",(float)64.0,(float)64.0);
+ create_font_file("c:\\pango_test.png",(float)64.0,(float)64.0);
load_attributes();
#ifdef G_OS_WIN32
#ifdef WIN32
#include "windows.h"
+#include "gltexfont.h"
//#define SMYRNA_GLADE "C:/Projects/graphviz2/share/gui/smyrna.glade"
#define SMYRNA_ATTRS "c:/Projects/graphviz2/share/gui/attrs.txt"
#endif
gvk_layout dfltEngine;
GtkTextBuffer* consoleText;
float FontSizeConst;
+ fontset_t* fontset;
} ViewInfo;
extern ViewInfo *view;