84 Commits

Author SHA1 Message Date
Tal Leming
61b2edd50b Broke the writing function into several smaller functions. Fixed some bugs.
git-svn-id: http://svn.robofab.com/branches/ufo3k@343 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-30 00:28:24 +00:00
Tal Leming
a3b8999074 Validate the identifiers.
git-svn-id: http://svn.robofab.com/branches/ufo3k@342 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-29 20:58:26 +00:00
Tal Leming
52e965aca3 Support guidelines.
git-svn-id: http://svn.robofab.com/branches/ufo3k@341 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-29 20:55:20 +00:00
Tal Leming
73fd64e7d1 Support image.
git-svn-id: http://svn.robofab.com/branches/ufo3k@340 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-29 19:38:33 +00:00
Tal Leming
2330e7d2af Don't let elements that are only allowed once show up more than once.
git-svn-id: http://svn.robofab.com/branches/ufo3k@339 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-29 14:21:02 +00:00
Tal Leming
1c2b94ae3b Support height.
git-svn-id: http://svn.robofab.com/branches/ufo3k@338 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-29 14:15:40 +00:00
Tal Leming
9feddc8f8d Beginning GLIF 2 writing work.
git-svn-id: http://svn.robofab.com/branches/ufo3k@337 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-29 14:09:45 +00:00
Tal Leming
ba16039873 Don't toss up an error when contents.plist is missing. Just make the internal contents empty. This is necessary because a new glyph set will not have contents.plist.
git-svn-id: http://svn.robofab.com/branches/ufo3k@334 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-29 13:26:25 +00:00
Tal Leming
55026fe721 Don't use assert.
git-svn-id: http://svn.robofab.com/branches/ufo3k@333 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-29 01:14:14 +00:00
Tal Leming
1377173e91 contents.plist is required.
git-svn-id: http://svn.robofab.com/branches/ufo3k@332 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-29 00:55:34 +00:00
Tal Leming
8efd24ee72 Notes.
git-svn-id: http://svn.robofab.com/branches/ufo3k@331 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-29 00:43:08 +00:00
Tal Leming
3d5329bf52 Support reading the image element.
git-svn-id: http://svn.robofab.com/branches/ufo3k@329 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-29 00:29:57 +00:00
Tal Leming
2ff9c9d859 Support reading guidelines.
git-svn-id: http://svn.robofab.com/branches/ufo3k@328 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 20:58:42 +00:00
Tal Leming
ee99a36cdb Check unicode value.
git-svn-id: http://svn.robofab.com/branches/ufo3k@327 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 20:39:28 +00:00
Tal Leming
e6fae27c84 Break the mega function into smaller functions.
git-svn-id: http://svn.robofab.com/branches/ufo3k@326 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 20:27:55 +00:00
Tal Leming
74df04ae78 Lightly validate the point data.
git-svn-id: http://svn.robofab.com/branches/ufo3k@325 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 20:17:23 +00:00
Tal Leming
5c2e634bbf A move point is only allowed as the first point.
git-svn-id: http://svn.robofab.com/branches/ufo3k@324 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 19:18:33 +00:00
Tal Leming
dee7ce676d Component identifiers. Some very rough and incomplete identifier writing.
git-svn-id: http://svn.robofab.com/branches/ufo3k@323 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 19:04:22 +00:00
Tal Leming
720e733e72 identifier point pen fixes.
git-svn-id: http://svn.robofab.com/branches/ufo3k@322 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 18:16:03 +00:00
Tal Leming
c6ccaa5f1d Support contour identifiers.
git-svn-id: http://svn.robofab.com/branches/ufo3k@321 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 18:14:13 +00:00
Tal Leming
0731939b99 Be more strict while looking at points.
git-svn-id: http://svn.robofab.com/branches/ufo3k@320 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 18:07:13 +00:00
Tal Leming
8b52327bc3 Support reading point identifiers.
git-svn-id: http://svn.robofab.com/branches/ufo3k@319 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 17:50:55 +00:00
Tal Leming
9d4bbd62cb Support the height attribute of the advance element.
git-svn-id: http://svn.robofab.com/branches/ufo3k@318 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 17:30:41 +00:00
Tal Leming
15b8c74347 Catch bogus number values.
git-svn-id: http://svn.robofab.com/branches/ufo3k@317 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 17:27:25 +00:00
Tal Leming
7270b60dc9 Outline format 0 is no longer supported.
git-svn-id: http://svn.robofab.com/branches/ufo3k@316 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 17:21:07 +00:00
Tal Leming
22b52a3f48 Write layerinfo.plist tests.
git-svn-id: http://svn.robofab.com/branches/ufo3k@315 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 16:17:53 +00:00
Tal Leming
b504d01a34 Tests and fixes.
git-svn-id: http://svn.robofab.com/branches/ufo3k@314 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 15:29:10 +00:00
Tal Leming
48d65fdfc8 Glyph is referenced by GlyphSet.
git-svn-id: http://svn.robofab.com/branches/ufo3k@309 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 13:16:25 +00:00
Tal Leming
7029ca8b6e Reorganization.
git-svn-id: http://svn.robofab.com/branches/ufo3k@308 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 13:13:07 +00:00
Tal Leming
8d7d861e19 Some initial, broken support for layerinfo.plist.
git-svn-id: http://svn.robofab.com/branches/ufo3k@307 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 12:52:10 +00:00
Tal Leming
4282841cd2 Use the common file name maker.
git-svn-id: http://svn.robofab.com/branches/ufo3k@305 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 01:01:39 +00:00
Tal Leming
6494021974 New-style classes.
git-svn-id: http://svn.robofab.com/branches/ufo3k@304 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 00:46:51 +00:00
Tal Leming
2fd7dbbc17 Imports and test case splitting.
git-svn-id: http://svn.robofab.com/branches/ufo3k@288 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-18 12:16:25 +00:00
Tal Leming
534f66973f Moving ufoLib and glifLib to a new package.
git-svn-id: http://svn.robofab.com/branches/ufo3k@287 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-18 11:53:11 +00:00