Files
TREK/shared/src/i18n/ko/studioFonts.ts
T
Maurice fabefed39f feat(studio): 34 typefaces with real weights and italics, a categorised font picker
The book catalogue grows from 7 families to 34, all self-hosted through
@fontsource under the SIL OFL 1.1 or the Apache License 2.0: condensed and
poster faces, heavy retro display, elegant display serifs, Montserrat, twelve
scripts and DM Mono. Weights run from 100 to 900, each family offering only
the weights it ships, and the serifs gain real italics.

The catalogue lives in @trek/shared (book-fonts.data.ts) with each family's
roles (display, heading, body, script, mono), weights, italics and letter
width, so the Studio, the findings, the design engine and the assistant read
one list. Page operations and the design engine set a weight a family lacks
at its nearest one, describe_book_page names the role and the weight, and
font_mix no longer counts scripts and mono faces, warning above three.

The Studio gets StudioFontPicker: the current family set in itself, a
searchable list grouped by kind with every family in its own face and the
book's own families first, and a weight slider over the weights the family
has. Faces load only when used; the assistant's page snapshot embeds only the
faces a page draws, the service worker installs only the latin files of the
original seven families, and the faces of an opened book are cached for
offline use. BOOK_SCHEMA_REV goes to 2.
2026-10-23 21:01:29 +02:00

32 lines
1.4 KiB
TypeScript

import type { TranslationStrings } from '../types';
/** The Studio's typeface picker and its weights. */
const studioFonts: TranslationStrings = {
'journey.studio.fonts.change': '서체 변경',
'journey.studio.fonts.search': '서체 검색',
'journey.studio.fonts.list': '서체',
'journey.studio.fonts.used': '이 책에서 사용 중',
'journey.studio.fonts.none': '일치하는 서체가 없습니다',
'journey.studio.fonts.range': '{from}~{to}',
'journey.studio.fonts.cat.sans': '산세리프',
'journey.studio.fonts.cat.serif': '세리프',
'journey.studio.fonts.cat.elegant': '우아한 제목용',
'journey.studio.fonts.cat.condensed': '좁은 폭과 포스터',
'journey.studio.fonts.cat.retro': '굵은 레트로',
'journey.studio.fonts.cat.script': '필기체와 손글씨',
'journey.studio.fonts.cat.mono': '고정폭',
'journey.studio.weight.100': '씬',
'journey.studio.weight.200': '엑스트라라이트',
'journey.studio.weight.300': '라이트',
'journey.studio.weight.400': '레귤러',
'journey.studio.weight.500': '미디엄',
'journey.studio.weight.600': '세미볼드',
'journey.studio.weight.700': '볼드',
'journey.studio.weight.800': '엑스트라볼드',
'journey.studio.weight.900': '블랙',
'journey.studio.weightOnly': '굵기 하나만 제공',
'journey.studio.italicSlanted': '기울임(경사): 이 서체에는 자체 이탤릭이 없습니다',
};
export default studioFonts;