396 Commits

Author SHA1 Message Date
Tal Leming
9042825ed5 Remove old print.
git-svn-id: http://svn.robofab.com/branches/ufo3k@404 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-15 17:45:06 +00:00
Tal Leming
d16091c27e Support new anchor element.
git-svn-id: http://svn.robofab.com/branches/ufo3k@403 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-15 17:43:57 +00:00
Tal Leming
3bc6561e49 Allow an empty list for the gasp records.
git-svn-id: http://svn.robofab.com/branches/ufo3k@402 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-13 18:19:04 +00:00
Tal Leming
b4d892e896 Typo.
git-svn-id: http://svn.robofab.com/branches/ufo3k@401 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-13 00:43:23 +00:00
Tal Leming
494a13641e Support the recent fsSelection bits.
git-svn-id: http://svn.robofab.com/branches/ufo3k@400 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-13 00:41:58 +00:00
Tal Leming
88cb646590 Incorrect failure.
git-svn-id: http://svn.robofab.com/branches/ufo3k@399 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-11 19:31:52 +00:00
Tal Leming
3721472a50 If a value is None and it is required, don't flag it as invalid.
git-svn-id: http://svn.robofab.com/branches/ufo3k@398 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-11 19:29:16 +00:00
Tal Leming
dcd97ba1ea Fallback to the image transformation defaults if an attribute is not provided.
git-svn-id: http://svn.robofab.com/branches/ufo3k@397 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-11 17:31:27 +00:00
Tal Leming
0155bb7b55 Use a kwarg with the validator.
git-svn-id: http://svn.robofab.com/branches/ufo3k@396 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-11 16:43:35 +00:00
Tal Leming
2d0ded609c Raise errors in UFO 1 and UFO 2.
git-svn-id: http://svn.robofab.com/branches/ufo3k@395 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-11 16:21:58 +00:00
Tal Leming
e4f9b0f78c API for working with images.
git-svn-id: http://svn.robofab.com/branches/ufo3k@394 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-11 16:19:11 +00:00
Tal Leming
3e5c4689f5 Stray print.
git-svn-id: http://svn.robofab.com/branches/ufo3k@393 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-11 16:00:06 +00:00
Tal Leming
cac9911f3e Reworked the Unicode value fetching and added new component and image fetching options.
git-svn-id: http://svn.robofab.com/branches/ufo3k@392 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-11 14:08:24 +00:00
Tal Leming
427241c82d Name fetching is no longer needed.
git-svn-id: http://svn.robofab.com/branches/ufo3k@391 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-11 11:39:44 +00:00
Tal Leming
b6bed08dfa Don't read GLIF 2 in UFO 1 or UFO 2.
git-svn-id: http://svn.robofab.com/branches/ufo3k@390 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-07 13:54:14 +00:00
Tal Leming
87af17931c Pass the UFO format version to the glyph set.
git-svn-id: http://svn.robofab.com/branches/ufo3k@389 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-07 02:13:17 +00:00
Tal Leming
4579b92abc Bug fixes.
git-svn-id: http://svn.robofab.com/branches/ufo3k@388 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-06 19:53:38 +00:00
Tal Leming
2cddcd6e3e Be a bit more lenient with dict-like objects at the top level.
git-svn-id: http://svn.robofab.com/branches/ufo3k@387 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-06 19:23:48 +00:00
Tal Leming
91b7ba0e72 Make it possible to rename the default layer.
git-svn-id: http://svn.robofab.com/branches/ufo3k@386 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-06 17:50:53 +00:00
Tal Leming
145902c57a Allow renaming to the default directory.
git-svn-id: http://svn.robofab.com/branches/ufo3k@385 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-06 16:09:40 +00:00
Tal Leming
2d17dfc09e Don't support in-place down conversion. It's too lossy. The way to do it is to write a UFO with the lower format to a temporary location, use shutil to remove the old UFO, then use shutil to move the new UFO. This will remove any unknown data (ie .svn directories) but this would likely happen in an in-place down conversion anyway.
git-svn-id: http://svn.robofab.com/branches/ufo3k@384 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-06 13:30:11 +00:00
Tal Leming
aaab0ed06d Test cases for an edge case.
git-svn-id: http://svn.robofab.com/branches/ufo3k@383 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-05 20:48:36 +00:00
Tal Leming
d3325920cc Reworked the getGlyphSet method.
git-svn-id: http://svn.robofab.com/branches/ufo3k@382 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-05 19:53:22 +00:00
Tal Leming
0f15096209 Bit of doc was no longer true.
git-svn-id: http://svn.robofab.com/branches/ufo3k@381 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-05 17:44:30 +00:00
Tal Leming
f535a151c1 Use the correct validator name.
git-svn-id: http://svn.robofab.com/branches/ufo3k@374 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-04 19:09:29 +00:00
Tal Leming
85d719a3e8 Default name check.
git-svn-id: http://svn.robofab.com/branches/ufo3k@373 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-04 17:37:37 +00:00
Tal Leming
a893cb584e Misnamed variable.
git-svn-id: http://svn.robofab.com/branches/ufo3k@372 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-04 17:14:27 +00:00
Tal Leming
1f8032900c Don't write the advance attributes if they are the defaults.
git-svn-id: http://svn.robofab.com/branches/ufo3k@371 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-04 01:42:57 +00:00
Tal Leming
3a6306bc9b Add a set of all UFO 3 info attribute names.
git-svn-id: http://svn.robofab.com/branches/ufo3k@370 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-04 01:07:22 +00:00
Tal Leming
bed4f7e109 Simple PNG validator.
git-svn-id: http://svn.robofab.com/branches/ufo3k@369 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-03 19:17:39 +00:00
Tal Leming
b579bdaeae qcurve special case.
git-svn-id: http://svn.robofab.com/branches/ufo3k@368 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-03 16:36:29 +00:00
Tal Leming
adbaed7e92 Doc changes.
git-svn-id: http://svn.robofab.com/branches/ufo3k@367 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-03 16:24:24 +00:00
Tal Leming
0c40dfacc2 Layer contents validation tweaks.
git-svn-id: http://svn.robofab.com/branches/ufo3k@366 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-03 16:20:45 +00:00
Tal Leming
e54ede1593 Unreferenced variables.
git-svn-id: http://svn.robofab.com/branches/ufo3k@365 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-03 15:59:13 +00:00
Tal Leming
c8cad30c69 Lightly validate the lib.
git-svn-id: http://svn.robofab.com/branches/ufo3k@364 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-03 15:56:08 +00:00
Tal Leming
6c9707f49d Only strictly test known public.* names.
git-svn-id: http://svn.robofab.com/branches/ufo3k@363 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-03 15:46:19 +00:00
Tal Leming
a829b0dc72 Validate the groups.
git-svn-id: http://svn.robofab.com/branches/ufo3k@362 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-03 15:17:31 +00:00
Tal Leming
1ef1e295c9 Kerning prefixes are no longer part of fontnfo.plist.
git-svn-id: http://svn.robofab.com/branches/ufo3k@361 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-03 14:43:17 +00:00
Tal Leming
0f29e91393 Layer level guides are gone.
git-svn-id: http://svn.robofab.com/branches/ufo3k@360 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-03 14:12:52 +00:00
Tal Leming
e0e56d0318 Layer name checks.
git-svn-id: http://svn.robofab.com/branches/ufo3k@359 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-03 14:09:47 +00:00
Erik van Blokland
215e39c6ae Extra quote at beginning of file.
git-svn-id: http://svn.robofab.com/branches/ufo3k@358 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-10-01 07:51:10 +00:00
Tal Leming
d255dbd3ea Note.
git-svn-id: http://svn.robofab.com/branches/ufo3k@357 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-30 20:51:34 +00:00
Tal Leming
47f460131c Use layerName in the character mapping method.
git-svn-id: http://svn.robofab.com/branches/ufo3k@356 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-30 20:44:21 +00:00
Tal Leming
2d25bf65dc Make the layer contents writing a caller requirement rather than something that silently happens. This makes it easier for everyone to manage layer order.
git-svn-id: http://svn.robofab.com/branches/ufo3k@355 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-30 20:41:24 +00:00
Tal Leming
52ebe94634 GLIF 2 tests.
git-svn-id: http://svn.robofab.com/branches/ufo3k@354 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-30 19:24:43 +00:00
Tal Leming
3c9d93bbe4 Don't write default transformation values.
git-svn-id: http://svn.robofab.com/branches/ufo3k@353 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-30 19:24:10 +00:00
Tal Leming
2bcdd6b4ba Missed a guideline requirement.
git-svn-id: http://svn.robofab.com/branches/ufo3k@352 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-30 19:12:05 +00:00
Tal Leming
597177a172 Missed identifiers.
git-svn-id: http://svn.robofab.com/branches/ufo3k@351 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-30 18:55:15 +00:00
Tal Leming
8bf6bfe974 Move the Glyph object and functions to testSupport so that they can be used for GLIF 2.
git-svn-id: http://svn.robofab.com/branches/ufo3k@350 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-30 18:31:44 +00:00
Tal Leming
5d433d8de5 GLIF 1 should now be (relatively) throughly tested.
git-svn-id: http://svn.robofab.com/branches/ufo3k@349 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-09-30 18:28:15 +00:00