Skip to content

Commit

Permalink
Merge pull request #475 from LedgerHQ/xch/fix-plugin-ocr
Browse files Browse the repository at this point in the history
src: launcher: Fix library mode fonts not unloaded at os_lib_end
  • Loading branch information
xchapron-ledger authored Apr 10, 2024
2 parents a83e4a9 + 6f67d0e commit 48bcb97
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.8.4] - 2024-04-09
## [0.8.4] - 2024-04-010

### Fixed

- Removing PyQt5 from Speculos Docker images as it is unused and triggers error on MAC.
- Fix OCR screen content reset mechanism
- 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 48bcb97

Please sign in to comment.