Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple fonts in the text-font property array #117

Open
PetersonGIS opened this issue Apr 12, 2021 · 0 comments
Open

Support multiple fonts in the text-font property array #117

PetersonGIS opened this issue Apr 12, 2021 · 0 comments

Comments

@PetersonGIS
Copy link

Fresco should support the listing of multiple fonts in the text-font property. It does not throw an error when you attempt to do so but it will not render the tiles.

Here's what's happening in my use case:

This city label should show all the character glyphs so I want to add some fallback fonts:
usecase1

Currently the code just has one font listed:
usecase2

When I try to add another font so that I can add in some character glyphs, the tiles don't load:
usecase3

The console reports a 404. I believe it might be looking for a font with a name that has both of those names combined instead of looking for each individual font. As a workaround I have considered combining all the fonts I need into a single font. However, it looks like I may run into a limitation in terms of how many glyphs can be in a single font so it would be better if I could use Fresco to add in fallback fonts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant