diff options
| author | Neil <nyamatongwe@gmail.com> | 2024-08-15 19:02:46 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2024-08-15 19:02:46 +1000 |
| commit | dcbc339899911e1a3a743de1c0c25d0c253dd39a (patch) | |
| tree | 3d4fcd3405e7b4620476c36b0102031114bf65ad /cocoa/PlatCocoa.mm | |
| parent | 6f51f5975920272f5f691d690107d15291a335f2 (diff) | |
| download | scintilla-mirror-dcbc339899911e1a3a743de1c0c25d0c253dd39a.tar.gz | |
Add SCI_STYLESETSTRETCH to support condensed and expanded text styles.
Diffstat (limited to 'cocoa/PlatCocoa.mm')
| -rw-r--r-- | cocoa/PlatCocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm index 6eb12f4ad..4753f6a5f 100644 --- a/cocoa/PlatCocoa.mm +++ b/cocoa/PlatCocoa.mm @@ -106,7 +106,7 @@ public: FontQuartz(const FontParameters &fp) { style = std::make_unique<QuartzTextStyle>(); // Create the font with attributes - QuartzFont font(fp.faceName, strlen(fp.faceName), fp.size, fp.weight, fp.italic); + QuartzFont font(fp.faceName, strlen(fp.faceName), fp.size, fp.weight, fp.stretch, fp.italic); CTFontRef fontRef = font.getFontID(); style->setFontRef(fontRef, fp.characterSet); } |
