Hello, I wish to thank developers for the great app.
Some fonts and cyrillic symbols are indeed displayed correctly. This is because fonts are built
into the VM. I.e. we are not using external fonts mainly due to performance reasons. Basically,
we translate a subset of fonts as ASCII art that gets translated into C code and this code
gets compiled into the VM.
Doing the ASCII art for all unicode characters will increase the size of the VM significantly.
That is why only a limited subset is included (e.g. the first 127 ASCII characters)
and not all possible unicode characters. The font subsystem may need to be changed to
use native font support and hence allow all non-ASCII characters.
I need cyrillic symbols too. It is possible to extend the symbol set of the VM? Maybe I can do this and send the results back - But I have no build environment so is it enough to edit the svg files?
Sorry, I have read your last post again and now I understand that the font isn't displayed from the defaultFont.svg (which is included in the lib folder of the binary package), instead it is somehow transcoded to the source during or before the build.
Actually, the transcoding does not use the defaultFont.svg file but uses truetype fonts directly.
The defaultFont.svg is based on the BitStream Vera font to render a subset of characters for
applications that make use of the jsr 226 package. This subset is also limited:
-upper and lower case characters
-some symbols from the ASCII character set (#$!,= etc)
So you would not have Russian symbols support with this font either.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.