A.
--
May success attend your efforts,
-- Adam
These look good. I'd just note that any scripts using dialogs from RoboFab likely won't work with the robofab download you linked to. The svn version is a better choice currently.
To edit your instructions, I'd say this:
2.
Create a folder for your RoboFab and other sources. It doesn't really matter where this folder is, or what it is called, but a good practice would be to put in in your user folder, name it with just one word —no spaces or glyphs outside of ascii. For example, my folder for such things is ~/benkiel/code/. The easiest way to make said folder is to open up Terminal.app, and type:
mkdir ~/code
[Replace 'code' with whatever you want to call your source folder.]
Hit enter
3.
Open Terminal.app if you haven't already
4.
In terminal, type:
cd ~/code (of course, if you've called the folder something else, use that)
Hit enter
5.
Next, you'll need to checkout the svn robofab, dialogkit and fonttools. You must be online for the following to work.
This is simply done by typing:
svn checkout http://svn.robofab.com/
Hit enter, watch things scroll by.
Next, you'll need to get dialog kit. This can also be done with a svn checkout. Type:
svn checkout http://svn.typesupply.com/packages/dialogKit
Hit enter, watch things scroll by.
Lastly, you'll need FontTools. Again, a svn checkout will get you that. Type:
svn checkout https://fonttools.svn.sourceforge.net/svnroot/fonttools
Hit enter, watch things scroll by.
If you now type ls in terminal you should see the following three folders:
benBookPro-2:test benkiel$ ls
dialogKit fonttools svn.robofab.com
6. In Terminal, do the following:
(Hit Enter after each line. After the first "sudo" you'll need to enter your administrator password.)
cd fonttools/trunk
sudo /usr/bin/python setup.py install
cd ../..
cd svn.robofab.com/trunk
sudo /usr/bin/python install.py
cd ../..
cd dialogKit/trunk
sudo /usr/bin/python install.py
Best,
Ben
> --
> You received this message because you are subscribed to the Google Groups "RoboFab" group.
> To post to this group, send email to rob...@googlegroups.com
> To unsubscribe from this group, send email to robofab-u...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/robofab?hl=en
>
> Messages from newly joined members are subject to moderation.
> Download RoboFab and documentation at http://robofab.com
>
> !DSPAM:4eaaca0628021248311248!
>
Ben Kiel
http://www.houseind.com
Direct Dial: (302) 766-7593
Since I have just today managed to get the previous version running by
using Adam's installation procedure, should I just repeat his
procedure to replace the old version with your new version or is there
a better way to install over the existing version now in my Lion
System?
Erik,
I've downloaded the zip and it seems that in the Vanilla subfolder the
contents of "DialogKit" is included, rather than that of Vanilla.
Am I blind or doing something wrong, or is that an oversight on your side?
Best,
Adam
I've downloaded the zip and it seems that in the Vanilla subfolder the
contents of "DialogKit" is included, rather than that of Vanilla.
Am I blind or doing something wrong, or is that an oversight on your side?
File "/Library/Python/2.7/site-packages/robofab/objects/objectsBase.py", line 27, in <module>from robofab.misc.arrayTools import updateBounds, pointInRect, unionRect, sectRectImportError: No module named misc.arrayToolsWhat am I doing wrong?
--
Download RoboFab and documentation at http://robofab.com !DSPAM:4ebafe3d28021196017022!
James
Ben KielDirect Dial: (302) 766-7593
--
You received this message because you are subscribed to the Google Groups "RoboFab" group.
To post to this group, send email to rob...@googlegroups.com
To unsubscribe from this group, send email to robofab-u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/robofab?hl=en
Messages from newly joined members are subject to moderation.
Download RoboFab and documentation at http://robofab.com
--
You received this message because you are subscribed to the Google Groups "RoboFab" group.
To post to this group, send email to rob...@googlegroups.com
To unsubscribe from this group, send email to robofab-u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/robofab?hl=en
Messages from newly joined members are subject to moderation.
Download RoboFab and documentation at http://robofab.com !DSPAM:4ebb061328027983167028!
Thanks. I checked and /Library/Python/2.7/site-packages/robofab/misc did not exist. I had already cleaned out Robofab and reinstalled once, so I am sure that I followed the install procedure. So I copied…/RoboFab483M_plusDependencies/RoboFab/Lib/robofab/miscto/Library/Python/2.7/site-packages/robofab/miscand now I have some Robofab functionality. I can run the “Start Here” script and get:Robofab is running on darwin, Python version: 2.7, Mac stuff: X, PC stuff: None, FontLab stuff: True, FLversion: 5.1/Mac(Build 4311), Glyphs stuff: False, Glyphs version: None, RoboFont stuff: False, RoboFont version: None
And I can also dump a complete font to a valid UFO with the UFO2 “export…from all open fonts” script.
But more complex stuff is still broken. Trying to create a UFO of selected glyphs with UFO central fails:Traceback (most recent call last):File "/Library/Python/2.7/site-packages/dialogKit/_dkFL.py", line 138, in on_okself._okCallback(self)File "<string>", line 440, in okCallbackFile "<string>", line 707, in exportUFOFile "/Library/Python/2.7/site-packages/robofab/objects/objectsFL.py", line 990, in writeUFObar = ProgressBar("Exporting UFO", nonGlyphCount + len(glyphs))TypeError: object.__new__() takes no parameters
--
This is always the Python framework pre-installed by Apple. (Note: It
wasn't completely easy to do for our developers, since "Current" is an
alias and XCode requires a real path. So the application does a bit of
trickery itself to work around that limitation.)
However, we're not at this time able to link to "any" Python available
on the system. In other words, if you've installed a custom Python from
python.org or fink or MacPorts or homebrew or using any other method,
FontLab Studio won't be able to access it -- simply because there are
just too many ways in which Python can be built and installed.
So while FontLab Studio 5.1 is more flexible than the previous versions,
because it links to the most current version of Python *pre-installed by
Apple* on Mac OS X, it won't link to *just any* Python. Especially not
to the Python that the user installed him/herself.
Sorry.
We will investigate the possibility of making the version of Python used
by FontLab Studio selectable by the user from within the application.
But I can't promise that it'll be done, because at this moment I don't
know if it can easily be done.
Best,
Adam
So while FontLab Studio 5.1 is more flexible than the previous versions,
because it links to the most current version of Python *pre-installed by
Apple* on Mac OS X, it won't link to *just any* Python. Especially not
to the Python that the user installed him/herself.
Sorry.
Out of curiosity, what's in your /hard drive/Library/Python/2.7/site-packages folder?
Quick way to dump that out is go to terminal and type:
cd /Library/Python/2.7/site-packages
ls -a
Best,
Ben
> --
> You received this message because you are subscribed to the Google Groups "RoboFab" group.
> To post to this group, send email to rob...@googlegroups.com
> To unsubscribe from this group, send email to robofab-u...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/robofab?hl=en
>
> Messages from newly joined members are subject to moderation.
> Download RoboFab and documentation at http://robofab.com
>
> !DSPAM:4f0ae83027992787694347!
Does anybody have an idea where I went wrong?
[eBookPro:~] erik% pythonPython 2.7.1 (r271:86832, Jul 31 2011, 19:30:53)[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwinType "help", "copyright", "credits" or "license" for more information.
>>> import robofab
>>>
import sysprint sys.version
Thank you very much for your quick answer.
Which platform and version, which FontLab version?
Mac OSX 10.7.3, iMac Intel Core i5, and FontLab 5.1 Build 4269
In Terminal, open Python, can you import robofab there? Something like this:If I type in pathon in the terminal, I got this:
Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.import robofab
This worked in the terminal
In FontLab:import sysprint sys.version
2.5.6 (r256:88840, Jul 31 2011, 19:30:45)
That should print a couple of paths. Find the one that ends in site-packages/import sysfor s in sys.path:if s.find("site-packages")!=-1:print s
[eBookPro:~] erik% open /Library/Python/2.7/site-packages