File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,12 @@ language: 'en'
16
16
- Graphics are now properly removed when cells containing them are overwritten
17
17
- Fixes issues with file managers like Yazi where images would persist incorrectly
18
18
- Simplified graphics cleanup logic by removing unused ClearSubregion functionality
19
+ - ** CJK Font Metrics** : Fixed CJK characters displaying "higher" than Latin characters [ #1071 ] ( https://github.com/raphamorim/rio/issues/1071 )
20
+ - Implemented comprehensive CJK font metrics handling with consistent baseline adjustment
21
+ - Fixed scrolling issues for mixed Latin and CJK text content
22
+ - Added CJK character width measurement using "水" (water ideograph) as reference
23
+ - Created consistent cell dimensions across different font types
24
+ - Developed extensive test suite with 40+ font-related tests to verify fixes
19
25
20
26
## 0.2.26
21
27
@@ -193,12 +199,6 @@ These changes are particularly beneficial for:
193
199
194
200
### Bug Fixes
195
201
196
- - ** CJK Font Metrics** : Fixed CJK characters displaying "higher" than Latin characters [ #1071 ] ( https://github.com/raphamorim/rio/issues/1071 )
197
- - Implemented comprehensive CJK font metrics handling with consistent baseline adjustment
198
- - Fixed scrolling issues for mixed Latin and CJK text content
199
- - Added CJK character width measurement using "水" (water ideograph) as reference
200
- - Created consistent cell dimensions across different font types
201
- - Developed extensive test suite with 40+ font-related tests to verify fixes
202
202
- ** Backspace Key Compatibility** : Fixed backspace key not working properly in vim when ` TERM=xterm-256color `
203
203
- Changed backspace key bindings to send BS (0x08) instead of DEL (0x7F)
204
204
- Updated Rio terminfo and termcap entries to match actual key behavior
Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ impl FontLibraryData {
261
261
primary_metrics
262
262
} ;
263
263
264
- if * font_id == FONT_ID_REGULAR {
264
+ if font_id == & FONT_ID_REGULAR {
265
265
// Primary font uses its own metrics
266
266
Some ( primary_metrics. for_rich_text ( ) )
267
267
} else {
Original file line number Diff line number Diff line change @@ -184,7 +184,6 @@ impl BuilderState {
184
184
pub fn update_font_size ( & mut self ) {
185
185
let font_size = self . layout . font_size ;
186
186
let scale = self . layout . dimensions . scale ;
187
- let _prev_font_size = self . scaled_font_size ;
188
187
self . scaled_font_size = font_size * scale;
189
188
190
189
self . last_update = BuilderStateUpdate :: Full ;
You can’t perform that action at this time.
0 commit comments