- Creating websites with prefers-reduced-data | Polypane, The browser for ambitious developers1
- Modifying Specific Letters with CSS and JavaScript | CSS-Tricks2
- Stroke Text CSS: 📕 The Definitive Guide - Coding Dude3
- Use advanced typography with local fonts4
- Leading-Trim: The Future of Digital Typesetting | by Ethan Wang | Microsoft Design | Medium5
- Google Fonts6
- Using Font Variant Numeric7
- Color Fonts - Get ready for the revolution!
- How to Use Color Fonts on the Web
- Deep dive CSS: font metrics, line-height and vertical-align - Vincent De Oliveira
- Font size is useless; let’s fix it
- https://gwfh.mranftl.com/fonts/noto-sans-kr?subsets=korean,latin
폰트 만들기
- https://apps.apple.com/us/app/fontself-make-your-own-fonts/id1512959192
- https://glyphsapp.com/
- https://www.figma.com/community/file/1115382696459820988
- https://www.amygoodchild.com/blog/cursive-handwriting-in-javascript
Footnotes
- 5 steps to faster web fonts /// Iain Bean
- How to Stop Lighthouse Complaining About Render Blocking Google Fonts | Codeboosh
- A Comprehensive Guide to Font Loading Strategies—zachleat.com
- How to avoid layout shifts caused by web fonts – Simon Hearne
- The Fastest Google Fonts – CSS Wizardry – Web Performance Optimisation
- Time to Say Goodbye to Google Fonts
- The Best Font Loading Strategies and How to Execute Them | CSS-Tricks
요약하자면
- woff2
- font-display로 레이아웃 이슈 최소화
- preload
- self (feat. google webfonts helper)
몇몇 권장사항은 한글 폰트에서는 사실상 불가능한 부분이라 가능한 부분들을 적용하면 된다.
- A Variable Fonts Primer
- Google Fonts
- Getting the Most Out of Variable Fonts on Google Fonts | CSS-Tricks
- Variable Fonts for Developers
- Using CSS Custom Properties to Adjust Variable Font Weights in Dark Mode | CSS-Tricks1
Footnotes
-
다크모드에서 weight가 시각적으로 차이가 날수 있기때문에 그럴경우 변수로 분리해서 대응하는 방법 ↩
-- new FontFace() 만으로는 글자에 안 쓰인다
usable :: FontFace -> Bool
usable face = added face && loaded face
-- added: document.fonts.add(face) — 집합에 있어야 그릴 때 쓰인다
-- loaded: await face.load() — URL 소스는 검증만 하고 자동으로 받지 않는다
loader = do
face <- newFontFace "Material Symbols Outlined" "url(https://fonts.gstatic.com/…woff2)"
add (fonts document) face
load face -- 순서는 상관없지만 둘 다