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

Bug - Backticks do not display properly with Noto Sans font #2455

Open
akselsoft opened this issue Dec 17, 2024 · 1 comment
Open

Bug - Backticks do not display properly with Noto Sans font #2455

akselsoft opened this issue Dec 17, 2024 · 1 comment

Comments

@akselsoft
Copy link

akselsoft commented Dec 17, 2024

In any text box or text area element, entering a back-tick (character `) results in a single back-tick being displayed and treated almost as an accent or display fault.

This can be sourced down to something in the CSS file and was not present in earlier versions of the theme (possibly directly related to wet-boew). We have a site using wet-boew version 5 that did not exhibit this behavior. However, as far back as version 11 (2022) using the GCWeb stylesheet, it occurs

The problem is apparently with the Noto Sans web font. The workaround is to NOT use this font. But is there a recommended alternative font?

To Reproduce

  1. Go to '...'
  2. Go to the Search box.
  3. Enter a backtick (`) multiple times.

Observed: Tick is only shown once and
Expected: Tick should be shown as entered.

image

Current behaviour

The backtick is only displayed once OR it appears as an overlay.

Expected behaviour

Multiple back-ticks should appear.

Screenshots and/or logs

Screen shot appears above but here is one on the Canada.ca site.
image

@akselsoft
Copy link
Author

I was also able to resolve this by explicitly telling the style sheet to get a different version of the font:
@import url('https://fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic,700italic&subset=latin,latin-ext');

So there is something that is pulling the wrong version of the font that is causing this issue.

@akselsoft akselsoft changed the title Bug - Backticks do not display properly Bug - Backticks do not display properly with Noto Sans font Dec 18, 2024
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