WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Java Fonts  (Read 2048 times)

Offline jconnor

  • Newbie
  • *
  • Posts: 29
Java Fonts
« on: July 03, 2012, 06:27:01 PM »
I would like to run a Java 6 app on TCL.  When testing this app I found that the fonts used on Microsoft machines look different than the fonts on TCL.  The application needs consistent fonts between Windows and Tiny Core.  The font that is used by Java is the "Dialog" font.  My understanding is that this is not really an actual font but more of an alias to OS installed fonts.  In Ubuntu I was able to install mscorefonts and this resolved the issue.  However, I am not sure how to do this with TCL.  I believe that it is more than just downloading the fonts from SorceForge.  I believe that the fontconfigs have to be setup also in /etc/local/sun-java/jre/lib, but am not sure where how to do this correctly.

If anyone has gone through this exercise and is willing to give me a step by step I would greatly appreciate it.

Thanks!

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Java Fonts
« Reply #1 on: July 04, 2012, 06:55:51 AM »
there is a msttcorefonts-installer in scripting forums but it is a bit outdated
http://forum.tinycorelinux.net/index.php/topic,4297.msg22511.html#msg22511

you need to edit and make the following changes

Code: [Select]
< TCEDIR=`cat /opt/.tce_dir`
> TCEDIR=/etc/sysconfig/tcedir

also load dependencies: wget, coreutils, cabextract, squashfs-tools-4.x
« Last Edit: July 04, 2012, 06:57:45 AM by Arslan S. »

Offline jconnor

  • Newbie
  • *
  • Posts: 29
Re: Java Fonts
« Reply #2 on: July 17, 2012, 02:11:41 PM »
I did find the msttcorefonts-installer.tcz in the apps browser.  I installed it, but I don't see any changes in fonts.  I am assuming that there are several more steps in the process that I am missing.

thanks

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Java Fonts
« Reply #3 on: July 17, 2012, 02:23:46 PM »
yea there is one more step: run msttcorefonts-installer in a terminal ;)

it will download mstt core fonts and create an extension and put it in your tce folder. you need to add it to your onboot.lst for persistency.