12148 Commits

Author SHA1 Message Date
Tal Leming
88e3e8df0f Modified NewGlyph to make the fl.UpdateFont call optional, the newGlyph method of RFont no longer updates automatically and, most importantly, this makes importing UFOs into FontLab faster by a factor of "a lot."
Thanks to Georg Seifert for prompting us to look into this.

git-svn-id: http://svn.robofab.com/trunk@229 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2011-02-13 23:13:54 +00:00
pabs3
3de0e58f29 Fix bug in last commit
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@587 4cde692c-a291-49d1-8350-778aa11640f8
2011-02-13 07:28:42 +00:00
pabs3
d3d7250fc3 Be more thorough when working around font bugs in the hmtx table
https://bugs.launchpad.net/ubuntu/+source/fonttools/+bug/223884

git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@586 4cde692c-a291-49d1-8350-778aa11640f8
2011-02-13 07:01:11 +00:00
pabs3
d5721376f2 Be more thorough when working around font bugs in the loca/glyf tables
https://bugs.launchpad.net/ubuntu/+source/fonttools/+bug/223884

git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@585 4cde692c-a291-49d1-8350-778aa11640f8
2011-02-13 06:27:09 +00:00
pabs3
df16db5bb8 Be more thorough when working around font bugs in the OS/2 table
https://bugs.launchpad.net/ubuntu/+source/fonttools/+bug/223884

git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@584 4cde692c-a291-49d1-8350-778aa11640f8
2011-02-13 06:25:21 +00:00
pabs3
98caac29f3 Long-format loca tables are unsigned not signed.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@583 4cde692c-a291-49d1-8350-778aa11640f8
2011-02-13 06:24:19 +00:00
pabs3
86cee05817 Fix the instructions for building a Windows installer.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@582 4cde692c-a291-49d1-8350-778aa11640f8
2010-12-29 10:43:44 +00:00
Erik van Blokland
3c175fbe3b Update a couple of font.info attribute names to the new UFO2 names.
git-svn-id: http://svn.robofab.com/trunk@228 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2010-11-11 22:20:27 +00:00
Erik van Blokland
d607644015 Wrapper for exceptions raised by the UFOLib when converting bogus data to UFO2. Print the exception, move on. This function shouldn't fix it, just warn.
git-svn-id: http://svn.robofab.com/trunk@227 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2010-11-11 22:08:33 +00:00
Tal Leming
d263f2b416 Work around a bug in FL Windows.
git-svn-id: http://svn.robofab.com/trunk@226 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2010-05-05 17:14:56 +00:00
Erik van Blokland
77353dbc30 Tweak to export script.
git-svn-id: http://svn.robofab.com/trunk@218 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2010-01-15 09:12:23 +00:00
Erik van Blokland
a21efaa4d0 This compileGlyph isn't limited to specific anchor names.
git-svn-id: http://svn.robofab.com/trunk@217 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2010-01-11 20:55:42 +00:00
pabs3
1344bc9b62 Fix typos: 'neccesary' should be 'necessary'.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@581 4cde692c-a291-49d1-8350-778aa11640f8
2010-01-09 09:12:11 +00:00
Erik van Blokland
2dcd36633c moving changes from robofab trunk rev 202 into the ufo3 branch
git-svn-id: http://svn.robofab.com/trunk@203 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2010-01-05 12:40:15 +00:00
Tal Leming
052c6ee6f6 git-svn-id: http://svn.robofab.com/trunk@201 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c 2009-12-03 14:44:41 +00:00
pabs3
e7689a4856 Release fonttools version 2.3
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@579 4cde692c-a291-49d1-8350-778aa11640f8
2009-11-08 15:58:24 +00:00
pabs3
0682316b8c Fix loading the fontTools.misc.eexecOp module that speeds up fontTools.misc.eexec.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@578 4cde692c-a291-49d1-8350-778aa11640f8
2009-11-08 15:57:07 +00:00
pabs3
17012aabbb Fix some broken assertions in the cmap format 1 code.
Shame on Gentoo for not forwarding the patch upstream.

git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@577 4cde692c-a291-49d1-8350-778aa11640f8
2009-11-08 15:55:53 +00:00
pabs3
406cb2f7ba Install the manual page to the correct location.
Shame on MacPorts and Gentoo for not forwarding this change.

git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@576 4cde692c-a291-49d1-8350-778aa11640f8
2009-11-08 15:54:25 +00:00
pabs3
0a6dea0ac2 Fix typo in help output.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@575 4cde692c-a291-49d1-8350-778aa11640f8
2009-11-08 15:53:24 +00:00
pabs3
711afe95fc Add brief entries to Doc/changes.txt for the past two releases.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@574 4cde692c-a291-49d1-8350-778aa11640f8
2009-11-08 15:52:26 +00:00
pabs3
b86bf2286a Drop version number from Doc/install.txt
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@573 4cde692c-a291-49d1-8350-778aa11640f8
2009-11-08 15:51:41 +00:00
pabs3
f15d0b7896 Include the Doc/ChangeLog file in source tarballs
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@572 4cde692c-a291-49d1-8350-778aa11640f8
2009-11-08 15:50:43 +00:00
pabs3
6f22ca45ba Document the new -y option to choose which font in a TTC to decompile.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@571 4cde692c-a291-49d1-8350-778aa11640f8
2009-11-08 11:19:51 +00:00
pabs3
bc7b74803d updated unicode module to unicode 5.2.0
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@570 4cde692c-a291-49d1-8350-778aa11640f8
2009-11-08 11:00:00 +00:00
pabs3
86368e7ac0 Raising strings is deprecated in Python 2.5, raise an exception instead.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@569 4cde692c-a291-49d1-8350-778aa11640f8
2009-11-08 06:39:37 +00:00
Tal Leming
0ccd75cc66 'as' is a reserved keyword in Python 2.6.
git-svn-id: http://svn.robofab.com/trunk@200 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-09-03 04:09:29 +00:00
Erik van Blokland
43a4e6b5d4 Make sure there is a glyph to restore when requested. When the background is empty, it will return None rather than a glyph.
git-svn-id: http://svn.robofab.com/trunk@199 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2009-06-26 13:24:44 +00:00
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