WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Dejavu Fonts SCM Not Available in Opera  (Read 13042 times)

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Dejavu Fonts SCM Not Available in Opera
« 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.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Dejavu Fonts SCM Not Available in Opera
« Reply #1 on: February 15, 2013, 09:04:47 AM »
Have you got the fontconfig and libxft extensions installed?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Dejavu Fonts SCM Not Available in Opera
« Reply #2 on: February 16, 2013, 04:49:06 AM »
Thanks for the revised SCM dated 2013/02/15.  Updating to this fixes the issue.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Dejavu Fonts SCM Not Available in Opera
« Reply #3 on: February 16, 2013, 08:37:03 AM »
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. 

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Dejavu Fonts SCM Not Available in Opera
« Reply #4 on: February 16, 2013, 09:55:34 AM »
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?

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Dejavu Fonts SCM Not Available in Opera
« Reply #5 on: February 16, 2013, 10:18:48 AM »
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.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Dejavu Fonts SCM Not Available in Opera
« Reply #6 on: February 16, 2013, 07:35:29 PM »
opera9.scm should be working now and detecting fonts.

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Dejavu Fonts SCM Not Available in Opera
« Reply #7 on: February 17, 2013, 03:11:02 AM »
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

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Dejavu Fonts SCM Not Available in Opera
« Reply #8 on: February 17, 2013, 07:08:39 AM »
gtk2.scm shouldn't be needed for the fonts to be found.

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Dejavu Fonts SCM Not Available in Opera
« Reply #9 on: February 17, 2013, 09:15:07 AM »
gtk2.scm shouldn't be needed for the fonts to be found.
Retest
dejavu-fonts-ttf.scm+opera9.scm=Dejavu available