diff options
| author | nyamatongwe <unknown> | 2000-05-15 14:19:52 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2000-05-15 14:19:52 +0000 | 
| commit | 02e0afd5a9d78f997df5e498550e5b2832ca5aa0 (patch) | |
| tree | b5e3048d8416aefd2a461149fbb755f71fc49f39 /win32/PlatWin.cxx | |
| parent | e149d7bf98c013bad08a5c7aeb0e652e83042ce2 (diff) | |
| download | scintilla-mirror-02e0afd5a9d78f997df5e498550e5b2832ca5aa0.tar.gz | |
Support for different character sets for each style.
Diffstat (limited to 'win32/PlatWin.cxx')
| -rw-r--r-- | win32/PlatWin.cxx | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 7bc9fc8c3..e9174e9df 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -128,7 +128,7 @@ Font::Font() {  Font::~Font() {  } -void Font::Create(const char *faceName, int size, bool bold, bool italic) { +void Font::Create(const char *faceName, int characterSet, int size, bool bold, bool italic) {  	Release();  	LOGFONT lf; @@ -137,7 +137,7 @@ void Font::Create(const char *faceName, int size, bool bold, bool italic) {  	lf.lfHeight = -(abs(size));  	lf.lfWeight = bold ? FW_BOLD : FW_NORMAL;  	lf.lfItalic = static_cast<BYTE>(italic ? 1 : 0); -	lf.lfCharSet = DEFAULT_CHARSET; +	lf.lfCharSet = characterSet;  	strcpy(lf.lfFaceName, faceName);  	id = ::CreateFontIndirect(&lf);  | 
