Re: Good looking fonts in Java apps
Thanks to everyone for the suggestions .. B. On Wed, Jul 19, 2017 at 11:48 AM, Stuart Hendersonwrote: > On 2017-07-18, Bryan Linton wrote: > > On 2017-07-19 06:39:04, Bernard Mentink wrote: > >> Thank Bryan, > >> > >> I guess that would have to go in .kshrc? I think that is the default > shell > >> for OpenBSD right? > >> > > > > It would depend on the shell you're actually using. If you > > haven't installed or aren't using another shell, then .kshrc is > > what you would want. > > .kshrc is not read automatically, if you want to use it you must > "export ENV=$HOME/.kshrc" or similar in .profile / /etc/profile. > > >
Re: Good looking fonts in Java apps
On 2017-07-18, Bryan Lintonwrote: > On 2017-07-19 06:39:04, Bernard Mentink wrote: >> Thank Bryan, >> >> I guess that would have to go in .kshrc? I think that is the default shell >> for OpenBSD right? >> > > It would depend on the shell you're actually using. If you > haven't installed or aren't using another shell, then .kshrc is > what you would want. .kshrc is not read automatically, if you want to use it you must "export ENV=$HOME/.kshrc" or similar in .profile / /etc/profile.
Re: Good looking fonts in Java apps
On 2017-07-19 06:39:04, Bernard Mentinkwrote: > Thank Bryan, > > I guess that would have to go in .kshrc? I think that is the default shell > for OpenBSD right? > It would depend on the shell you're actually using. If you haven't installed or aren't using another shell, then .kshrc is what you would want. You could also try temporarily testing this by opening an xterm (or whatever terminal program you prefer) and setting that environment variable, and then launching your browser from within the terminal so it picks up the new environment variable. If it fixes the fonts, then you can set it permanently by putting that line in .kshrc. -- Bryan
Re: Good looking fonts in Java apps
Thank Bryan, I guess that would have to go in .kshrc? I think that is the default shell for OpenBSD right? Cheers, Bernie On Tue, Jul 18, 2017 at 8:37 PM, Bryan Lintonwrote: > On 2017-07-18 13:19:27, Bernard Mentink wrote: > > Hi Guys, > > > > I am running a Java app launched by javaws (IcedTea-web) and am finding > the > > fonts terrible, does anyone know how I can get better anti-aliased fonts? > > > > I don't know about javaws, but for regular stand-alone Java > applications I had to use the following to get fonts that were > anywhere close to readable. > > export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on' > > I added it to the shell-script running the program itself. You > may need to put this in your .${SHELL}rc file (.kshrc, .zshrc, > .bashrc, etc.) instead if this is running inside of your browser. > > If it doesn't work, hopefully it will at least give you a good > starting point to try other things. > > -- > Bryan > >
Re: Good looking fonts in Java apps
On 2017-07-18 13:19:27, Bernard Mentinkwrote: > Hi Guys, > > I am running a Java app launched by javaws (IcedTea-web) and am finding the > fonts terrible, does anyone know how I can get better anti-aliased fonts? > I don't know about javaws, but for regular stand-alone Java applications I had to use the following to get fonts that were anywhere close to readable. export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on' I added it to the shell-script running the program itself. You may need to put this in your .${SHELL}rc file (.kshrc, .zshrc, .bashrc, etc.) instead if this is running inside of your browser. If it doesn't work, hopefully it will at least give you a good starting point to try other things. -- Bryan
Good looking fonts in Java apps
Hi Guys, I am running a Java app launched by javaws (IcedTea-web) and am finding the fonts terrible, does anyone know how I can get better anti-aliased fonts? I have installed all the good ttf fonts from Google (Noto, Droid, Freetype etc ) which have made my Gnome3 desktop a bit nicer, it is really just Java apps now .. On the same issue, IcedTea seems to run my app very slowly, at lease compared to Oracle javaws on Linux, any helpers there would also be appreciated. Cheers, Bernie