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

Issue with G3 special character set #11

Closed
DanielBujnik opened this issue Sep 7, 2023 · 2 comments
Closed

Issue with G3 special character set #11

DanielBujnik opened this issue Sep 7, 2023 · 2 comments

Comments

@DanielBujnik
Copy link

I have been having an issue with displaying a quaver (music note) using Latin schema. A peek into the code shows that the implementation of kLatinSpecialTable does not match the way its index is being calculated in HandleGLGR, where for GraphicSet::kLatinSpecial case we have:

uint32_t index = (uint32_t)ch - 0x21;

So, for ch = 0x21 we will get 0x0021, while we should get 0x266a according to ABNT 15608-3

@xqq
Copy link
Owner

xqq commented Sep 9, 2023

@DanielBujnik
Thank you for your bug report. I have tried to fix it in 9917cb3

@DanielBujnik
Copy link
Author

Many thanks for prompt fix @xqq.

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

2 participants