-
Notifications
You must be signed in to change notification settings - Fork 39
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
Missing large fonts for EV3 display #963
Comments
Because my teams do need this feature, I created an a temporary solution for large numbers, It did require 12 lines for the fonts and 13 lines to draw the pixels. It is working fine, but is not an ideal solution. |
Could you share it in a GitHub repository? |
The custom.ts file can be found at here. Note the lines 454 - 466 to define a drawing canvas and 10x8 fonts for the 10 digits.
The function to draw a digit is on lines 525 - 537.
Sorry, that the formatting is not proper in this comment. Note: This function is part of the
function on line 782 used to show navigation menu. This function labels all the 5 available buttons in the EV3 brick. |
Describe the bug
With LabVIEW, the program can show text on 12 lines of small fonts or 6 lines of double size fonts. PXT-EV3 is missing this feature.
To Reproduce
Steps to reproduce the behavior:
Open the Brick menu in block editor and observe that the display font size selection is not available.
Expected behavior
Similar functionality that was available with LabVIEW.
Additional context
In addition of having 12 or 6 lines of text, it is desirable to have 4 or 3 lines of text on display. These lines would have fonts with height of 1/12, 2/12, 3/12, or 4/12 of the display height.
The text was updated successfully, but these errors were encountered: