Skip to content

Update font data #80756

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
106 changes: 92 additions & 14 deletions packages/font/src/google/font-data.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
{
"42dot Sans": {
"weights": ["300", "400", "500", "600", "700", "800", "variable"],
"styles": ["normal"],
"axes": [
{
"tag": "wght",
"min": 300,
"max": 800,
"defaultValue": 400
}
],
"subsets": ["latin"]
},
"ABeeZee": {
"weights": ["400"],
"styles": ["normal", "italic"],
Expand Down Expand Up @@ -2729,6 +2716,37 @@
"styles": ["normal"],
"subsets": ["latin", "latin-ext", "malayalam"]
},
"Chiron Sung HK": {
"weights": [
"200",
"300",
"400",
"500",
"600",
"700",
"800",
"900",
"variable"
],
"styles": ["normal", "italic"],
"axes": [
{
"tag": "wght",
"min": 200,
"max": 900,
"defaultValue": 400
}
],
"subsets": [
"cyrillic",
"cyrillic-ext",
"greek",
"latin",
"latin-ext",
"symbols2",
"vietnamese"
]
},
"Chivo": {
"weights": [
"100",
Expand Down Expand Up @@ -5248,8 +5266,27 @@
"subsets": ["cyrillic-ext", "latin", "latin-ext", "vietnamese"]
},
"Hanuman": {
"weights": ["100", "300", "400", "700", "900"],
"weights": [
"100",
"200",
"300",
"400",
"500",
"600",
"700",
"800",
"900",
"variable"
],
"styles": ["normal"],
"axes": [
{
"tag": "wght",
"min": 100,
"max": 900,
"defaultValue": 400
}
],
"subsets": ["khmer", "latin"]
},
"Happy Monkey": {
Expand Down Expand Up @@ -5465,6 +5502,11 @@
],
"subsets": ["latin", "latin-ext", "vietnamese"]
},
"Huninn": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["cyrillic", "latin", "latin-ext", "vietnamese"]
},
"Hurricane": {
"weights": ["400"],
"styles": ["normal"],
Expand Down Expand Up @@ -6569,6 +6611,19 @@
"styles": ["normal"],
"subsets": ["cyrillic", "cyrillic-ext", "devanagari", "latin", "latin-ext"]
},
"LXGW Marker Gothic": {
"weights": ["400"],
"styles": ["normal"],
"subsets": [
"cyrillic",
"cyrillic-ext",
"greek",
"latin",
"latin-ext",
"symbols2",
"vietnamese"
]
},
"LXGW WenKai Mono TC": {
"weights": ["300", "400", "700"],
"styles": ["normal"],
Expand Down Expand Up @@ -7607,6 +7662,19 @@
"styles": ["normal", "italic"],
"subsets": ["latin"]
},
"Matangi": {
"weights": ["300", "400", "500", "600", "700", "800", "900", "variable"],
"styles": ["normal"],
"axes": [
{
"tag": "wght",
"min": 300,
"max": 900,
"defaultValue": 400
}
],
"subsets": ["devanagari", "latin", "latin-ext"]
},
"Mate": {
"weights": ["400"],
"styles": ["normal", "italic"],
Expand Down Expand Up @@ -16458,6 +16526,16 @@
"styles": ["normal"],
"subsets": ["latin", "latin-ext", "vietnamese"]
},
"WDXL Lubrifont JP N": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["cyrillic", "latin", "latin-ext", "symbols2"]
},
"WDXL Lubrifont SC": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["cyrillic", "latin", "latin-ext", "symbols2"]
},
"WDXL Lubrifont TC": {
"weights": ["400"],
"styles": ["normal"],
Expand Down
140 changes: 117 additions & 23 deletions packages/font/src/google/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,6 @@ import type {
NextFontWithVariable,
Display,
} from '../types'
export declare function _42dot_Sans<
T extends CssVariable | undefined = undefined,
>(options?: {
weight?:
| '300'
| '400'
| '500'
| '600'
| '700'
| '800'
| 'variable'
| Array<'300' | '400' | '500' | '600' | '700' | '800'>
style?: 'normal' | Array<'normal'>
display?: Display
variable?: T
preload?: boolean
fallback?: string[]
adjustFontFallback?: boolean
subsets?: Array<'latin'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function ABeeZee<
T extends CssVariable | undefined = undefined,
>(options: {
Expand Down Expand Up @@ -4676,6 +4656,36 @@ export declare function Chilanka<
adjustFontFallback?: boolean
subsets?: Array<'latin' | 'latin-ext' | 'malayalam'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Chiron_Sung_HK<
T extends CssVariable | undefined = undefined,
>(options?: {
weight?:
| '200'
| '300'
| '400'
| '500'
| '600'
| '700'
| '800'
| '900'
| 'variable'
| Array<'200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'>
style?: 'normal' | 'italic' | Array<'normal' | 'italic'>
display?: Display
variable?: T
preload?: boolean
fallback?: string[]
adjustFontFallback?: boolean
subsets?: Array<
| 'cyrillic'
| 'cyrillic-ext'
| 'greek'
| 'latin'
| 'latin-ext'
| 'symbols2'
| 'vietnamese'
>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Chivo<
T extends CssVariable | undefined = undefined,
>(options?: {
Expand Down Expand Up @@ -8964,14 +8974,21 @@ export declare function Hanken_Grotesk<
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Hanuman<
T extends CssVariable | undefined = undefined,
>(options: {
weight:
>(options?: {
weight?:
| '100'
| '200'
| '300'
| '400'
| '500'
| '600'
| '700'
| '800'
| '900'
| Array<'100' | '300' | '400' | '700' | '900'>
| 'variable'
| Array<
'100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'
>
style?: 'normal' | Array<'normal'>
display?: Display
variable?: T
Expand Down Expand Up @@ -9361,6 +9378,18 @@ export declare function Hubot_Sans<
subsets?: Array<'latin' | 'latin-ext' | 'vietnamese'>
axes?: 'wdth'[]
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Huninn<
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' | 'vietnamese'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Hurricane<
T extends CssVariable | undefined = undefined,
>(options: {
Expand Down Expand Up @@ -11533,6 +11562,26 @@ export declare function Kurale<
'cyrillic' | 'cyrillic-ext' | 'devanagari' | 'latin' | 'latin-ext'
>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function LXGW_Marker_Gothic<
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'
| 'cyrillic-ext'
| 'greek'
| 'latin'
| 'latin-ext'
| 'symbols2'
| 'vietnamese'
>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function LXGW_WenKai_Mono_TC<
T extends CssVariable | undefined = undefined,
>(options: {
Expand Down Expand Up @@ -13288,6 +13337,27 @@ export declare function Marvel<
adjustFontFallback?: boolean
subsets?: Array<'latin'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Matangi<
T extends CssVariable | undefined = undefined,
>(options?: {
weight?:
| '300'
| '400'
| '500'
| '600'
| '700'
| '800'
| '900'
| 'variable'
| Array<'300' | '400' | '500' | '600' | '700' | '800' | '900'>
style?: 'normal' | Array<'normal'>
display?: Display
variable?: T
preload?: boolean
fallback?: string[]
adjustFontFallback?: boolean
subsets?: Array<'devanagari' | 'latin' | 'latin-ext'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Mate<
T extends CssVariable | undefined = undefined,
>(options: {
Expand Down Expand Up @@ -27276,6 +27346,30 @@ export declare function Vujahday_Script<
adjustFontFallback?: boolean
subsets?: Array<'latin' | 'latin-ext' | 'vietnamese'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function WDXL_Lubrifont_JP_N<
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 WDXL_Lubrifont_SC<
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 WDXL_Lubrifont_TC<
T extends CssVariable | undefined = undefined,
>(options: {
Expand Down
Loading