Skip to content

Commit

Permalink
src: launcher: Fix library mode fonts not unloaded at os_lib_end
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Chapron committed Apr 10, 2024
1 parent a83e4a9 commit 6057929
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Removing PyQt5 from Speculos Docker images as it is unused and triggers error on MAC.
- Fix OCR screen content reset mechanism
- Fix library mode fonts not unloaded at os_lib_end.

## [0.8.3] - 2024-04-08

Expand Down
4 changes: 4 additions & 0 deletions src/launcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@ int replace_current_code(struct app_s *app)
memory.code_size = app->elf.load_size;
current_app = app;

// Parse fonts and build bitmap -> character table
parse_fonts(memory.code, app->elf.text_load_addr, app->elf.fonts_addr,
app->elf.fonts_size, use_nbgl);

return 0;
}

Expand Down

0 comments on commit 6057929

Please sign in to comment.