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

Backport to 2022.02.xx ref to PR 9686 #9759

Conversation

mumairr
Copy link
Contributor

@mumairr mumairr commented Nov 27, 2023

Description

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Issue

#9686

What is the new behavior?

When passing custom fonts, an object with unique identifier is passed to check & restrict duplicate entries inside GeoStory plugin in edit mode

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes, and I documented them in migration notes
  • No

Other useful information

Provides backport support for version 2022.02.xx

Issue was only reproducible on Geonode MapStore Client due to async loading of GeoStory component

Custom fonts should be added to localconfig under GeoStory -> cfg:
{
"name": "GeoStory",
"cfg": {
"fontFamilies": [
{
"family": "Arial"
},
{
"family": "Georgia"
},
{
"family": "Impact"
},
{
"family": "Tahoma"
},
{
"family": "Times New Roman"
},
{
"family": "Titillium Web",
"src": "https://fonts.googleapis.com/css2?family=Titillium+Web"
},
{
"family": "Verdana"
}
]
}
}

@allyoucanmap allyoucanmap merged commit 5225012 into geosolutions-it:2022.02.xx Nov 28, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants