Skip to content

Commit

Permalink
Fix font.glyph_offset not live reloading
Browse files Browse the repository at this point in the history
  • Loading branch information
kchibisov authored Mar 11, 2022
1 parent 0965773 commit 7312f33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

- Creating the IPC socket failing if WAYLAND_DISPLAY contains an absolute path
- Crash when resetting the terminal while in vi mode
- `font.glyph_offset` not live reloading

## 0.10.1

Expand Down
1 change: 1 addition & 0 deletions alacritty/src/renderer/text/glyph_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ impl GlyphCache {
// Update dpi scaling.
self.rasterizer.update_dpr(scale_factor as f32);
self.font_offset = font.offset;
self.glyph_offset = font.glyph_offset;

// Recompute font keys.
let (regular, bold, italic, bold_italic) =
Expand Down

0 comments on commit 7312f33

Please sign in to comment.