It is currently Sat May 25, 2013 12:18 pm

All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Zen Fonts Manager
PostPosted: Fri Nov 02, 2007 9:50 pm 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Fri Mar 16, 2007 2:51 am
Posts: 24
Location: The land of wind and ghosts
Hi all,

I've been working on a little tool for the past couple of days, which I'm calling the "Zen Fonts Manager."  This tool is a simple way to add and remove fonts from your system, and lets you preview the fonts you've currently got installed.  This program detects whether you're adding a bitmapped font or a TrueType font and places the font file either into /usr/share/fonts/misc/ or /usr/share/fonts/TTF/, respectively.  After you install or remove a font, it updates the system font caches, so your new fonts are immediately available and your old fonts are immediately gone.

It's also international!  There are translations for Dutch, Greek, and French, in addition to the default of English.

Note:  to have the add/remove buttons work, run this through ktsuss.


INSTALLATION INSTRUCTIONS:

Go to http://rs.tc/dl/zw/  and download the tclkit.gz and zfm files.  Then:

gzip -d tclkit.gz
chmod +x tclkit && mv tclkit /usr/local/bin
chmod +x zfm

Then, just run:  ./zfm


This is definitely a work-in-progress.  Please let me know if you like it, and please send feedback and suggestions for improvement!  I've tested it out plenty, adding and removing fonts, and a few other people have already tested it on their systems without problem.

Also note that when you remove a font, this program does in fact delete it from the disk!


And last, see the french announcement here!  http://support.zenwalk.org/index.php?topic=12077.0



thanks!
hat0


Last edited by MadScots on Sat Nov 03, 2007 4:44 pm, edited 1 time in total.

 Profile Send private message  
 
 Post subject: Re: Zen Fonts Manager
PostPosted: Fri Nov 02, 2007 11:31 pm 
Master of the known universe
Master of the known universe
User avatar

Joined: Wed Jan 10, 2007 10:24 pm
Posts: 1341
Location: düsseldorf, germany
hi :)

i like the program. it works well here.  just a few comments:

1. the size of the window changes depending on the size of a font set under view. this is rather annoying.

2. the default font used for the program is rather ugly.

3. i think it's better to have a "close" button.

4. maybe better to have an option to relocate "removed" fonts somewhere.

5. how can i change the language option from english to french?

:)

thanks for the program. it is very nice.

_________________
tomorrow is just like today, only happens tomorrow.


 Profile Send private message  
 
 Post subject: Re: Zen Fonts Manager
PostPosted: Sat Nov 03, 2007 7:36 am 
Master of the known universe
Master of the known universe
User avatar

Joined: Fri Jun 01, 2007 10:34 pm
Posts: 1681
Location: Germany
nice project. i don't like that-tcl look. maybe you could do the same with gtk-dialog. it looks much better i think.

:)


 Profile Send private message  
 
 Post subject: Re: Zen Fonts Manager
PostPosted: Sat Nov 03, 2007 9:24 am 
Zenwalk Spin-offs
Zenwalk Spin-offs

Joined: Mon May 08, 2006 3:35 pm
Posts: 233
or maybe pygtk  (i can help you with this)
anyway cool idea ...i need this!


 Profile Send private message  
 
 Post subject: Re: Zen Fonts Manager
PostPosted: Sat Nov 03, 2007 5:36 pm 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Fri Mar 16, 2007 2:51 am
Posts: 24
Location: The land of wind and ghosts
Hi all,

I've made an updated version of the panel!  It's got a nicer visual theme and includes several more language translations:

Dutch, English, French, Greek, Japanese


If you've already downloaded tclkit + zfm, you'll have to download those both again.


Thanks!
hat0


 Profile Send private message  
 
 Post subject: Re: Zen Fonts Manager
PostPosted: Sun Nov 04, 2007 8:48 am 
Master of the known universe
Master of the known universe
User avatar

Joined: Mon Aug 28, 2006 11:57 am
Posts: 1040
Location: Karlsruhe, Germany
Could you maybe do a package for it?

_________________
...and just when you thought, the shadows were safe...


 Profile Send private message  
 
 Post subject: Re: Zen Fonts Manager
PostPosted: Mon Nov 05, 2007 8:18 pm 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Fri Mar 16, 2007 2:51 am
Posts: 24
Location: The land of wind and ghosts
Tsuren,

The program reads your system language setting (environment variable LANG), so if you want to try out the french, that's the place to adjust it.  On your GUI feedback, I agree about the resizing window and am going to swap that out.  I'm also thinking of a way to cleanly stash removed fonts elsewhere (maybe stick them in the XFCE trash can?), and will work to incorporate such feedback into the next prerelease.  Thanks for your feedback.


DodoFXP,

I would like to make a package, and after I work on incorporating a few more little changes and tweaks, I'll go ahead and do that.  Thank you for your feedback as well.


hat0


 Profile Send private message  
 
 Post subject: Re: Zen Fonts Manager
PostPosted: Tue Nov 27, 2007 7:31 pm 
Administrator
Administrator
User avatar

Joined: Sun Jun 17, 2007 8:31 am
Posts: 1683
Location: France, Lyon
Please make a package for [extra].
We may include tcl/tk in the ISO in the future, so ... ;)

++


Last edited by fredg on Tue Nov 27, 2007 7:58 pm, edited 1 time in total.

 Profile Send private message  
 
 Post subject: Re: Zen Fonts Manager
PostPosted: Sun Dec 02, 2007 7:54 am 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Fri Mar 16, 2007 2:51 am
Posts: 24
Location: The land of wind and ghosts
Hi Fredg,

Will do!  My apologies for not getting back to this sooner--various real-life things have been disruptive, as is always the case when there's a fun project to do.  I will try to have the updates in place and create a package by the end of the weekend.

Thanks for your interest!


hat0


 Profile Send private message  
 
 Post subject: Re: Zen Fonts Manager
PostPosted: Thu Jan 10, 2008 1:24 am 
Zenwalker
Zenwalker

Joined: Thu Jun 07, 2007 8:16 am
Posts: 1
G'day,

Just wanted to add my thanks for a very handy program

BJA


 Profile Send private message  
 
 Post subject: Re: Zen Fonts Manager
PostPosted: Thu Jan 10, 2008 6:57 pm 
Experienced Zenwalker
Experienced Zenwalker
User avatar

Joined: Sat Apr 08, 2006 9:59 am
Posts: 122
I havent tried your script yet, but looking at your description I see that my solution is quite different.
First of all, my font-collection is quite large (31767 items, totalling 1.1 GB) and have been put together over a number of years...having all these installed at once is not practical on any computer no matter the amount of RAM, so my strategy is to activate/deactivate them when needed. To do this I have created two very simple nautilus-scripts (std bash, not really dependent on nautilus): 'create samplesheet', and 'togglefont'.
'Create samplesheet' creates thumbnails and a basic html-file for displaying them (thumbnails are cached for speed), and 'togglefont' checks to see if the selected font-file(s) is already active, deactivates if it is, and activates if not...(messy senctence, hope you got that).
The activated fonts are simply symlinked into "~/.fonts", and deactivating is as easy as removing the symlink.
So, my collection stays sorted and untouched, and no extra disk-space is wasted.

It have to be said though, that my scripts are very simple, but they get their job done.

I personally believe this strategy to be better, at least for those of us with larger collections...just my two cents :)

_________________
[ s . n . a . f . u ]
Proud ThinkZen member #11!


 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC


 Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: