Erik van Blokland
66379b05fd
Check the type of the path string before it is passed to the fontlab GenerateFont method. FL doesn't like unicode strings.
...
git-svn-id: http://svn.robofab.com/trunk@198 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-06-25 08:50:25 +00:00
Erik van Blokland
a364526b9c
SetMaskToGlyph now uses FLPointContourPen which ignores any components the source glyph might have. In FontLab components do not work in the background and cause the application to suffer from premature and unexpected cessation of activities.
...
git-svn-id: http://svn.robofab.com/trunk@197 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-04-14 13:41:04 +00:00
Erik van Blokland
2ae7c0e8e5
FLPointContourPen as an alternative to FLPointPen. FLPointContourPen ignores the components. In some situations adding a component to a fl glyphs makes FontLab crash.
...
git-svn-id: http://svn.robofab.com/trunk@196 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-04-14 13:38:44 +00:00
Erik van Blokland
8ebdb26039
Unittests for the fixed Default Naming Scheme.
...
git-svn-id: http://svn.robofab.com/trunk@181 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-03-30 19:19:16 +00:00
Erik van Blokland
45908bd94a
Fix for ticket #6 , T_H and T_h glyphs would get the same glifname.
...
git-svn-id: http://svn.robofab.com/trunk@180 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-03-27 20:30:18 +00:00
Erik van Blokland
c6652dbf2c
Updated contents.plist, with the renamed F__A__B_.glif file.
...
git-svn-id: http://svn.robofab.com/trunk@179 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-03-27 20:24:02 +00:00
Erik van Blokland
f0da30ceca
Remove glyph with old name.
...
git-svn-id: http://svn.robofab.com/trunk@178 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-03-27 20:22:10 +00:00
Erik van Blokland
dff299e2ef
Renamed glyph with improved filename.
...
git-svn-id: http://svn.robofab.com/trunk@177 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-03-27 20:21:22 +00:00
Tal Leming
010d853105
defaultWidth was deprecated.
...
git-svn-id: http://svn.robofab.com/trunk@176 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-03-26 13:29:09 +00:00
Erik van Blokland
06fc7e9101
Seems like a typo error.
...
git-svn-id: http://svn.robofab.com/trunk@175 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-03-24 14:40:03 +00:00
pabs3
0e2aecec53
Fix some warnings due to signedness and 64-bitness issues
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@568 4cde692c-a291-49d1-8350-778aa11640f8
2009-03-24 09:42:15 +00:00
pabs3
044f8988d6
Fix arguments to diff in the roundTrip testing tool
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@567 4cde692c-a291-49d1-8350-778aa11640f8
2009-03-24 09:41:35 +00:00
pabs3
e70bb8af70
Remove old .cvsignore file
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@566 4cde692c-a291-49d1-8350-778aa11640f8
2009-03-23 07:11:54 +00:00
pabs3
005f59e389
Adapt Doc and MetaTools to the use of SVN instead of CVS
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@565 4cde692c-a291-49d1-8350-778aa11640f8
2009-03-22 15:32:29 +00:00
Erik van Blokland
c1c7f527c0
Remove AllFonts import, as it is defined in this file. Add functions for getting the data in the mask as a fab glyph, and setting the mask data with a fab glyph.
...
git-svn-id: http://svn.robofab.com/trunk@174 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-03-22 11:09:56 +00:00
Erik van Blokland
55270fc79c
This fixes a problem while exporting a font without classes to UFO format 1.
...
git-svn-id: http://svn.robofab.com/trunk@173 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-03-10 09:18:03 +00:00
Erik van Blokland
724ca7cf4f
Added the BSD license as it is on robofab.com. Upped the version to 1.2 "release".
...
git-svn-id: http://svn.robofab.com/trunk@172 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-02-28 17:45:26 +00:00
Tal Leming
ea39f12120
Merged ufo2 branch r95:170 into the trunk.
...
git-svn-id: http://svn.robofab.com/trunk@171 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-02-28 15:47:24 +00:00
pabs3
7e91e776c9
Apply remainder of #1675210 : add support for TrueType Collection (TTC) files.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@564 4cde692c-a291-49d1-8350-778aa11640f8
2009-02-22 08:55:00 +00:00
Erik van Blokland
1eb53b404e
This fixes a issue in importing ps zone information. I missed a bug in FL and fixed it in the wrong place.
...
The FL attribute font.blue_values_num can't be set to the highest number required to store 7 zones. Adam was asked about t his in september 2008, but didn't answer.
While this can't fix the FL bug, it can properly import all values up to the last one. A warning is printed when the last value is dropped.
git-svn-id: http://svn.robofab.com/trunk@163 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-02-17 08:43:08 +00:00
Erik van Blokland
65b2d92a9f
MarginPen now has a isHorizontal flag when initialising. Default set to True, the calculations will be horizontal. When False, the measurements will be vertical.
...
Scripts using MarginPen should continue to work without changes.
git-svn-id: http://svn.robofab.com/trunk@94 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-09-20 09:32:33 +00:00
jvr
d67cf25974
don't use 'as' as a name, it's a keyword in Python >= 2.6
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@563 4cde692c-a291-49d1-8350-778aa11640f8
2008-09-16 14:14:44 +00:00
Erik van Blokland
339ce1c71c
Test for glyph and font in the test.
...
git-svn-id: http://svn.robofab.com/trunk@93 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-07-28 23:23:45 +00:00
Erik van Blokland
04e27a3cca
MarginPen now pays attention to the transformation set for components.
...
git-svn-id: http://svn.robofab.com/trunk@92 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-07-28 23:21:29 +00:00
Erik van Blokland
6083cfc404
Token checkin to see if it works. Ignore.
...
git-svn-id: http://svn.robofab.com/trunk@91 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-07-14 20:14:50 +00:00
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
jvr
c63ac64007
fixed buglet that caused the last table in the font not to be padded to a 4-byte boundary (the spec is a little vague about this, but I believe it's needed, also, Suitcase may complain...)
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@562 4cde692c-a291-49d1-8350-778aa11640f8
2008-06-17 20:41:15 +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
pabs3
ba31c60465
Update changelog
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@560 4cde692c-a291-49d1-8350-778aa11640f8
2008-05-18 06:30:47 +00:00
pabs3
ff85008e80
Get ready to release version 2.2
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@559 4cde692c-a291-49d1-8350-778aa11640f8
2008-05-18 06:28:37 +00:00
jvr
4d29ba1595
updated unicode module to unicode 5.1.0
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@558 4cde692c-a291-49d1-8350-778aa11640f8
2008-05-17 09:21:49 +00:00
jvr
a220bf3567
a different fix for [1296026]: just comment out the offending assert
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@557 4cde692c-a291-49d1-8350-778aa11640f8
2008-05-17 08:52:33 +00:00
jvr
03e02adeb4
back out 'fix', as this solution isn't portable
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@556 4cde692c-a291-49d1-8350-778aa11640f8
2008-05-17 08:44:06 +00:00
jvr
2f3f24afd3
updated to aglfn 1.6
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@555 4cde692c-a291-49d1-8350-778aa11640f8
2008-05-16 17:33:56 +00:00
jvr
0cb8a08d89
cmap format 1 support, contributed by rroberts
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@554 4cde692c-a291-49d1-8350-778aa11640f8
2008-05-16 15:07:09 +00:00
pabs3
7487a3a7fb
Use setup.py sdist to create the tarball for distribution
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@553 4cde692c-a291-49d1-8350-778aa11640f8
2008-05-16 14:28:58 +00:00
pabs3
3697259346
Add cleaned-up and updated manual page from the Debian package.
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@552 4cde692c-a291-49d1-8350-778aa11640f8
2008-05-16 08:45:43 +00:00
pabs3
14654b2a88
Apply 1296026: fix tracebacks in some timezones
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@551 4cde692c-a291-49d1-8350-778aa11640f8
2008-05-16 07:17:26 +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
d7bd6f0ace
These have been renamed.
...
git-svn-id: http://svn.robofab.com/trunk@83 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-04-20 10:45:50 +00:00
Erik van Blokland
34ef397f91
Standardised script names on import or export.
...
git-svn-id: http://svn.robofab.com/trunk@82 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-04-20 10:45:06 +00:00
Erik van Blokland
d36721f978
Couple of tweaks to existing import / export scripts. Couple more import and export options.
...
git-svn-id: http://svn.robofab.com/trunk@81 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-04-20 10:40:28 +00:00
Erik van Blokland
630b06cf57
Remove 2 SVG scripts. They're not working and should not have been checked in.
...
git-svn-id: http://svn.robofab.com/trunk@80 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-04-20 10:19:09 +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
0cab92633e
A change to a RoboFab/FontLab glif to ufo export script. Handle "Cancel" nicer.
...
git-svn-id: http://svn.robofab.com/trunk@78 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-04-04 09:51:40 +00:00
Tal Leming
79e74dfafd
Whitespace change to test checkin permissions.
...
git-svn-id: http://svn.robofab.com/trunk@77 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-03-12 15:07:49 +00:00