summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/bltConfig.C1
-rw-r--r--src/bltGrPSOutput.h1
-rw-r--r--src/bltGrText.C7
3 files changed, 3 insertions, 6 deletions
diff --git a/src/bltConfig.C b/src/bltConfig.C
index a5b72a1..e6d47b6 100644
--- a/src/bltConfig.C
+++ b/src/bltConfig.C
@@ -83,7 +83,6 @@
#include "bltInt.h"
#include "bltWindow.h"
-#include "bltFont.h"
#include "bltBgStyle.h"
#define PIXELS_NNEG 0
diff --git a/src/bltGrPSOutput.h b/src/bltGrPSOutput.h
index 0c9f8f2..b3296b4 100644
--- a/src/bltGrPSOutput.h
+++ b/src/bltGrPSOutput.h
@@ -133,7 +133,6 @@ extern int Blt_Ps_SaveFile(Tcl_Interp *interp, Blt_Ps ps,
#ifdef _TK
-#include "bltFont.h"
#include "bltText.h"
extern void Blt_Ps_XSetLineWidth(Blt_Ps ps, int lineWidth);
diff --git a/src/bltGrText.C b/src/bltGrText.C
index 396df96..38dea2d 100644
--- a/src/bltGrText.C
+++ b/src/bltGrText.C
@@ -45,7 +45,6 @@
#include "bltHash.h"
#include "bltImage.h"
#include "bltBitmap.h"
-#include "bltFont.h"
#include "bltText.h"
#include "bltBgStyle.h"
@@ -507,7 +506,7 @@ Blt_Ts_DrawText(
// GC gc = XCreateGC(display, Tk_WindowId(tkwin), 0, NULL);
// XSetFont(display, gc, Tk_FontId(font));
Tk_Font font = stylePtr->font;
- // GC gc = stylePtr->gc;
+ GC gc = stylePtr->gc;
int width,height, xx, yy;
Tk_TextLayout layout = Tk_ComputeTextLayout(font, text, textLen, -1,
@@ -515,8 +514,8 @@ Blt_Ts_DrawText(
&width, &height);
Blt_TranslateAnchor(x, y, width, height, stylePtr->anchor, &xx, &yy);
// printf("x=%d y=%d, xx=%d yy=%d\n",x,y,xx,yy);
- // TkDrawAngledTextLayout(display, drawable, gc, layout, xx, yy,
- // stylePtr->angle, 0, textLen);
+ TkDrawAngledTextLayout(display, drawable, gc, layout, xx, yy,
+ stylePtr->angle, 0, textLen);
// if (gc)
// XFreeGC(display, gc);