465 Commits

Author SHA1 Message Date
Erik van Blokland
c5f91a02b5 Merge pull request #11 from robofab-developers/ufo3k-kerning-upconversion-additions
Incorporate additions to the kerning group conversion process.
2014-02-19 14:55:00 +01:00
Tal Leming
8dc8742959 Add write time kerning group down conversion to UFOWriter.
This allows the UFO 3 up converted kerning group names to be reset to
their original names at the time of writing in UFO <= 2.
2014-02-18 11:49:26 -05:00
Tal Leming
0f6b6d741a Fix some failing tests.
I’m not sure why these were still broken.
2014-02-18 10:29:30 -05:00
Tal Leming
2a026d368f Tie the new prefixed group locating function into the converter. 2014-02-18 10:01:24 -05:00
Tal Leming
96757fc6a1 Added function that scans for known kerning group prefixes. 2014-02-18 09:48:23 -05:00
Tal Leming
837c17c323 Return a report detailing why the kerning is invalid. 2014-02-04 10:05:58 -05:00
Erik
de4e678430 SelectFont returns the wrong value on cancel, or with no fonts to choose from.
This makes sure the dialog will return None on Cancel.
2014-01-13 12:00:01 +01:00
Erik
bce5e1bc0d In order to be able to save a note with non-ascii characters to .glif, it seems necessary to change this line. We have to assume this setting has something to do with the limitations of FontLab and Python 2.3. 2013-10-27 09:35:44 +01:00
Erik
819dc77353 Add gitignore for ufo3k branch. 2013-07-19 21:29:03 +02:00
Tal Leming
ab41436934 Redundant test. Caught by Lasse Fister.
git-svn-id: http://svn.robofab.com/branches/ufo3k@576 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-05-11 18:00:18 +00:00
Tal Leming
da3a12b104 Redundant test. Caught by Lasse Fister.
git-svn-id: http://svn.robofab.com/branches/ufo3k@575 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-05-11 17:57:39 +00:00
Tal Leming
4158e6aea2 Handle the default layer test a bit more efficiently. Caught by Lasse Fister.
git-svn-id: http://svn.robofab.com/branches/ufo3k@574 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-05-11 17:53:17 +00:00
Tal Leming
89daa72612 Checks needed for the dir attribute. Caught by Lasse Fister.
git-svn-id: http://svn.robofab.com/branches/ufo3k@573 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-05-11 17:42:58 +00:00
Tal Leming
a6ae274211 Wrong value being pushed to a function. Caught by Lasse Fister.
git-svn-id: http://svn.robofab.com/branches/ufo3k@572 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-05-11 17:40:33 +00:00
Tal Leming
d001b43ea7 validKeys was not referenced. Caught by Lasse Fister.
git-svn-id: http://svn.robofab.com/branches/ufo3k@571 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-05-11 17:38:27 +00:00
Erik van Blokland
8c864d3171 This adds a simple test of the MarginPen object. Basically to make sure the update to new style object doesn't cause any problems. Can't tell because AngledMarginPen seems to have other internal problems.
git-svn-id: http://svn.robofab.com/branches/ufo3k@569 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-03-07 15:01:12 +00:00
Erik van Blokland
ab3c6bca2f This adds a simple test of the MarginPen object. Basically to make sure the update to new style object doesn't cause any problems.
git-svn-id: http://svn.robofab.com/branches/ufo3k@568 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-03-07 14:21:38 +00:00
Erik van Blokland
445e45d755 This adds a simple test of the ControlBoundsPen object. Basically to make sure the update to new style object doesn't cause any problems.
git-svn-id: http://svn.robofab.com/branches/ufo3k@567 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-03-07 11:28:46 +00:00
Just van Rossum
a12cd22201 removed oboloete adapter pen
git-svn-id: http://svn.robofab.com/branches/ufo3k@566 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-03-07 10:34:45 +00:00
Tal Leming
c96d464472 Bug fix patch from Lasse Fister.
git-svn-id: http://svn.robofab.com/branches/ufo3k@563 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-02-21 12:59:23 +00:00
Tal Leming
e2710f2b7c Extension elements may have an id attribute.
git-svn-id: http://svn.robofab.com/branches/ufo3k@562 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-02-21 12:55:19 +00:00
Tal Leming
f08ef513ee Don't assume that the glyph name is ASCII.
git-svn-id: http://svn.robofab.com/branches/ufo3k@561 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-02-21 01:42:52 +00:00
Tal Leming
41cc594e40 Merge changes from trunk.
git-svn-id: http://svn.robofab.com/branches/ufo3k@557 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-02-14 12:32:32 +00:00
Erik van Blokland
4875fc675f Tweaks in the documentation.
git-svn-id: http://svn.robofab.com/branches/ufo3k@553 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-02-14 11:59:11 +00:00
Tal Leming
e05354fe33 Duplicate records are now allowed.
git-svn-id: http://svn.robofab.com/branches/ufo3k@551 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-02-14 03:38:32 +00:00
Tal Leming
1dcbf6c73e The last table is no longer required to be 0xFFFF.
git-svn-id: http://svn.robofab.com/branches/ufo3k@550 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-02-14 03:34:28 +00:00
Tal Leming
c09c53485c The UFO 3 spec requires ints for many format specific fields now.
git-svn-id: http://svn.robofab.com/branches/ufo3k@549 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-02-14 03:25:21 +00:00
Tal Leming
3fb94d2b65 Make the automatic group rename mapping available.
git-svn-id: http://svn.robofab.com/branches/ufo3k@548 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-01-30 15:19:05 +00:00
Tal Leming
4e71814629 Further implementation of these objects by Frederik.
git-svn-id: http://svn.robofab.com/branches/ufo3k@547 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-01-27 14:15:48 +00:00
Tal Leming
4cf0d74b48 Clarified a requirement in the spec: smooth is allowed in any point type except offcurve.
git-svn-id: http://svn.robofab.com/branches/ufo3k@546 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-01-17 15:13:52 +00:00
Tal Leming
96dd66b6da Merge Erik's trunk changes.
git-svn-id: http://svn.robofab.com/branches/ufo3k@545 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-01-06 12:34:37 +00:00
Tal Leming
b1b40b80fa Going to try this again.
git-svn-id: http://svn.robofab.com/branches/ufo3k@544 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2012-01-05 23:23:44 +00:00
Tal Leming
6fca833045 The winds have changed.
git-svn-id: http://svn.robofab.com/branches/ufo3k@541 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-30 20:14:46 +00:00
Tal Leming
a9b9f7bf32 For posterity's sake, here is incomplete work on BaseContour.
git-svn-id: http://svn.robofab.com/branches/ufo3k@540 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-30 20:14:03 +00:00
Tal Leming
f4333208b2 For posterity's sake, here is incomplete work on RContour.
git-svn-id: http://svn.robofab.com/branches/ufo3k@539 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-30 20:13:47 +00:00
Tal Leming
2046f68815 Removed the weird glyph.getGlyph(glyphName) method.
git-svn-id: http://svn.robofab.com/branches/ufo3k@537 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-29 22:11:11 +00:00
Tal Leming
75f3ef6bbe Implementing RGlyph and cleaning up BaseGlyph.
git-svn-id: http://svn.robofab.com/branches/ufo3k@536 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-29 22:10:07 +00:00
Tal Leming
4edebba7fc Fixes for layer info.
git-svn-id: http://svn.robofab.com/branches/ufo3k@535 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-12-28 04:20:47 +00:00
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