Tiny Core Linux
Off-Topic => Archive / Obsolete => SCM EXtensions => Topic started by: SamK on February 15, 2013, 05:36:30 AM
-
dejavu-fonts-ttf.scm installed. The fonts are not available within opera9.scm. Upon installing dejavu-fonts-ttf.tcz, they are available to opera9.scm.
-
Have you got the fontconfig and libxft extensions installed?
-
Thanks for the revised SCM dated 2013/02/15. Updating to this fixes the issue.
-
I modified the dejavu-fonts-ttf.scm to work with apps that don't use gtk2.scm. Is this working without fontconfig.tcz installed? Gtk2.scm has it's own fontconfig, and I so far only get these fonts in opera9 with fontconfig.tcz installed. If this is the case, for now I can mention in the info file to install fontconfig.tcz to get full font access.
-
My initial tests of the newest dejavu-fonts-ttf.scm, and gtk2.scm were done on a system that had fontconfig.tcz installed, so they are not wholly valid.
Retest
TC v4.7.2 booted from CD-ROM (cloud mode) and apps downloaded as required.
dejavu-fonts-ttf.scm+opera9.scm=Dejavu not available
dejavu-fonts-ttf.scm+opera9.scm+gtk2.scm=Dejavu not available
dejavu-fonts-ttf.scm+opera9.scm+gtk2.scm+fontconfig.tcz=Dejavu available
...for now I can mention in the info file to install fontconfig.tcz to get full font access.
I'm not sure about this. It seems to negate the value of using the SCM. If fontconfig.tcz is required in order to use the fonts, one might as well also use dejavu-fonts-ttf.tcz and thereby have system-wide access to the fonts. Or have I missed your point?
-
Dejavu-fonts-ttf.scm is available system wide if fontconfig, whether as part of gtk2.scm or the tcz extension.. Gtk2.scm makes use of it's own fontconfig inside it's /apps/gtk2 directory, and opera9 should be able to do the same in /apps/opera9. It is not at the moment but I am likely missing something simple.
But here are going to be some instances where installing a tcz is needed to make use of an scm app. When one requires kernel modules is one case. Xlibs.tcz is another one. It is going to be rare not to have fontconfig.tcz already installed by the time one has a basic widow manager like icewm. But I will still try to make opera9 not need fontconfig.tcz.
-
opera9.scm should be working now and detecting fonts.
-
opera9.scm should be working now and detecting fonts.
Retest
TC v4.7.2 booted from CD-ROM (cloud mode) and apps downloaded as required.
gtk2.scm+dejavu-fonts-ttf.scm+opera9.scm=Dejavu available
Thanks
-
gtk2.scm shouldn't be needed for the fonts to be found.
-
gtk2.scm shouldn't be needed for the fonts to be found.
Retest
dejavu-fonts-ttf.scm+opera9.scm=Dejavu available