Skip to content

Commit

Permalink
🎨 Update fonts (#13228)
Browse files Browse the repository at this point in the history
  • Loading branch information
TCOTC authored Nov 22, 2024
1 parent 1ac8cbe commit 1ca0fbc
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)

This Font Software is licensed under the SIL Open Font License, Version 1.1.

This license is copied below, and is also available with a FAQ at: https://scripts.sil.org/OFL
This license is copied below, and is also available with a FAQ at:
https://scripts.sil.org/OFL


-----------------------------------------------------------
Expand All @@ -18,7 +18,7 @@ with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Copyright 2021-2023 LXGW (https://github.com/lxgw/LxgwWenKai)
Copyright 2021-2024 LXGW (https://github.com/lxgw/LxgwWenKai)
Copyright 2020 The Klee Project Authors (https://github.com/fontworks-fonts/Klee)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
https://openfontlicense.org


-----------------------------------------------------------
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion app/src/assets/scss/component/_typography.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@font-face {
font-family: 'JetBrainsMono-Regular';
src: url(../fonts/JetBrainsMono-1.0.3/JetBrainsMono-Regular.woff) format('woff');
src: url(../fonts/JetBrainsMono-2.304/JetBrainsMono-Regular.woff2) format('woff2');
}

.b3-typography,
Expand Down
2 changes: 1 addition & 1 deletion kernel/model/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -1076,7 +1076,7 @@ func processPDFWatermark(pdfCtx *pdfcpu.Context, watermark bool) {
desc = descBuilder.String()
desc = desc[:len(desc)-1]

fontPath := filepath.Join(util.AppearancePath, "fonts", "LxgwWenKai-Lite-1.311", "LXGWWenKaiLite-Regular.ttf")
fontPath := filepath.Join(util.AppearancePath, "fonts", "LxgwWenKai-Lite-1.501", "LXGWWenKaiLite-Regular.ttf")
err := api.InstallFonts([]string{fontPath})
if err != nil {
logging.LogErrorf("install font [%s] failed: %s", fontPath, err)
Expand Down

0 comments on commit 1ca0fbc

Please sign in to comment.