Skip to content

Include font from Font Awesome 6#3631

Merged
sbrunner merged 1 commit into3.31from
fontawesome6
May 27, 2025
Merged

Include font from Font Awesome 6#3631
sbrunner merged 1 commit into3.31from
fontawesome6

Conversation

@sbrunner
Copy link
Copy Markdown
Member

@sbrunner sbrunner commented May 22, 2025

I renamed font-awesome to font-awesome-5 to have a coherent way to add font-awesome-6!

See also: GSGMF-2167

@sbrunner sbrunner requested a review from Copilot May 22, 2025 13:38
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new test resource JSON file to demonstrate the usage of Font Awesome 6 icons for map styling.

  • Introduces a JSON configuration with multiple feature styles ("free", "free2", "brands") for Font Awesome icon rendering.
  • Sets up properties such as layout, projection, dpi, and styling details for each feature type.
Comments suppressed due to low confidence (1)

examples/src/test/resources/examples/simple/requestData-fontawesome-6.json:59

  • The label value '\uf0a4' is used in both the '[type = "free"]' and '[type = "free2"]' style blocks. Please verify if this duplication is intentional or if a different icon should be used for 'free2' to improve clarity.
                  "label": "\uf0a4",

@sbrunner sbrunner changed the base branch from master to 3.31 May 22, 2025 13:56
@sbrunner sbrunner force-pushed the fontawesome6 branch 3 times, most recently from d385002 to 07879a0 Compare May 22, 2025 14:41
@sbrunner sbrunner marked this pull request as ready for review May 22, 2025 15:18
@sbrunner sbrunner added the backport master Backport the pull request to the 'master' branch label May 22, 2025
@sbrunner sbrunner requested a review from sebr72 May 22, 2025 15:18
Copy link
Copy Markdown
Contributor

@sebr72 sebr72 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good. Thanks.

@sebr72
Copy link
Copy Markdown
Contributor

sebr72 commented May 26, 2025

@sbrunner Please add a comment in the description to explain the renaming of font-awesome to font-awesome-5. And confirm this won't introduce any regression or change of behaviour.

@sbrunner
Copy link
Copy Markdown
Member Author

I renamed font-awesome to font-awesome-5 to have a coherent way to add font-awesome-6!

In the test I do, I confirm that I didn't see any regressions :-)

@sbrunner sbrunner merged commit 59ddd4d into 3.31 May 27, 2025
10 checks passed
@sbrunner sbrunner deleted the fontawesome6 branch May 27, 2025 07:36
@c2c-bot-gis-ci-2 c2c-bot-gis-ci-2 removed the backport master Backport the pull request to the 'master' branch label May 27, 2025
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

Successfully merging this pull request may close these issues.

4 participants