Re: freetype

2000-04-26 Thread Robert B. Easter


On Wed, 26 Apr 2000, Hago Ziegler wrote:
 Hi ,
 
 I'm interested in the functions of freetype. I tried the test-programs
 and it works all very nice.

If I understand you, you want to use True Type fonts.  I'm running Gimp 1.1.20
and XFree86 4.0.  My /etc/X11/XF86Config file contains the lines:

Load "Type1"
Load "freetype"
FontPath "/usr/X11R6/lib/X11/fonts/ttf/"

I created that ttf directory and copied all the .ttf files that I could find
into there.
From MS Windows: \windows\fonts\*.ttf
ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz

Then I went to http://www.freshmeat.net/ and searched for the
program called "ttmkfdir".  When you download it, it contains a binary that you
can run on a glibc2 system.  Just rename it to "ttmkfdir" and move it to
somewhere like /usr/local/bin.  Then cd /usr/X11R6/lib/X11/fonts/ttf and run

ttmkfdir  fonts.dir

Exit X and restart it.  All your true type fonts will be available in Gimp and
everything else in X.

You can install XFree86 4.0 easily by just downloading it from www.xfree86.org
(in something like 3 large files).  Once you tar -xzvf, it compiles easily
with just a few commands:  Something like ./config, make, make install (its been
a while).  You'd want to mv /usr/X11R6 /usr/X11R6-old and clean up or move out
of the way old X files first.

Hope this is helpful.

-- 
Robert B. Easter
[EMAIL PROTECTED]



Re: How to see the x,y coordinates instead of just the rulers?

2000-04-25 Thread Robert B. Easter

On Mon, 24 Apr 2000, Erunantion wrote:
 Though speaking of the x  y coordinates, I've always had the same problem
 with them: namely, the coords appear, but don't clear the old coords upon
 mouse movement. They end up being a big mess of black. They still do this
 in the newest cvs of the 1.2 prerelease.
 

I managed to download everything and compile and install gimp 1.1.20.  I'm
NOT having the problem with the coordinates turning into a mess of black. 
Installing gimp was a pain though.  I had to install/reinstall a whole mess of
libraries.  Maybe by installing newer versions of libraries, I avoided the
problem with the coordinates.  Here are my notes on what I did to install gimp:

Required packages:

gimp-1.1.20.tar.gz
GIMP.
Available at www.freshmeat.net


gtk+-1.2.7.tar.gz
The Gimp Tool Kit.  A library for creating graphical user
interfaces.  Requires glib-1.2.7.tar.gz
Available at www.gtk.org

glib-1.2.7.tar.gz
A support library of C routines for lists, hashes, memory
allocation and other things.
Available in the same place as gtk.

Perl Extension: 
Gtk-Perl-0.6123.tar.gz
The Perl interface to Gtk.  The Gimp perl extension
requires this.  Available at www.gtk.org. Requires PDL. 
Install gtk first.  
PDL 1.9906 or higher (2.005 ok)
Perl Data Language.  Needed for perl scripts that do 
pixel
manipulation.  Available at www.CPAN.org
At CPAN, you will have to download whatever else it 
requires:
ExtUtils::F77
File::Spec

imlib 1.9.7
The Image files libraries.  If they are not installed,
go get them. Search lycos for "imlib"
www.labs.redhat.com/imlib/
This is needed for lots of things.  It will also
generate libgdk_imlib*


1.  Ensure that all traces of libgimp, libgtk and libglib are removed
from /usr/lib and /usr/include AND /usr/bin (gtk-config).
Remove old man pages from /usr/man: man1, rm gtk* gdk*

This isn't too important if you install everything
--prefix=/usr
this way, it will add to/replace old stuff.

(OK)

2. Install glib
cd glib-1.2.7
./configure --prefix=/usr
make
make install

Check for /usr/bin/glib-config

ldconfig

(OK)

3.  Install PDL.

Install whatever PDL depends on first: ExtUtils::F77 and File::Spec
(available at www.cpan.org)

perl Makefile.PL
make
make test
make install

(OK)

cd PDL-2.005
perl Makefile.PL
make
Note: it will look for OpenGL/Mesa3D/GLu etc libraries.
Make sure they are either not installed or installed
correctly.  If it finds /usr/include/GL it will think
its installed.  If OpenGL is not installed right, then
edit the config file and disable opengl.
make test
make install
(OK)

4.  Install gtk/gdk

cd gtk+-1.2.7
./configure --prefix=/usr
make
make install

Check for /usr/bin/gtk-config

(OK)

5.  Install Imlib 1.9.7
creates:
/usr/lib/libimlib*
/usr/lib/libgdk_imlib*
/usr/bin/imlib-config
/usr/share/aclocal/imlib*
/usr/include/..

cd imlib-1.9.7
./configure --prefix=/usr
Note: If it fails to find gdk and you just install it,
then you might need to run
ldconfig
rm config.cache

make
make install
(OK)

6.  Install the Gtk-Perl interface.
perl Makefile.PL
make
make test
make install
(OK)

7.  Install gimp.

cd gimp-1.1.20
./configure --prefix=/usr/local/gimp
Note:
GtkXMHTML may not be found.  You have to download
the 

Re: How to see the x,y coordinates instead of just the rulers?

2000-04-25 Thread Robert B. Easter

On Tue, 25 Apr 2000, Erunantion wrote:
 On Tue, 25 Apr 2000, Robert B. Easter wrote:
 
  I managed to download everything and compile and install gimp 1.1.20.  I'm
  NOT having the problem with the coordinates turning into a mess of black. 
  Installing gimp was a pain though.  I had to install/reinstall a whole mess of
  libraries.  Maybe by installing newer versions of libraries, I avoided the
  problem with the coordinates.  Here are my notes on what I did to install gimp:
 
 Yeah, those libraries create problems :) What exactly is PDL used
 for? It's the only package I haven't gotten yet.

Here's part of what the README file says:

--
PDL -- the package
--

The perlDL project aims to turn perl into an efficient numerical language for
scientific computing. The PDL module gives standard perl the ability to
COMPACTLY store and SPEEDILY manipulate the large N-dimensional data sets which
are the bread and butter of scientific computing. e.g. $a=$b+$c can add two
2048x2048 images in only a fraction of a second.

The aim is to provide tons of useful functionality for
scientific and numeric analysis.

Check the pdl web site at http://pdl.perl.org for more information.


Thats about all I know about it.  Gtk-Perl complained when it was missing.  Its
need by perl programs that do pixel manipulation. Some version of it may have
been installed with my slackware distribution (7.0), but I totally deleted my
original perl installation and installed perl 5.6.0.  So, I've had to install
many perl modules that other people may already have.




Re: How to see the x,y coordinates instead of just the rulers?

2000-04-24 Thread Robert B. Easter

I used cvs to checkout a copy of the developer version of gimp because I want to
try some new features.  No configure script was included.  I installed
autoconf and automake from gnu.org and tried a few things, but no luck. 
automake will complain about variables not defined and directories missing. 
What are the commands to compile it?

I'd like to find a compilable version that has the new feature that shows the
x,y coordinates.

On Mon, 24 Apr 2000, Ben FrantzDale wrote:
 - Original Message -
 From: Robert B. Easter [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, April 24, 2000 12:02 AM
 Subject: How to see the x,y coordinates instead of just the rulers?
 
 
  Other image manipulation programs I've used let you see the x,y
 coordinates
  where the mouse is.  When dragging to create a rectangle some will show
 the
  x,y and the relative x,y of the start and the current mouse position in
 the
  box being made.  With gimp, I can only see the rulers which don't
  give me exact coordinates.  Is there a way to add a status line to an
  editing window that will show the x,y coordinates?
 
 The latest (unstable) versions have this feature.
 
  Robert B. Easter
  [EMAIL PROTECTED]
 
 Is your name really Easter? (if so, do I wish you a happy birthday or what?)
-- 
Robert B. Easter
[EMAIL PROTECTED]



Re: How to see the x,y coordinates instead of just the rulers?

2000-04-24 Thread Robert B. Easter

On Mon, 24 Apr 2000, Oliver Bienert wrote:
 Robert,
 
 IMHO you do not need to cvs the gimp. Just get the latest release (1.1.19 or
 1.1.20, I think) and do ./configure, make, make install.
 In my 1.1.18, I have the x,y coordinates in the lower left corner of the window
 containing my image.
 
 Have fun, Oliver
 

I've looked for the lastest version at www.gimp.org.  It lists the latest
version as 1.0.4.  The developer version is only available via cvs.  Where can
I download it otherwise?



How to see the x,y coordinates instead of just the rulers?

2000-04-23 Thread Robert B. Easter

Other image manipulation programs I've used let you see the x,y coordinates
where the mouse is.  When dragging to create a rectangle some will show the
x,y and the relative x,y of the start and the current mouse position in the
box being made.  With gimp, I can only see the rulers which don't
give me exact coordinates.  Is there a way to add a status line to an
editing window that will show the x,y coordinates?

-- 
Robert B. Easter
[EMAIL PROTECTED]