Replies: 1 comment
-
If you ship a TTF font to the client, then MapLibre needs to build a mechanism to block on the browser Fonts API until it knows that font is successfully loaded. I did such a thing here: https://github.com/protomaps/protomaps-leaflet/blob/main/src/task.ts#L7 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@bdon's pull request on doubling the resolution of locally rasterized glyphs #3006 made me wonder how else we could use the approach of generating SDFs in the client rather than on a server. This discussion is to collect some ideas...
Beta Was this translation helpful? Give feedback.
All reactions