mirror of
https://github.com/penpot/penpot.git
synced 2025-06-15 01:02:57 +02:00
⬆️ Update google fonts
This commit is contained in:
parent
f6fe41af96
commit
d2cd99ed44
5 changed files with 44794 additions and 37427 deletions
|
@ -82,6 +82,7 @@ A non exhaustive list of changes:
|
||||||
- Add styles for Inkeep Chat at workspace [Taiga #10708](https://tree.taiga.io/project/penpot/us/10708)
|
- Add styles for Inkeep Chat at workspace [Taiga #10708](https://tree.taiga.io/project/penpot/us/10708)
|
||||||
- Add configuration for air gapped installations with Docker
|
- Add configuration for air gapped installations with Docker
|
||||||
- Support system color scheme [Github #5030](https://github.com/penpot/penpot/issues/5030)
|
- Support system color scheme [Github #5030](https://github.com/penpot/penpot/issues/5030)
|
||||||
|
- Update google fonts (at 2025/05/19)
|
||||||
|
|
||||||
### :bug: Bugs fixed
|
### :bug: Bugs fixed
|
||||||
- Fix getCurrentUser for plugins api [Taiga #11057](https://tree.taiga.io/project/penpot/issue/11057)
|
- Fix getCurrentUser for plugins api [Taiga #11057](https://tree.taiga.io/project/penpot/issue/11057)
|
||||||
|
|
File diff suppressed because it is too large
Load diff
44791
frontend/resources/fonts/gfonts.2025.05.19.json
Normal file
44791
frontend/resources/fonts/gfonts.2025.05.19.json
Normal file
File diff suppressed because it is too large
Load diff
|
@ -26,7 +26,7 @@
|
||||||
(log/set-level! :info)
|
(log/set-level! :info)
|
||||||
|
|
||||||
(def google-fonts
|
(def google-fonts
|
||||||
(preload-gfonts "fonts/gfonts.2023.07.07.json"))
|
(preload-gfonts "fonts/gfonts.2025.05.19.json"))
|
||||||
|
|
||||||
(def local-fonts
|
(def local-fonts
|
||||||
[{:id "sourcesanspro"
|
[{:id "sourcesanspro"
|
||||||
|
|
|
@ -107,7 +107,7 @@
|
||||||
[font-id font-variant-id]
|
[font-id font-variant-id]
|
||||||
(let [variant (font-db-data font-id font-variant-id)]
|
(let [variant (font-db-data font-id font-variant-id)]
|
||||||
(if-let [ttf-url (:ttf-url variant)]
|
(if-let [ttf-url (:ttf-url variant)]
|
||||||
(str/replace ttf-url "http://fonts.gstatic.com/s/" (u/join cf/public-uri "/internal/gfonts/font/"))
|
(str/replace ttf-url "https://fonts.gstatic.com/s/" (u/join cf/public-uri "/internal/gfonts/font/"))
|
||||||
nil)))
|
nil)))
|
||||||
|
|
||||||
(defn- font-id->ttf-url
|
(defn- font-id->ttf-url
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue