146 Commits

Author SHA1 Message Date
Tal Leming
36e7ef962f Don't let a move sneak in after the a point has been added to the contour.
git-svn-id: http://svn.robofab.com/branches/ufo3k@348 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-30 17:04:00 +00:00
Tal Leming
dfdbe61945 Various buglets revealed by test cases.
git-svn-id: http://svn.robofab.com/branches/ufo3k@347 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-30 16:58:04 +00:00
Tal Leming
f5326ae801 Bug fixes.
git-svn-id: http://svn.robofab.com/branches/ufo3k@346 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-30 16:00:20 +00:00
Tal Leming
3001616877 Starting to test GLIF 1...and I found and fixed some bugs.
git-svn-id: http://svn.robofab.com/branches/ufo3k@345 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-30 15:25:47 +00:00
Tal Leming
61fc46288f Image and guideline fixes.
git-svn-id: http://svn.robofab.com/branches/ufo3k@344 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-30 00:39:34 +00:00
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
ff8428c052 Light validation during write.
git-svn-id: http://svn.robofab.com/branches/ufo3k@336 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-29 13:36:45 +00:00
Tal Leming
4afcd0f113 Lightly validate the contents of the kerning and groups during reading.
git-svn-id: http://svn.robofab.com/branches/ufo3k@335 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-29 13:31:37 +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
fe3a14c853 Image validator.
git-svn-id: http://svn.robofab.com/branches/ufo3k@330 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-29 00:40:33 +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
6aca8b3f71 More places where a UFOLibError should be raised.
git-svn-id: http://svn.robofab.com/branches/ufo3k@313 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 14:47:25 +00:00
Tal Leming
e03368c225 Return the validated data instead of the original data.
git-svn-id: http://svn.robofab.com/branches/ufo3k@312 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 13:59:47 +00:00
Tal Leming
710ad51bf6 More renaming.
git-svn-id: http://svn.robofab.com/branches/ufo3k@311 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 13:51:52 +00:00
Tal Leming
ef436e8ddf Renamed some of the validators that aren't font info specific.
git-svn-id: http://svn.robofab.com/branches/ufo3k@310 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 13:42:09 +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
0b7abcfc96 The names passed to the converter need to be lowercase.
git-svn-id: http://svn.robofab.com/branches/ufo3k@306 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-28 01:02:21 +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
ea4742cac3 Test cases and fixes.
git-svn-id: http://svn.robofab.com/branches/ufo3k@303 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-27 18:49:50 +00:00
Tal Leming
69f40c7c71 Oops.
git-svn-id: http://svn.robofab.com/branches/ufo3k@302 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-27 18:09:08 +00:00
Tal Leming
5eff9f3857 Kerning up conversion.
git-svn-id: http://svn.robofab.com/branches/ufo3k@301 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-27 17:58:45 +00:00
Tal Leming
1a66d823da Test fixes.
git-svn-id: http://svn.robofab.com/branches/ufo3k@300 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-27 17:56:02 +00:00
Tal Leming
1e9e8f5e84 Kerning conversion.
git-svn-id: http://svn.robofab.com/branches/ufo3k@299 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-27 17:42:28 +00:00