-
Notifications
You must be signed in to change notification settings - Fork 231
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
Problem displaying Unicode characters in Protege look-and-feel #714
Comments
Thank you. My company's firewall may well have something to do with the upload failure. Here's the description I'd wanted to write. In the screenshot, the class name appears in two places: in the hierarchy, and in the label above the hierarchy. The first place displays it correctly, but in the label the "ffi" ligature appears as an empty rectangle. |
Here is the whole thread on the mailing list, which provides more details: |
Thanks a lot @swartik. Hmmm okay. I changed the font for the render to use the font that JTextArea uses to be sure it was on the platform. Previously, it was Verdana, but on Windows this doesn't include some unicode characters that are needed for Chinese. The breadcrumb trail is actually, "Dialog", Plain, 11, which I think maps to Arial on Windows, as far as I can tell. |
@swartik I've fixed the rendering problem in the class hierarch, I think (for the next beta). However, do the boxes show in the view title if the Look & Feel is set to the Windows Look & Feel? |
@matthewhorridge Here's the Windows Look & Feel screenshot. The two text strings on the right are correct. The only place I see a problem is in the class hierarchy. |
Thanks a lot @swartik I think we've finally nailed down the problem. If you have a moment, please could you try the beta-9 snapshot build? It's here: It's a bare bones build, i.e. no plugins. |
@matthewhorridge Good work. I downloaded the snapshot build and verified that the ligature characters display correctly in all 3 look-and-feels. |
@swartik thanks so much for testing this. Really glad to hear that it works with all L&F. I'll mark this as fixed and close the issue. |
I have an ontology with class names that contain the fi and ffi ligatures. When the look-and-feel is set to Protege, these ligatures aren't always displayed properly. I am running Windows 7, Java 8 (1.8.0_144). Csongor Nyulas has tested the ontology on Ubuntu and didn't observe the erroneous display, so the problem must be Windows-specific.
I wanted to illustrate the problem by uploading an image, but github wouldn't let me. In the protege-dev mailing list (September 2017), see the thread with the subject "Question on Protege's Unicode character rendering".
The text was updated successfully, but these errors were encountered: