Skip to content

Conversation

@ltkum
Copy link
Contributor

@ltkum ltkum commented Mar 31, 2025

Issue : The getFontParameters function can return null, and the current implementation is not guaranteed to return an item. This cause issues when there are label that need to be printed.

Fix : We add the font size in the default font string (as it is necessary to the regex). We also ensure we have default values in case the regex within getFontParameters does not manage to parse anything (for example, it can't parse numbers in font names)

Issue : The `getFontParameters` function can return `null`, and the current
implementation is not guaranteed to return an item. This cause issues when there
are label that need to be printed.

Fix : We add the font size in the default font string (as it is necessary to the
regex). We also ensure we have default values in case the regex within `getFontParameters` does not manage to parse anything (for example, it can't parse numbers in font names)
@gberaudo gberaudo merged commit cf02beb into geoblocks:main Mar 31, 2025
1 check passed
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.

2 participants