Skip to content

Update font data #79577

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

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 33 additions & 2 deletions packages/font/src/google/font-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
"Alef": {
"weights": ["400", "700"],
"styles": ["normal"],
"subsets": ["hebrew", "latin", "latin-ext"]
"subsets": ["hebrew", "latin"]
},
"Alegreya": {
"weights": ["400", "500", "600", "700", "800", "900", "variable"],
Expand Down Expand Up @@ -1630,8 +1630,16 @@
"subsets": ["latin", "latin-ext"]
},
"Baskervville": {
"weights": ["400"],
"weights": ["400", "500", "600", "700", "variable"],
"styles": ["normal", "italic"],
"axes": [
{
"tag": "wght",
"min": 400,
"max": 700,
"defaultValue": 400
}
],
"subsets": ["latin", "latin-ext"]
},
"Baskervville SC": {
Expand Down Expand Up @@ -6141,6 +6149,19 @@
],
"subsets": ["khmer", "latin", "latin-ext"]
},
"Kapakana": {
"weights": ["300", "400", "variable"],
"styles": ["normal"],
"axes": [
{
"tag": "wght",
"min": 300,
"max": 400,
"defaultValue": 400
}
],
"subsets": ["latin", "latin-ext"]
},
"Karantina": {
"weights": ["300", "400", "700"],
"styles": ["normal"],
Expand Down Expand Up @@ -10341,6 +10362,11 @@
"vietnamese"
]
},
"Noto Serif Dives Akuru": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["dives-akuru", "latin", "latin-ext"]
},
"Noto Serif Dogra": {
"weights": ["400"],
"styles": ["normal"],
Expand Down Expand Up @@ -16235,6 +16261,11 @@
"styles": ["normal"],
"subsets": ["latin", "latin-ext", "vietnamese"]
},
"WDXL Lubrifont TC": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["cyrillic", "latin", "latin-ext", "symbols2"]
},
"Waiting for the Sunrise": {
"weights": ["400"],
"styles": ["normal"],
Expand Down
48 changes: 45 additions & 3 deletions packages/font/src/google/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ export declare function Alef<
preload?: boolean
fallback?: string[]
adjustFontFallback?: boolean
subsets?: Array<'hebrew' | 'latin' | 'latin-ext'>
subsets?: Array<'hebrew' | 'latin'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Alegreya<
T extends CssVariable | undefined = undefined,
Expand Down Expand Up @@ -2705,8 +2705,14 @@ export declare function Basic<
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Baskervville<
T extends CssVariable | undefined = undefined,
>(options: {
weight: '400' | Array<'400'>
>(options?: {
weight?:
| '400'
| '500'
| '600'
| '700'
| 'variable'
| Array<'400' | '500' | '600' | '700'>
style?: 'normal' | 'italic' | Array<'normal' | 'italic'>
display?: Display
variable?: T
Expand Down Expand Up @@ -10729,6 +10735,18 @@ export declare function Kantumruy_Pro<
adjustFontFallback?: boolean
subsets?: Array<'khmer' | 'latin' | 'latin-ext'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Kapakana<
T extends CssVariable | undefined = undefined,
>(options?: {
weight?: '300' | '400' | 'variable' | Array<'300' | '400'>
style?: 'normal' | Array<'normal'>
display?: Display
variable?: T
preload?: boolean
fallback?: string[]
adjustFontFallback?: boolean
subsets?: Array<'latin' | 'latin-ext'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Karantina<
T extends CssVariable | undefined = undefined,
>(options: {
Expand Down Expand Up @@ -17569,6 +17587,18 @@ export declare function Noto_Serif_Display<
>
axes?: 'wdth'[]
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Noto_Serif_Dives_Akuru<
T extends CssVariable | undefined = undefined,
>(options: {
weight: '400' | Array<'400'>
style?: 'normal' | Array<'normal'>
display?: Display
variable?: T
preload?: boolean
fallback?: string[]
adjustFontFallback?: boolean
subsets?: Array<'dives-akuru' | 'latin' | 'latin-ext'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Noto_Serif_Dogra<
T extends CssVariable | undefined = undefined,
>(options: {
Expand Down Expand Up @@ -27054,6 +27084,18 @@ export declare function Vujahday_Script<
adjustFontFallback?: boolean
subsets?: Array<'latin' | 'latin-ext' | 'vietnamese'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function WDXL_Lubrifont_TC<
T extends CssVariable | undefined = undefined,
>(options: {
weight: '400' | Array<'400'>
style?: 'normal' | Array<'normal'>
display?: Display
variable?: T
preload?: boolean
fallback?: string[]
adjustFontFallback?: boolean
subsets?: Array<'cyrillic' | 'latin' | 'latin-ext' | 'symbols2'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Waiting_for_the_Sunrise<
T extends CssVariable | undefined = undefined,
>(options: {
Expand Down
Loading