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
dc76c06826
Add method getAll() which returns a sorted list of unique slice values.
...
git-svn-id: http://svn.robofab.com/trunk@89 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-05-30 17:52:38 +00:00
Erik van Blokland
689472553a
Handle components. Handle self overlapping bezier segments with any number of intersections.
...
git-svn-id: http://svn.robofab.com/trunk@88 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-05-30 09:47:54 +00:00
Erik van Blokland
2093fcbad2
Removed print statements.
...
git-svn-id: http://svn.robofab.com/trunk@87 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-05-30 08:18:23 +00:00
Erik van Blokland
ac33952df5
Pen to calculate the horizontal margins of a glyph at any given height by intersecting the shape with a horizontal line. Results can be obtained for the whole glyph with pen.getMargins() or for each individual contour with pen.getCounterMargins().
...
git-svn-id: http://svn.robofab.com/trunk@86 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-05-30 07:49:39 +00:00
Erik van Blokland
3950975a77
AngledMarginPen calculates the left and right side-bearings of a glyph, relative to slanted margins. The angle is taken from font.info.italicAngle. Curves are approximated. This also contains 5 convenience functions to set and get individual margins and to center the glyph.
...
The approximation can be improved upon, perhaps taking the size of the bezier into account and so on. Also the italic offset, as it was used in RoboFog is missing, and could perhaps be taken into account.
git-svn-id: http://svn.robofab.com/trunk@85 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-05-27 09:00:58 +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
Erik van Blokland
9ec254f80c
New folder for contributed robofab packages.
...
git-svn-id: http://svn.robofab.com/trunk@79 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-04-20 10:01:52 +00:00
Erik van Blokland
60185e1a37
Upped the version for the new installer.
...
git-svn-id: http://svn.robofab.com/trunk@72 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-03-11 10:23:11 +00:00
Just van Rossum
ba0f821bd5
back out attempt to expose svn rev number
...
git-svn-id: http://svn.robofab.com/trunk@71 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-03-11 09:50:04 +00:00
Just van Rossum
824225ceb7
try to get the svn rev number in the source
...
git-svn-id: http://svn.robofab.com/trunk@69 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-03-11 09:39:16 +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