WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Libfltk-xft - antialiased fonts in FLTK  (Read 6207 times)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Libfltk-xft - antialiased fonts in FLTK
« on: October 03, 2009, 03:52:59 AM »
Quote
Title:          libfltk-xft.tczl
Description:    FLTK with Xft - smooth fonts support
Version:        1.1.9
Author:         Bill Spitzak and others
Original-site:  http://fltk.org
Copying-policy: GPL
Size:      304K
Extension_by:   Curaga
Comments:       Makes all FLTK apps use antialiased fonts.
-
      WARNING: only load this in text mode or on boot.
      Only load to ram, or use the force option. Doesn't work
      otherwise.
-
      FLWM is not compatible without a rebuild.
-
      Not PPI compatible.
Change-log:     
Current:        2009/10/03 Original

 
The only barriers that can stop you are the ones you create yourself.

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 525
  • Good software needn't be big!
Re: Libfltk-xft - antialiased fonts in FLTK
« Reply #1 on: October 03, 2009, 06:41:20 PM »
This is great!   ;D

I've installed it and I think this helps readability a lot in FLTK apps, especially in the help text viewers.  Maybe we can bundle a recompiled FLWM with this collection of lib files and make the installation process smoother?
--
Mike L.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Libfltk-xft - antialiased fonts in FLTK
« Reply #2 on: October 04, 2009, 04:49:24 AM »
I'd prefer a separate extension, since it makes flwm easier to update if needed.
The only barriers that can stop you are the ones you create yourself.

Offline meo

  • Hero Member
  • *****
  • Posts: 651
Re: Libfltk-xft - antialiased fonts in FLTK
« Reply #3 on: October 04, 2009, 05:13:57 AM »
Hi curaga!

I've tried it out to and it would be wonderful to have an extension that works with flwm since it is the default wm for tinycore now. Very well done curaga!

Have fun making extensions for tinycore,
meo
"All that is very well," answered Candide, "but let us cultivate our garden." - Francois-Marie Arouet Voltaire

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 525
  • Good software needn't be big!
Re: Libfltk-xft - antialiased fonts in FLTK
« Reply #4 on: October 09, 2009, 09:21:28 PM »
I don't seem to be able to use libfltk-xft now that the full TC 2.4 is released.  ???  Any ideas?

EDIT: I just see the normal "jaggy" fonts.  It acts like libfltk-xft was never installed.  Maybe I'll try to uninstall and re-install.

EDIT2: Using Appsaudit to delete, rebooting, and reinstalling libfltk-xft.tczl did not help.
« Last Edit: October 09, 2009, 09:38:08 PM by MikeLockmoore »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Libfltk-xft - antialiased fonts in FLTK
« Reply #5 on: October 10, 2009, 04:27:59 AM »
Known bug, unfortunately. Working to find the optimal solution.

Until then, use "tce-load -f -i libfltk-xft.tczl" (force load, the other way to use this extension)
The only barriers that can stop you are the ones you create yourself.

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 525
  • Good software needn't be big!
Re: Libfltk-xft - antialiased fonts in FLTK
« Reply #6 on: October 10, 2009, 10:54:53 AM »
curaga:  OK, I added the tce-load statement to my /opt/bootlocal.sh script, recompiled flwm, and rebooted.  That works for now.  :)

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 525
  • Good software needn't be big!
Re: Libfltk-xft - antialiased fonts in FLTK
« Reply #7 on: October 10, 2009, 11:22:40 AM »
I wonder if TC 2.4.1 fixes this?

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Libfltk-xft - antialiased fonts in FLTK
« Reply #8 on: October 10, 2009, 11:55:14 AM »
No. From the the release candidate rc5 thread:
Quote
Trying to achieve better upstream file protection, so as to lessen the load on Jason's auditing of submitted extensions, and thereby achieving better system integrity.
In trying to achieve better system integrity, existing files and directories should not by default be overwritten, There was a reason why /usr/local/.... structure was setup. If we continued to allow overwriing by default then there was little purpose to setup such an additional structure and system integrity can suffer.

10+ Years Contributing to Linux Open Source Projects.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Libfltk-xft - antialiased fonts in FLTK
« Reply #9 on: October 10, 2009, 12:33:59 PM »
This extension has now been updated.

Quote
Title:          libfltk-xft.tczl
Description:    FLTK with Xft - smooth fonts support
Version:        1.1.9
Author:         Bill Spitzak and others
Original-site:  http://fltk.org
Copying-policy: GPL
Size:      288K
Extension_by:   Curaga
Comments:       Makes all FLTK apps use antialiased fonts.
-
      WARNING: only load this in text mode or on boot.
-
      FLWM is not compatible without a rebuild.
-
      Not PPI compatible.
Change-log:     2009/10/03 Original
Current:        2009/10/10 Updated to work with 2.4

With the new way, mounting also works, and it dropped in size. :P
The only barriers that can stop you are the ones you create yourself.

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 525
  • Good software needn't be big!
Re: Libfltk-xft - antialiased fonts in FLTK
« Reply #10 on: October 10, 2009, 04:22:55 PM »
roberts, curaga: For the education of myself, and hopefully some others, could one of you provide an overview of what is different about the newest version?   -- Mike L.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Libfltk-xft - antialiased fonts in FLTK
« Reply #11 on: October 10, 2009, 05:35:06 PM »
It might not be the most elegant way, but it's simple, and it works. Overwriting by default, the tce behavior, is gone to better keep the pristine state. Thus the few extensions that need to do so will need to use a startup script for it.

In this extension, instead of scripting for all the possible modes and listing all files for them all, I just created a tarball, which is extracted by the startup script.
The only barriers that can stop you are the ones you create yourself.

Offline meo

  • Hero Member
  • *****
  • Posts: 651
Re: Libfltk-xft - antialiased fonts in FLTK
« Reply #12 on: October 10, 2009, 05:44:54 PM »
Hi curaga!

Thanks a lot for this extension! I have just installed the new version and it looks great. Thanks again!

Have fun extending the usability of tinycore,
meo
"All that is very well," answered Candide, "but let us cultivate our garden." - Francois-Marie Arouet Voltaire

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 525
  • Good software needn't be big!
Re: Libfltk-xft - antialiased fonts in FLTK
« Reply #13 on: October 11, 2009, 11:23:15 AM »
curaga:  Thanks for explaining it.  I tried to untar it but tar refused to extract or list anything. -ML

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 525
  • Good software needn't be big!
Re: Libfltk-xft - antialiased fonts in FLTK
« Reply #14 on: November 28, 2009, 01:08:05 PM »
I tried to use this again in the new TinyCore 2.6 release.  I could not get everything to work together successfully.  The instance of flwm either crashed on load or crashed after opening a TC FLTK app like cpanel.  I tried to rebuild flwm after installing libfltk-xft, but I did not get much, if any farther.  Does libfltk-xft need a rebuild?  Any other ideas?
--
Mike L.