Page 1 of 1

Problem displaying special characters in Java operation

Posted: Wed Sep 23, 2015 5:28 pm
by fhorn
Hello,

in our project we use the Java operation InsertRegisterAttributeOperation
(https://github.com/telota/ediarum/wiki/ ... -operation) for an action in
our framework, the Java operation is part of ediarum.jar.

The operation is used to open a dialogue where the user can select an
entry from an index file. I discovered the problem that some special
characters were not displayed correctly in the select list, they were
replaced with a square.

Here are some examples ł (ł), ğ (ğ) and Ḳ (Ḳ).

The characters are displayed correctly in editor, in author as well as
text mode. I set a font able to render the special characters in the
"Font preferences" (Arial and Tahoma).

This might be a rather specific question and of course, the Java operations
from the archive ediarum.jar weren't developd by the oXygen team. Maybe you
have some hints?

Regards
Franziska

Re: Problem displaying special characters in Java operation

Posted: Wed Sep 23, 2015 5:39 pm
by Radu
Hi Franziska,

You should probably try to set a certain font also on the List used to show the entries in the dialog.
Someting like:

Code: Select all

list.setFont(new Font("Arial", Font.PLAIN, 12))


Regards,
Radu

Re: Problem displaying special characters in Java operation

Posted: Wed Sep 23, 2015 6:04 pm
by fhorn
Hello Radu,

thank you very much for your quick response,
we will try that out.

Regards
Franziska