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

fonts larger than 50 silently fail #72

Open
clach04 opened this issue Feb 13, 2016 · 1 comment
Open

fonts larger than 50 silently fail #72

clach04 opened this issue Feb 13, 2016 · 1 comment

Comments

@clach04
Copy link
Contributor

clach04 commented Feb 13, 2016

https://github.com/pebble/rockyjs/blob/master/examples/text/index.html#L78 uses font size of 40, if this is modified to 50, works as expected (larger font, and text wraps on whitespace).

var font3 = fonts_load_custom_font({height: 40, url:"https://github.com/pebble-examples/feature-custom-font/raw/master/resources/fonts/osp-din/OSP-DIN.ttf"});

If line 78 is updated to use 51 (i.e one more) text vanishes without error.

Noticed whilst trying to port over one of my watchfaces from C api which needs size 75 (https://github.com/clach04/watchface_JupiterMass/blob/master/appinfo.json).

@ygalanter
Copy link

I concur. Please allow fonts with size over 50

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