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

Enable more font sizes #89

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Slapparoo
Copy link
Contributor

Enable the ability to change font size from 8x8 to other fixed width font sizes.

  • Also included is a 8x12 font which can be enabled by editing Kernel/KernelA.HH and recompiling the kernel by commenting the blocks:
#define FONT_WIDTH           8
#define FONT_HEIGHT          8
#define SYS_FONT_STD	sys_font_std
#define SYS_FONT_AUX	sys_font_aux

And Uncommenting

#define FONT_WIDTH		8
#define FONT_HEIGHT 	        12
#define SYS_FONT_STD	sys_font_lat0_8x12
#define SYS_FONT_AUX	sys_font_block_8x12
  • Also includes a 8x12 font edit demo src/Demo/Graphics/FontEd_8x12.ZC
  • Also includes a new 'Flag' to enable/disable underline
    Set DISPLAY_UNDERLINE to 0 to disable underline, and 1 to enable underline.

@TomAwezome
Copy link
Contributor

As I explained in the prior larger PR:

"...the Charter currently upholds 8x8 font limitation and Zeal follows Zeal's Charter, you will need to include in this PR your proposal for what to change the Charter to force the OS to follow."

@Midnoclose Midnoclose added the enhancement New feature or request label Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants