Problem displaying special characters in Java operation
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 18
- Joined: Mon Dec 09, 2013 7:47 pm
Problem displaying special characters in Java operation
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
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
-
- Posts: 9470
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Problem displaying special characters in Java operation
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:
Regards,
Radu
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))
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service