Skip to content

Font/Text rendering is disabled (but does work when hardcoded) on recently added boards #5

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

Closed
antevens opened this issue Dec 28, 2019 · 1 comment

Comments

@antevens
Copy link

Subject of the issue

Currently font/text rendering support is restricted to platforms which have <avr/pgmspace.h>.

Your workbench

Arduino Nano 33 BLE Sense (nRF52840 chip)
#if __has_include ( <avr/pgmspace.h> )

Steps to reproduce

Try rendering any text with a platform that supports text but doesn't have avr/pgmspace.h

Expected behaviour

Fonts should be rendered, on platforms which don't support it an error should be raised.

Actual behaviour

Compilation warning is shown but no error, no text shown on screen.

warning: #warning "HyperDisplay Default Font Not Supported. Printing will not work without a custom implementation" [-Wcpp]
#warning "HyperDisplay Default Font Not Supported. Printing will not work without a custom implementation"
^~~~~~~

@oclyke
Copy link
Contributor

oclyke commented Dec 31, 2019

Redirecting to #4

@oclyke oclyke closed this as completed Dec 31, 2019
@oclyke oclyke mentioned this issue Dec 31, 2019
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

No branches or pull requests

2 participants