Google Groups Home
Help | Sign in
Building a pog from an entire folder.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Donn  
View profile
 More options Jul 12, 10:51 am
From: Donn <donn.in...@gmail.com>
Date: Sat, 12 Jul 2008 16:51:05 +0200
Local: Sat, Jul 12 2008 10:51 am
Subject: Building a pog from an entire folder.
Ciao Giuseppe. (And the list in general.)
> That is, a command to add all fonts in a folder to a pog.

Yes, that's a pretty good idea I will make a note in my ideas file for me to
work on when I get a chance.

In the meantime, here's a trick to build pogs yourself from the command-line.
Open a console/terminal (like konsole or gnome-terminal). Now I will use
square brackets [] to surround the command you can type but don't type the
brackets: Ok, let's start:

I will use ~/somefonts as the example folder you want to use.
The idea is to build a pog, which is a plain text file.

1. Use [cd ~/.fontypython] to go where the pogs live.

2. [echo "not installed" > newpog.pog] You can use any name you want. Just
make *sure* you don't overwrite some other pog!

3. [find ~/somefonts -iname "*.ttf" >> newpog.pog] That will go and find the
ttfs (you can change that to say "*.otf" but Type1 fonts might be more
tricky) and then it will append them to the 'newpog.pog' file you just
started.

4. If you want to add other fonts from other folders, just use the same find
command, but change the path. Make sure you use 2 ">" symbols (>>) because
that means append-to.

Right, that's it. Now open fonty and go look at newpog:
[fontypython newpog]
You can also install those fonts with:
[fontypython -i newpogs]
Have a look at [fontypython --help]

I hope that helps you, please ask if you need anything else.
Regards,
Donn.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google