-
Couldn't load subscription status.
- Fork 364
landscape: add woff2 support, serve Inter & Source Code Pro #4121
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
landscape: add woff2 support, serve Inter & Source Code Pro #4121
Conversation
Fixes urbit/landscape#92
|
Ok, the syntax should be "slightly tidier" but I am not good with computer. Nonetheless, it works! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not too familiar with :dbug or :file-server, but I'm fine with this assuming it works.
The addition to the pill will require further changes, and I've noted a couple style nits:
pkg/arvo/lib/pill.hoon
Outdated
| :: XX this whitelist needs to be reviewed | ||
| :: | ||
| ?. ?= ?(%css %hoon %html %js %json %md %png %txt %udon %umd) | ||
| ?. ?= ?(%css %hoon %html %js %json %md %png %txt %udon %umd %woff2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding these files to the pill is fine, but the same scry-format and serialization need to be applied below. And this will be a new case; we have @t and $wain, but no $octs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBH I don't even know what I'm doing in this file I just heard there were pngs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The hoon changes LGTM.
Note that without the fonts in the pill, they will not be available in the UI until a ship gets an OTA. I guess whether that's ok is a requirements question for interface.
|
bump |
@vvisigoth thoughts? I'm inclined to just merge. |
|
This LGTM as well. |
shrug We'll keep a CDN fallback I suppose. @tylershuster In we go! |
|
Oh wait, you make the JS changes here too. Well, we have a sec, if we could optimise with CDN fallback that would be ideal. First OTAs can be a half hour where new users would have Times New Roman Landscape™ |
|
I should target |
|
Yes! |
Fixes urbit/landscape#92