Open
Description
Is your feature request related to a problem? Please describe.
Currently there are some links pointing to the google fonts api:
https://github.com/lowcoder-org/lowcoder/blob/main/client/packages/lowcoder/src/pages/editor/editorView.tsx#L563
https://github.com/lowcoder-org/lowcoder/blob/main/client/packages/lowcoder/src/pages/editor/editorView.tsx#L612
https://github.com/lowcoder-org/lowcoder/blob/main/client/packages/lowcoder/src/app.tsx#L292
Describe the solution you'd like
It would be nice to use the fonts in a offline workload (assets).
Describe alternatives you've considered
Use a default browser font without the need of any font file.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
📋 Backlog
Activity
FalkWolsky commentedon Jun 2, 2025
Here we agree and disagree same time.
Background is this: Some users need privacy and therefore Google Fonts are a bad choice.
Some other people are ok with that but need fonts for branding or design reasons in apps.
We will double-check which good and especially "configurable" way we can offer, so we would neither exclude Google Fonts usage nor "force" it.
lublak commentedon Jun 2, 2025
@FalkWolsky okay. Yes the preconnect for Google fonts could be configurable. I understand your point here. (The Ubuntu font is still not used in the react app, so this line can be removed).
I think the best approach would be a costume "html" header.
We have an option to include custom CSS, so custom html could be a good option here. So the preconnect to Google fonts can be written here. Just as an idea.