sketch-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More Ques.


From: Joel Biddier
Subject: More Ques.
Date: Wed, 15 Dec 2004 21:34:18 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040805 Netscape/7.2

(1)
Here is my general dependency list (or requirements list) for Skencil:

1. Python (with Tkinter)
2. PIL
3. zlib (for PIL)
4. libjpeg (for PIL)
5. Tcl and Tk (Tkinter and PIL)
6 Ghostscript (for EPS previews and fonts if desired)

I compile  PIL with the libjpeg and zlib libs and include the Tkinter bindings (e.g. _imagingTk) (I also use the X includes and libs).

Is this list correct? Or do I need to add (or remove) something from the list. I have lots of graphic libs on all my boxes and I am not sure if some are being used
without me knowing. This is why I asked about  libpng the other day (and I don't want to remove and add back stuff to find out - or rummage though all the source code ;-) ).

(2a)
In the Fontmetrics directory when I write the std.sfd files with the  pfb/pfa font name as the last entry (and not the resident afms in the Fontmetrics dir),
then use the Fontmetrics afm  file names with the alias.sfd file (the second argument) the fonts work fine. This is the opposite of the canonical format, but it works. Why would this work? I don't intend on doing this for the document, but I am curious. What is the relation bet/w the std and alias  sfd files? I can only guess that the FontName (first entry in both files) acts as a key bet/w the two files. But which one holds the afm names and which the pfb/pfa names (or does it not matter)? When adding new fonts (in a separate dir), the afm and pfb/pfa names are usually the same and it becomes ambiguous to which holds what.

(2b)
Also, the first entry in the std.sfd file (the afm "FontName"), How does Skencil use this data field exactly (to match up the alias? To use the PS Type 1 fonts via this name (as oppose to the afm "FullName")?  What?).  I already understand the X11 name stuff, but I don't fully understand this part (other than it has to do with Skencil handling/ using PS Type 1 fonts and having an afm to the pfb/pfa file for full font information and manipulation.).


--J



reply via email to

[Prev in Thread] Current Thread [Next in Thread]