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 /src/ViewStyle.cxx | |
parent | 6f51f5975920272f5f691d690107d15291a335f2 (diff) | |
download | scintilla-mirror-dcbc339899911e1a3a743de1c0c25d0c253dd39a.tar.gz |
Add SCI_STYLESETSTRETCH to support condensed and expanded text styles.
Diffstat (limited to 'src/ViewStyle.cxx')
-rw-r--r-- | src/ViewStyle.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index f20645251..921463931 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -66,7 +66,7 @@ void FontRealised::Realise(Surface &surface, int zoomLevel, Technology technolog const float deviceHeight = static_cast<float>(surface.DeviceHeightFont(measurements.sizeZoomed)); const FontParameters fp(fs.fontName, deviceHeight / FontSizeMultiplier, fs.weight, - fs.italic, fs.extraFontFlag, technology, fs.characterSet, localeName); + fs.italic, fs.extraFontFlag, technology, fs.characterSet, localeName, fs.stretch); font = Font::Allocate(fp); // floor here is historical as platform layers have tweaked their values to match. |