Skip to content

Commit

Permalink
feat: Change default regular from CascadiaCodePL to CascadiaCodeNF
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Mar 7, 2025
1 parent 554382e commit 262b1ed
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,8 @@ Has no default values. Example values are shown below:

```toml
fonts.symbol-map = [
{ start = "E0C0", end = "E0C7", font-family = "PowerlineSymbols" }
// covers: '','',''
{ start = "2297", end = "2299", font-family = "Cascadia Code Nerd Font" }
]
```

Expand Down
1 change: 1 addition & 0 deletions docs/docs/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ language: 'en'
## 0.2.9 (unreleased)

- Add Switch to Next/Prev Split or Tab command by [@vlabo](https://github.com/vlabo).
- Change default regular from CascadiaCodePL to CascadiaCodeNF.
- Support to symbol map configuration: `fonts.symbol-map`.
- Fix issue whenever the first main font cannot be found.

Expand Down
3 changes: 2 additions & 1 deletion rio-backend/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,8 @@ mod tests {
"symbol-map",
r#"
fonts.symbol-map = [
{ start = "E0C0", end = "E0C7", font-family = "PowerlineSymbols" }
// covers: '⊗','⊘','⊙'
{ start = "2297", end = "2299", font-family = "PowerlineSymbols" }
]
"#,
);
Expand Down
3 changes: 2 additions & 1 deletion sugarloaf/src/font/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ pub const FONT_CASCADIAMONO_LIGHT_ITALIC: &[u8] =
font!("./resources/CascadiaCode/CascadiaCodePL-LightItalic.otf");

pub const FONT_CASCADIAMONO_REGULAR: &[u8] =
font!("./resources/CascadiaCode/CascadiaCodePL-Regular.otf");
font!("./resources/CascadiaCode/CascadiaCodeNF-Regular.otf");
// font!("./resources/CascadiaCode/CascadiaCodePL-Regular.otf");

pub const FONT_CASCADIAMONO_SEMI_BOLD: &[u8] =
font!("./resources/CascadiaCode/CascadiaCodePL-SemiBold.otf");
Expand Down
Binary file not shown.

0 comments on commit 262b1ed

Please sign in to comment.