Symbol works fine in English locale but disappears in Turkish locale

Article ID: 2405
Last updated: 29 May, 2018
Article ID: 2405
Last updated: 29 May, 2018
Revision: 3
Views: 449
Posted: 31 May, 2011
by Dean J.
Updated: 29 May, 2018
by Gargani A.

Question

Why does my symbol disappear when the system locale is set to Turkish?

Answer

This is because the symbol uses a font style with letter i whose upper case form is not I in Turkish. While rendering the symbol, JViews always performs a toUpperCase() on the font style before doing font comparisons. As a result, the upper case form of plain or italic in Turkish is not a valid font style. This also causes anIllegalArgumentException when create a compiled symbol:

java.lang.IllegalArgumentException: Arial-plain-12
at ilog.views.util.beans.editor.IlvFontPropertyEditor.setAsText
(Unknown Source)
...

This problem is resolved in JViews 8.7.

To workaround this problem in JViews 8.6 and earlier versions, change the font style to upper case when it contains letter i, for example: Arial-PLAIN-12 or Arial-ITALIC-12.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2405
Last updated: 29 May, 2018
Revision: 3
Views: 449
Posted: 31 May, 2011 by Dean J.
Updated: 29 May, 2018 by Gargani A.
Also listed in


Others in this category