Skip to content

Commit

Permalink
Merge pull request #384 from LedgerHQ/ocr_speculos
Browse files Browse the repository at this point in the history
Add support for Speculos OCR
  • Loading branch information
dmorais-ledger authored Jul 28, 2023
2 parents 77e7ad2 + 840ec51 commit 372bf7d
Show file tree
Hide file tree
Showing 16 changed files with 14,366 additions and 39 deletions.
1,053 changes: 1,052 additions & 1 deletion lib_bagl/include/bagl_font_open_sans_extrabold_11px.json

Large diffs are not rendered by default.

1,395 changes: 1,394 additions & 1 deletion lib_bagl/include/bagl_font_open_sans_extrabold_11px_unicode.json

Large diffs are not rendered by default.

1,053 changes: 1,052 additions & 1 deletion lib_bagl/include/bagl_font_open_sans_light_16px.json

Large diffs are not rendered by default.

1,395 changes: 1,394 additions & 1 deletion lib_bagl/include/bagl_font_open_sans_light_16px_unicode.json

Large diffs are not rendered by default.

1,053 changes: 1,052 additions & 1 deletion lib_bagl/include/bagl_font_open_sans_regular_11px.json

Large diffs are not rendered by default.

1,395 changes: 1,394 additions & 1 deletion lib_bagl/include/bagl_font_open_sans_regular_11px_unicode.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib_bagl/src/bagl.c
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ int bagl_draw_string(unsigned short font_id, unsigned int fgcolor, unsigned int
*/

// chars are storred LSB to MSB in each char, packed chars. horizontal scan
if (ch_bitmap && ch_bits) {
if (ch_bitmap) {
bagl_hal_draw_bitmap_within_rect(xx + ch_offset_x, ch_y + ch_offset_y, ch_width, ch_height, (1<<bpp), colors, bpp, ch_bitmap, ch_bits);
}
else {
Expand Down
656 changes: 656 additions & 0 deletions lib_nbgl/include/nbgl_font_hmalpha_mono_medium_32.json

Large diffs are not rendered by default.

1,052 changes: 1,052 additions & 0 deletions lib_nbgl/include/nbgl_font_inter_medium_32.json

Large diffs are not rendered by default.

Loading

0 comments on commit 372bf7d

Please sign in to comment.