Skip to content

Commit

Permalink
Bengali fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
surinder83singh committed Sep 19, 2024
1 parent 67c3465 commit f08eb83
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Binary file not shown.
8 changes: 8 additions & 0 deletions core/src/fonts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,14 @@ pub fn init_fonts(cc: &eframe::CreationContext<'_>) {

// ---

fonts.add_static(
FontFamily::Proportional,
"bn",
include_bytes!(
"../resources/fonts/NotoSansBengali/NotoSansBengali-VariableFont_wdth_wght.ttf"
),
);

if runtime::is_native() || runtime::is_chrome_extension() {
fonts.add_static(
FontFamily::Proportional,
Expand Down

0 comments on commit f08eb83

Please sign in to comment.