Skip to content

[Feat]: make the fonts as an asset #1677

Open
@lublak

Description

@lublak
Contributor

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.

Activity

FalkWolsky

FalkWolsky commented on Jun 2, 2025

@FalkWolsky
Contributor

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

lublak commented on Jun 2, 2025

@lublak
ContributorAuthor

@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.

moved this to 📋 Backlog in Lowcoderon Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Projects

Status

📋 Backlog

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @FalkWolsky@raheeliftikhar5@lublak

    Issue actions

      [Feat]: make the fonts as an asset · Issue #1677 · lowcoder-org/lowcoder