I have run uicode demo java front end both window and Linux.
in unisimple.ijs

font=: IFUNIX pick '"Arial" 14' ; '"Kochi Mincho" 14'

change IFUNIX to IFJAVA will allow Chinese font in both window and linux.
interestly, swedish is not displayed properly on my PC. Any confirmation from Swedish member?

in sysenv.ijs, the definition of would be UNIFONT is missing which is used in unicode.ijs
if. IFJAVA do.
  if. notdef 'FIXFONT' do. FIXFONT=: 'monospaced 12' end.
  if. notdef 'PROFONT' do. PROFONT=: 'sansserif 10' end.
  if. notdef 'UNIFONT' do. UNIFONT=: '"Kochi Mincho" 14' end.
else.
  if. notdef 'FIXFONT' do. FIXFONT=: '"Courier New" 12' end.
  if. notdef 'PROFONT' do. PROFONT=: '"MS Sans Serif" 8' end.
  if. notdef 'UNIFONT' do. UNIFONT=: '"Courier New" 12' end.
end.

unicode.ijs
fontspec is not set using wd commands so that correct font has to be setup in session's configuration to display chinese font.

the plot graph does not display chinese font I don't know how to solve it, but I tried adding 2 lines to see some Chinese font displayed.

pd 'title ',PLOTTITLE__loc
pd PLOTDATA__loc
pd 'textfont "Kochi Mincho" 26 bold italic'
pd 'textc 500 _20x J Plot沒有問題'

Also characters (monospace of same size) in J's java front end appear to be smaller than that in Linux text editor.

Also is there any plan to restore printer and paper handling wd command?

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to