Show typographically correct sharp symbol in the UI and accept it when finding frequency#291
Show typographically correct sharp symbol in the UI and accept it when finding frequency#291maximal wants to merge 3 commits into
Conversation
… finding frequency
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
…is not Unicode-safe
|
The symbol |
|
@zsliu98, I made the You can use it, if you like: for (char& c : note_part) {
if (c >= 'a' && c <= 'g') {
c = static_cast<char>(std::toupper(static_cast<unsigned char>(c)));
}
}
int note_index = -1;
for (int i = 0; i < static_cast<int>(kNoteNames.size()); ++i) {
if (
kNoteNames[static_cast<size_t>(i)] == note_part ||
kNoteNamesAlt[static_cast<size_t>(i)] == note_part
) {
note_index = i;
break;
}
} |
Thanks for testing that. I can also see that in Figma. But in Google Font page it shows as not supported: https://fonts.google.com/specimen/Inter?specimen.preview.text=%E2%99%AF I need to find out where they are not consistent with each other ... |
|
I can confirm that Fimga seems to use a fallback font silently (or a customized Inter font?), both on the webpage https://www.figma.com/fonts/inter/ and the app. |


Description
Use typographically correct C♯, D♯, F♯, G♯, A♯ alongside the simplified C#, D#, F#, G#, A# variants.
Acknowledgments
By submitting this pull request, I acknowledge and confirm the following: