Skip to content

Commit

Permalink
Add API_LEVEL_12 JSON font files for Stax OCR
Browse files Browse the repository at this point in the history
  • Loading branch information
dmorais-ledger committed Jul 28, 2023
1 parent d88fb52 commit 3e07194
Show file tree
Hide file tree
Showing 16 changed files with 14,372 additions and 45 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 3e07194

Please sign in to comment.