aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/PlatCocoa.mm
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-07-10 10:38:22 +1000
committernyamatongwe <devnull@localhost>2011-07-10 10:38:22 +1000
commit23c222e5a28c4bfd50e087ec1a85c392b9c4a1aa (patch)
treeaa719c24240dc0cc6d0dab48609416e20b8fc580 /cocoa/PlatCocoa.mm
parent9f3cf667691adde1be68e92f08d4e52b86e5edf1 (diff)
downloadscintilla-mirror-23c222e5a28c4bfd50e087ec1a85c392b9c4a1aa.tar.gz
Store character set in QuartzTextStyle.
Diffstat (limited to 'cocoa/PlatCocoa.mm')
-rw-r--r--cocoa/PlatCocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm
index 1e81fb6e1..dba386750 100644
--- a/cocoa/PlatCocoa.mm
+++ b/cocoa/PlatCocoa.mm
@@ -165,7 +165,7 @@ void Font::Create(const char *faceName, int characterSet, int size, bool bold, b
// Create the font with attributes
QuartzFont font(faceName, strlen(faceName), size, bold, italic);
CTFontRef fontRef = font.getFontID();
- style->setFontRef(fontRef);
+ style->setFontRef(fontRef, characterSet);
}
//--------------------------------------------------------------------------------------------------