44 Commits

Author SHA1 Message Date
Tal Leming
08a3293c63 This may rip a hole in the fabric of the universe, but I don't want to copy/paste a huge chunk of code and I can't bear to rewrite something just for purity's sake.
git-svn-id: http://svn.robofab.com/branches/ufo3k@534 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-28 04:14:42 +00:00
Tal Leming
fc025d3769 More work on layers.
git-svn-id: http://svn.robofab.com/branches/ufo3k@533 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-28 04:10:47 +00:00
Tal Leming
838c13f547 Basic implementation of BaseLayer and RLayer.
git-svn-id: http://svn.robofab.com/branches/ufo3k@532 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-28 04:00:29 +00:00
Tal Leming
2185d7df25 Implementation of BaseLayerSet and RLayerSet.
git-svn-id: http://svn.robofab.com/branches/ufo3k@531 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-28 03:33:28 +00:00
Tal Leming
38b8c8fb68 Working out the layer API.
git-svn-id: http://svn.robofab.com/branches/ufo3k@530 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-27 19:41:37 +00:00
Tal Leming
b2b081b626 Rearranging to make it easier for me to scroll through.
git-svn-id: http://svn.robofab.com/branches/ufo3k@529 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-27 19:25:25 +00:00
Tal Leming
5386d44064 Beginning to add layer support. I moved compileGLyph, generateGLyph and interpolate to BaseLayer but I didn't modify them. Someone else needs to figure out how those are going to deal with layers.
git-svn-id: http://svn.robofab.com/branches/ufo3k@528 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-27 15:33:55 +00:00
Tal Leming
e7fdadce17 Reworked RFeatures so that it works.
git-svn-id: http://svn.robofab.com/branches/ufo3k@527 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-27 14:21:29 +00:00
Tal Leming
f6a0695002 Starting to actually test things.
git-svn-id: http://svn.robofab.com/branches/ufo3k@526 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-27 14:09:10 +00:00
Tal Leming
a902d7d61c More or less blindly merge all lib/robofab changes from the trunk. I don't know what they were all about, but they need to be merged so that work can continue here. Only one file had conflicts: interface/all/dialogs_default.py I noted that the ufo3k branch was the one in conflict and to use the changes in the trunk.
git-svn-id: http://svn.robofab.com/branches/ufo3k@525 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-27 14:02:11 +00:00
Tal Leming
78bbe3752c Work to make it easier for environments using defcon objects to simply reuse these objects.
git-svn-id: http://svn.robofab.com/branches/ufo3k@524 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-27 13:44:51 +00:00
Tal Leming
4b7b577bfd Remove the path normalization from __init__.
git-svn-id: http://svn.robofab.com/branches/ufo3k@523 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-27 13:27:42 +00:00
Tal Leming
15bdb78391 initial, untested and incomplete work. this can't be tested until we work out the layer API.
git-svn-id: http://svn.robofab.com/branches/ufo3k@522 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-27 05:01:47 +00:00
Tal Leming
bb68f3e59c a place for an experimental rewrite of objectsRF using defcon as the core. if this works, it will merge back into objectsRF.
git-svn-id: http://svn.robofab.com/branches/ufo3k@521 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-27 04:59:23 +00:00
Tal Leming
e036df8034 merge trunk changes 471:472 for /objects
git-svn-id: http://svn.robofab.com/branches/ufo3k@520 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-27 04:58:03 +00:00
Erik van Blokland
5911d4c945 Documentation. Whitespace issue, sorry.
git-svn-id: http://svn.robofab.com/branches/ufo3k@445 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-20 15:17:07 +00:00
Erik van Blokland
cbb7fdd409 Documentation. Added some notes.
git-svn-id: http://svn.robofab.com/branches/ufo3k@443 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-20 15:09:19 +00:00
Erik van Blokland
846f0633da Tiny tweaks in the docs.
git-svn-id: http://svn.robofab.com/branches/ufo3k@441 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-19 21:51:56 +00:00
Erik van Blokland
5ed2ddf8fe Change the import of ufoLib to the new structure.
git-svn-id: http://svn.robofab.com/branches/ufo3k@439 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-19 21:42:13 +00:00
Erik van Blokland
4d89ceabbd Assert I can write in the objectsRF source and see changes in the generated Docs. Also change the import of ufoLib to the new structure.
git-svn-id: http://svn.robofab.com/branches/ufo3k@438 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-19 21:41:54 +00:00
Erik van Blokland
bdd2af74c9 This removes objectdumper from tools/ and the method in objectsBase that called it.
git-svn-id: http://svn.robofab.com/branches/ufo3k@422 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-18 21:05:37 +00:00
Erik van Blokland
8413d1c254 This removes the math functionality for RContour, RSegment and RPoint as they are rarely used.
git-svn-id: http://svn.robofab.com/branches/ufo3k@421 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-18 21:01:34 +00:00
Erik van Blokland
90890689f0 The selection and deselection of objects is an application matter.
git-svn-id: http://svn.robofab.com/branches/ufo3k@420 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-18 20:27:50 +00:00
Erik van Blokland
70e785c161 Thi removes the rasterise method. While jolly, and definitely a fun example of what can be done with scripting in glyphs, it has no place in the basic methods.
git-svn-id: http://svn.robofab.com/branches/ufo3k@419 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-18 20:18:04 +00:00
Erik van Blokland
68b48213be This removes objectsFF. The way FontForge approaches kerning made it very difficult to wrap in the robofab kerning API. Also, no one really seemed to use it. We can't afford to maintain it.
git-svn-id: http://svn.robofab.com/branches/ufo3k@418 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-18 20:17:07 +00:00
Tal Leming
f84f2c50ba Merge recent trunk changes.
git-svn-id: http://svn.robofab.com/branches/ufo3k@261 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-10 17:30:28 +00:00
Tal Leming
463121cfa5 Typos that led to values that deviate from the spec.
git-svn-id: http://svn.robofab.com/trunk@243 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-05-17 15:53:58 +00:00
Tal Leming
88e3e8df0f Modified NewGlyph to make the fl.UpdateFont call optional, the newGlyph method of RFont no longer updates automatically and, most importantly, this makes importing UFOs into FontLab faster by a factor of "a lot."
Thanks to Georg Seifert for prompting us to look into this.

git-svn-id: http://svn.robofab.com/trunk@229 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-02-13 23:13:54 +00:00
Tal Leming
d263f2b416 Work around a bug in FL Windows.
git-svn-id: http://svn.robofab.com/trunk@226 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2010-05-05 17:14:56 +00:00
Erik van Blokland
a21efaa4d0 This compileGlyph isn't limited to specific anchor names.
git-svn-id: http://svn.robofab.com/trunk@217 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2010-01-11 20:55:42 +00:00
Tal Leming
0ccd75cc66 'as' is a reserved keyword in Python 2.6.
git-svn-id: http://svn.robofab.com/trunk@200 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-09-03 04:09:29 +00:00
Erik van Blokland
43a4e6b5d4 Make sure there is a glyph to restore when requested. When the background is empty, it will return None rather than a glyph.
git-svn-id: http://svn.robofab.com/trunk@199 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-06-26 13:24:44 +00:00
Erik van Blokland
66379b05fd Check the type of the path string before it is passed to the fontlab GenerateFont method. FL doesn't like unicode strings.
git-svn-id: http://svn.robofab.com/trunk@198 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-06-25 08:50:25 +00:00
Erik van Blokland
a364526b9c SetMaskToGlyph now uses FLPointContourPen which ignores any components the source glyph might have. In FontLab components do not work in the background and cause the application to suffer from premature and unexpected cessation of activities.
git-svn-id: http://svn.robofab.com/trunk@197 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-04-14 13:41:04 +00:00
Tal Leming
010d853105 defaultWidth was deprecated.
git-svn-id: http://svn.robofab.com/trunk@176 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-03-26 13:29:09 +00:00
Erik van Blokland
06fc7e9101 Seems like a typo error.
git-svn-id: http://svn.robofab.com/trunk@175 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-03-24 14:40:03 +00:00
Erik van Blokland
c1c7f527c0 Remove AllFonts import, as it is defined in this file. Add functions for getting the data in the mask as a fab glyph, and setting the mask data with a fab glyph.
git-svn-id: http://svn.robofab.com/trunk@174 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-03-22 11:09:56 +00:00
Erik van Blokland
55270fc79c This fixes a problem while exporting a font without classes to UFO format 1.
git-svn-id: http://svn.robofab.com/trunk@173 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-03-10 09:18:03 +00:00
Tal Leming
ea39f12120 Merged ufo2 branch r95:170 into the trunk.
git-svn-id: http://svn.robofab.com/trunk@171 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-02-28 15:47:24 +00:00
Erik van Blokland
1eb53b404e This fixes a issue in importing ps zone information. I missed a bug in FL and fixed it in the wrong place.
The FL attribute font.blue_values_num can't be set to the highest number required to store 7 zones. Adam was asked about t his in september 2008, but didn't answer. 
While this can't fix the FL bug, it can properly import all values up to the last one. A warning is printed when the last value is dropped.

git-svn-id: http://svn.robofab.com/trunk@163 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-02-17 08:43:08 +00:00
Erik van Blokland
6083cfc404 Token checkin to see if it works. Ignore.
git-svn-id: http://svn.robofab.com/trunk@91 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-07-14 20:14:50 +00:00
Erik van Blokland
fe77241d92 Fix for ticket #4
git-svn-id: http://svn.robofab.com/trunk@90 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-07-14 20:12:00 +00:00
Erik van Blokland
fb0943ff96 Remove unnecessary print.
git-svn-id: http://svn.robofab.com/trunk@84 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-04-28 15:51:53 +00:00
Just van Rossum
feb0046176 Moved Data, Lib and install.py one level down the tree
git-svn-id: http://svn.robofab.com/trunk@67 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-03-11 09:18:32 +00:00