mirror of
https://github.com/wez/wezterm.git
synced 2024-12-22 12:51:31 +03:00
parent
b071ad8c45
commit
baf879f4f8
2
deps/freetype/freetype2
vendored
2
deps/freetype/freetype2
vendored
@ -1 +1 @@
|
||||
Subproject commit 5bcaf51b611ce579c89c2bb423984ec89fdaadd7
|
||||
Subproject commit 3f83daeecb1a78d851b660eed025eeba362c0e4a
|
@ -26,6 +26,7 @@ As features stabilize some brief notes about them will accumulate here.
|
||||
#### Updated and Improved
|
||||
|
||||
* Bundled harfbuzz to 3.2.0
|
||||
* Bundled freetype to 2.11.1
|
||||
* macos: removing the titlebar from `window_decorations` now preserves rounded window corners [#1034](https://github.com/wez/wezterm/issues/1034)
|
||||
|
||||
#### Fixed
|
||||
|
@ -600,18 +600,6 @@ impl Face {
|
||||
FT_GlyphSlot_Embolden(slot as *mut _);
|
||||
}
|
||||
|
||||
if let Some(size) = self.size.as_ref() {
|
||||
if !size.is_scaled {
|
||||
// Non-scaled == bitmap, which doesn't need to be rendered.
|
||||
// We check specially for this because freetype 2.11
|
||||
// started to return an error in this case.
|
||||
// <https://gitlab.freedesktop.org/freetype/freetype/-/issues/1076>
|
||||
// This workaround can be removed when freetype 2.11.1
|
||||
// is released and we upgrade to it.
|
||||
return Ok(slot);
|
||||
}
|
||||
}
|
||||
|
||||
ft_result(FT_Render_Glyph(slot, render_mode), ())
|
||||
.context("load_and_render_glyph: FT_Render_Glyph")?;
|
||||
Ok(slot)
|
||||
|
Loading…
Reference in New Issue
Block a user