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

Font not found #5

Closed
markegge opened this issue Oct 25, 2018 · 3 comments
Closed

Font not found #5

markegge opened this issue Oct 25, 2018 · 3 comments

Comments

@markegge
Copy link

@markegge markegge commented Oct 25, 2018

I love the package! The package makes it really delightfully easy to create an attractive and distinctive app without needing to write or bring in any outside CSS. Thanks!

I'm using the "sandstone" theme and getting an error that the Roboto font (at /myapp/shinythemes/fonts/Roboto_500.ttf) is not found.

library(shiny)
library(shinythemes)

ui <- fluidPage(theme = shinytheme("sandstone"),
  fluidRow(
  ...
  )
)

This results in:

Roboto_500.ttf:1 Failed to load resource: the server responded with a status of 404 (Not Found)

when running local, or

GET http://mysite.com/myapp/shinythemes/fonts/Roboto_500.ttf net::ERR_ABORTED 404 (Not Found)

when running on my remote Shiny Server.

@wch wch closed this in 991a87e Oct 26, 2018
@wch
Copy link
Contributor

@wch wch commented Oct 26, 2018

Thanks for the report! It looks like Roboto 300 and 500 weren't added to the repo. I'm surprised that no one noticed it before.

@wch
Copy link
Contributor

@wch wch commented Oct 26, 2018

Can you try installing from github and let me know if it works properly?

@markegge
Copy link
Author

@markegge markegge commented Oct 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.