From 02e0afd5a9d78f997df5e498550e5b2832ca5aa0 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 15 May 2000 14:19:52 +0000 Subject: Support for different character sets for each style. --- src/CallTip.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/CallTip.cxx') diff --git a/src/CallTip.cxx b/src/CallTip.cxx index ad6740208..d22a96364 100644 --- a/src/CallTip.cxx +++ b/src/CallTip.cxx @@ -8,6 +8,7 @@ #include "Platform.h" +#include "Scintilla.h" #include "CallTip.h" CallTip::CallTip() { @@ -117,7 +118,7 @@ PRectangle CallTip::CallTipStart(int pos, Point pt, const char *defn, Surface surfaceMeasure; surfaceMeasure.Init(); int deviceHeight = (size * surfaceMeasure.LogPixelsY()) / 72; - font.Create(faceName, deviceHeight); + font.Create(faceName, SC_CHARSET_DEFAULT, deviceHeight, false, false); if (val) delete []val; val = new char[strlen(defn) + 1]; -- cgit v1.2.3