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

Subscript unicode values not set #273

Open
2 tasks done
mwyschan opened this issue Apr 10, 2023 · 1 comment
Open
2 tasks done

Subscript unicode values not set #273

mwyschan opened this issue Apr 10, 2023 · 1 comment
Labels
Needs: Confirmation We need to confirm that this is an issue Status: Triage We're triaging this issue and grooming if necessary Type: Bug A problem in the code

Comments

@mwyschan
Copy link

Describe the bug

Specifically referring to subscript glyphs with unicode 2080-2089, which are named zero.subs to nine.subs, but have no unicode value.

This is also inconsistent with superscript glyphs with unicode 2070-2079, which are named uni2070 to uni2079, but have the correct unicode value set.

Steps to reproduce the bug

Inspect subscript glyphs U+2080 to U+2089

Expected Behavior

Subscript glyphs U+2080 to U+2089 should have correct unicode values set.

Related code

No response

Screenshots

From fontdrop.info:
image
image

System setup

  • Public Sans v2.001

Additional context

No response

Code of Conduct

@mwyschan mwyschan added Needs: Confirmation We need to confirm that this is an issue Status: Triage We're triaging this issue and grooming if necessary Type: Bug A problem in the code labels Apr 10, 2023
@ewagoner
Copy link

This appears to be the case for all the digit glyphs, not just subscripts. For example, only three.glyph has a unicode parameter: <unicode hex="0033"/> and if you inspect any of the variations on three they all show a unicode value of 0033.

As a result, the browser falls back to other installed fonts to display those numeric glyphs and if there are no other fonts, the .notdef slashed rectangle is displayed. Unfortunately, that's the situation I'm in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Confirmation We need to confirm that this is an issue Status: Triage We're triaging this issue and grooming if necessary Type: Bug A problem in the code
Projects
Status: Needs refinement
Development

No branches or pull requests

2 participants