Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support new font sizes #501

Closed
wants to merge 4 commits into from
Closed

Conversation

nroggeman-ledger
Copy link
Contributor

@nroggeman-ledger nroggeman-ledger commented Jan 11, 2024

Description

The goal of this PR is to support new font sizes (28 & 36) based on Inter Regular and Inter Semibold fonts, for later usage.
Because these sizes can be bigger, we have to change the format of internal font structures, so also the tool to generate fonts.
And instead of using directly the font names (containing the size), we will now use font alias (small, large...).

Changes include

  • Bugfix (non-breaking change that solves an issue)
  • New feature (non-breaking change that adds functionality)
  • [*] Breaking change (change that is not backwards-compatible and/or changes current functionality)
  • Tests
  • Documentation
  • Other (for changes that might not fit in any category)

Breaking change

Structure of fonts is mofidied so new API level is required

Copy link
Contributor

@xchapron-ledger xchapron-ledger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small question not really regarding this PR, but would it be possible to move the nbgl_font_*.inc file in a dedicated folder? There are many of them and it doesn't help having a great view of the include folder with include file usable by apps.

@codecov-commenter
Copy link

codecov-commenter commented Jan 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (87f3e3e) 60.18% compared to head (b43c37d) 60.42%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #501      +/-   ##
==========================================
+ Coverage   60.18%   60.42%   +0.24%     
==========================================
  Files          12       12              
  Lines        1660     1660              
==========================================
+ Hits          999     1003       +4     
+ Misses        661      657       -4     
Flag Coverage Δ
unittests 60.42% <ø> (+0.24%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nroggeman-ledger nroggeman-ledger deleted the support-new-font-sizes branch January 15, 2024 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants