I've noticed nice improvement for unicode font sup...
# compose-web
p
I've noticed nice improvement for unicode font support (Compose 1.12.0-alpha02) https://youtrack.jetbrains.com/issue/CMP-10104/Font-Fallback-in-Compose-Web Is it possible to configure server distribution to include needed fonts in server bundle and web client build to fetch fonts from server custom url (now it is fetching from fonts.gstatic.com)? It is needed, for example, in local network where global internet access is blocked.
k
It was possible and before. As a regular font resource
p
Hello, Konstantin! Can you provide some example of such configuring?
I mean to configure the same logic to fetch only needed chunks of symbols when needed but from custom location (better bundled with server) and not from fonts.gstatic.com
k
You can set custom location via the resources configuration. And prepare chunks. But a logic how and when to load them you have to implement by your own. It depends on the app logic
p
It would be nice to have this new improvement with custom url configuration out of the box (some Gradle config parameter). Anyway thanks for such new logic!
k
Could you create a new issue with an explanation of your case?
And I have to mention. This is web only feature. It won't be implemented for other platforms. So, I am not sure this customization will be implemented
We already have a feature request to support downloadable fonts. This is different and out-of-scope
The feature is about a rendering unknown symbols. Not about custom fonts
p
Yes. I understand all your points. I just need for web target to configure url (path of current server the page was loaded from) from which these unknown fonts will be fetched lazily by the same algorithm. I'll create an issue soon.
k
Correct me if I'm wrong. If you control your private network, then it's possible to redirect fonts call, isn't it? (and to have custom SSL certificates)
p
Right! But in such case relation with infra added. Want to avoid extra configurations, just one server self hosted distribution and it works.