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

Plot text with ascii extended characters #3

Open
GoogleCodeExporter opened this issue Jun 15, 2015 · 0 comments
Open

Plot text with ascii extended characters #3

GoogleCodeExporter opened this issue Jun 15, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Add title to a plot using ascii extended characters.
2. Display the plot. 

What is the expected output? What do you see instead?
The expected output is the title with the ascii extended characters and instead 
you get the title without any extended characters.

What version of the product are you using? On what operating system?
Current version on a windows XP.

Please provide any additional information below.
I made a change the to code and it seems to work.
I included a casting to a unsigned char in every call to glutBitmapCharacter 
("static_cast<unsigned char>(s[i])").
By doing this glutBitmapCharacter sees characters in the range expected (0 to 
255 not negative). 

Original issue reported on code.google.com by [email protected] on 5 Sep 2014 at 1:56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant