fonts-archive-one-mobile

0.0.3 • Public • Published

원스토어 모바일고딕 본문체

배포처 바로가기

 

웹 폰트

사용하는 font-family의 이름은 ONE Mobile입니다.

HTML

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fonts-archive-one-mobile/ONEMobile.css" type="text/css"/>

CSS @Import

@import url('https://cdn.jsdelivr.net/npm/fonts-archive-one-mobile/ONEMobile.css');

CSS @font-face

@font-face {
    font-family: 'ONE Mobile';
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/fonts-archive-one-mobile/ONEMobile-Light.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/npm/fonts-archive-one-mobile/ONEMobile-Light.woff') format('woff'),
         url('https://cdn.jsdelivr.net/npm/fonts-archive-one-mobile/ONEMobile-Light.otf') format('opentype'),
         url('https://cdn.jsdelivr.net/npm/fonts-archive-one-mobile/ONEMobile-Light.ttf') format('truetype');
}
@font-face {
    font-family: 'ONE Mobile';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/fonts-archive-one-mobile/ONEMobile-Regular.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/npm/fonts-archive-one-mobile/ONEMobile-Regular.woff') format('woff'),
         url('https://cdn.jsdelivr.net/npm/fonts-archive-one-mobile/ONEMobile-Regular.otf') format('opentype'),
         url('https://cdn.jsdelivr.net/npm/fonts-archive-one-mobile/ONEMobile-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'ONE Mobile';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/fonts-archive-one-mobile/ONEMobile-Bold.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/npm/fonts-archive-one-mobile/ONEMobile-Bold.woff') format('woff'),
         url('https://cdn.jsdelivr.net/npm/fonts-archive-one-mobile/ONEMobile-Bold.otf') format('opentype'),
         url('https://cdn.jsdelivr.net/npm/fonts-archive-one-mobile/ONEMobile-Bold.ttf') format('truetype');
}

 

다이나믹 서브셋

웹폰트의 최적화를 위해 모던 브라우저에서는 글리프를 여러개로 나누어 필요한 부분만 동적으로 파싱하는 다이나믹 서브셋을 제공합니다. 폰트의 용량이 부담된다면 아래 코드를 사용하는 걸 추천합니다.

HTML

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fonts-archive-one-mobile/subsets/ONEMobile-dynamic-subset.css" type="text/css"/>

CSS

@import url('https://cdn.jsdelivr.net/npm/fonts-archive-one-mobile/subsets/ONEMobile-dynamic-subset.css');

 

font-family

어느 브라우저나 시스템 환경에서도 동일한 폰트가 적용되어야 한다면 아래와 같이 구성하는 걸 추천합니다. -apple-systemBlinkMacSystemFont는 맥, Segoe UI는 윈도우, Roboto는 안드로이드의 기본 폰트입니다.

font-family: "ONE Mobile", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;

 

라이선스

라이선스는 언제든지 변경될 수 있습니다. 변경사항을 확인하려면 배포처를 방문해 주세요.

· 개인 및 기업 사용자를 포함한 모든 사용자에게 무료로 제공되며 모든 용도의 상업적 이용이 가능합니다. 
· 단, 글꼴 자체의 유료 판매, 수정 및 재배포를 할 수 없습니다. 
· ONE 모바일 고딕체 및 ONE 모바일 POP체의 지적재산권은 ㈜원스토어에 있습니다.

Dependents (0)

Package Sidebar

Install

npm i fonts-archive-one-mobile

Weekly Downloads

204

Version

0.0.3

License

none

Unpacked Size

33.5 MB

Total Files

376

Last publish

Collaborators

  • taedonn