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

폰트 설정법 #23

Closed
jhk0530 opened this issue Mar 16, 2020 · 1 comment
Closed

폰트 설정법 #23

jhk0530 opened this issue Mar 16, 2020 · 1 comment

Comments

@jhk0530
Copy link
Contributor

jhk0530 commented Mar 16, 2020

  1. www 디렉토리에 ttf, css 파일 첨부
app.R
/www
    - Title_Bold.ttf ...
    - includefont.css
  1. UI 에서 body 부분에 includeCSScss 파일 로드
fluidPage(
    tags$head(includeCSS("www/includefont.css")),
)
  1. bodyfont-familly 속성 설정
    (필요에 따라 전체에 설정하지 말고 부분별로 class 줘서 bold, light, medium 설정 해도 좋을 듯)
tags$head(tags$style(type = "text/css", "*{font-family:GGTitle_L}")),

image

@jhk0530 jhk0530 pinned this issue Mar 16, 2020
@YoungjunNa
Copy link
Member

고맙습니다^^ 덕분에 대시보드가 한결 풍성해 졌네요

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