edited TTFont.__init__ doc string, the recalcBBoxes explanation should now be clearer and more complete.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@33 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
parent
65df20b04f
commit
98d780d766
@ -41,7 +41,7 @@ Dumping 'prep' table...
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
__author__ = "Just van Rossum, just@letterror.com"
|
__author__ = "Just van Rossum, just@letterror.com"
|
||||||
__version__ = "$Id: __init__.py,v 1.6 1999-12-23 14:44:02 Just Exp $"
|
__version__ = "$Id: __init__.py,v 1.7 1999-12-23 15:16:22 Just Exp $"
|
||||||
__release__ = "1.0a6"
|
__release__ = "1.0a6"
|
||||||
|
|
||||||
import os
|
import os
|
||||||
@ -82,14 +82,16 @@ class TTFont:
|
|||||||
argument: this is the way to create a new empty font.
|
argument: this is the way to create a new empty font.
|
||||||
In this case you can optionally supply the 'sfntVersion' argument.
|
In this case you can optionally supply the 'sfntVersion' argument.
|
||||||
|
|
||||||
If the recalcBBoxes argument is false, a number of things will not
|
If the recalcBBoxes argument is false, a number of things will *not*
|
||||||
be recalculated upon save/compile:
|
be recalculated upon save/compile:
|
||||||
- glyph bounding boxes
|
1) glyph bounding boxes
|
||||||
- maxp font bounding box
|
2) maxp font bounding box
|
||||||
- hhea min/max values
|
3) hhea min/max values
|
||||||
This is needed with certain kinds of CJK fonts (ask Werner Lemberg ;-)
|
(1) is needed for certain kinds of CJK fonts (ask Werner Lemberg ;-).
|
||||||
but also limits memory use greatly, which should have some impact on
|
Additionally, upon importing an XML file, this option cause glyphs
|
||||||
the time needed to compile large fonts.
|
to be compiled right away. This should reduce memory consumption
|
||||||
|
greatly, and therefore should have some impact on the time needed
|
||||||
|
to parse/compile large fonts.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import sfnt
|
import sfnt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user