| | | | Browse by category |
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
.