Thread: [Indic-computing-cvs-logs] cvs commit: src/py-freetype freetype.pyx
Status: Alpha
Brought to you by:
jkoshy
From: Joseph K. <jk...@us...> - 2003-05-01 07:44:44
|
jkoshy 2003/05/01 00:44:43 PDT Modified files: py-freetype freetype.pyx Log: o Wrap the basic API exported by FreeType. Revision Changes Path 1.3 +482 -5 src/py-freetype/freetype.pyx |
From: Joseph K. <jk...@us...> - 2003-05-06 06:03:37
|
jkoshy 2003/05/05 23:03:37 PDT Modified files: py-freetype freetype.pyx Log: o Make the 'new_face' and 'new_memory_face' explicitly check that the 'face_index' requested is what gets returned by FreeType and raise an error otherwise. o Add support for an "Unknown" error message from FreeType. o Add a new method to the FT_Library class: 'is_known_format'. Revision Changes Path 1.6 +36 -3 src/py-freetype/freetype.pyx |
From: Joseph K. <jk...@us...> - 2003-05-07 11:10:46
|
jkoshy 2003/05/07 04:10:46 PDT Modified files: py-freetype freetype.pyx Log: - New stub classes: FT_Glyph, FT_Fixed, FT_Vector, FT_Matrix - Make FT_Err_* constants available at the top-level of this module for use by clients. Generate these via the `make-ft-errors' hack from the installed FreeType library headers. - FT_Exception objects now use the verbose (human readable) error string if converted to a printable string. - New stub functions for FT_Face() - Simulate readonly access to the underlying (FreeType) FT_Face object using __getattr__(). - Typo corrections Revision Changes Path 1.7 +208 -18 src/py-freetype/freetype.pyx |
From: Joseph K. <jk...@us...> - 2003-05-15 12:59:39
|
jkoshy 2003/05/15 05:59:38 PDT Modified files: py-freetype freetype.pyx Log: - API changes: + _FT_IntegralType objects can now be initialized from any Python object that support a conversion to a floating point number. This include FT_{Fixed,FTF26Dot6,Angle} objects as well as the usual strings, integers and float values. + _FT_IntegralType objects now support a 'set()' method. Direct access to the '.value' attribute has been removed. Access to the 'bits' attribute to get at the internal representation is still allowed. + All numeric operations on this type are defined in terms of numeric operations on 'float' values. + __getattr__ methods should return 'AttributeError' and not 'NameError' if the named attribute is not supported. Fixed. - Improve a few comments - Make type objects corresponding to each wrapper class available at the toplevel (e.g. FT_AngleType, Revision Changes Path 1.11 +87 -43 src/py-freetype/freetype.pyx |
From: Joseph K. <jk...@us...> - 2003-05-18 09:39:48
|
jkoshy 2003/05/18 02:39:47 PDT Modified files: py-freetype freetype.pyx Log: - Typo fix: FT_ENCODING_OLD_LATIN_1 -> FT_ENCODING_OLD_LATIN_2 - Wrap the FreeType FT_BBox type. - New class FT_CharMap. - Complete attribute access functionality for FT_Face objects. Revision Changes Path 1.13 +207 -15 src/py-freetype/freetype.pyx |
From: Joseph K. <jk...@us...> - 2003-05-19 14:26:46
|
jkoshy 2003/05/19 07:26:45 PDT Modified files: py-freetype freetype.pyx Log: - FT_Face objects: + Cache attributes that are expensive to compute (face_flags, style_flags, charmaps among others. + Add a 'postscript_name' attribute that retrieves the postscript name of the face if present. + Implement support for the 'available_sizes' attribute. + Return tuples instead of lists for 'face_flags', 'style_flags' and 'charmaps'. + add a new __is_valid__ method that checks if the face object is valid and which throws an exception otherwise. + Make all methods check for validity before proceeding. + Implement the get_BDF_charset_id method. + Implement the 'attach_file()' method. Revision Changes Path 1.14 +123 -27 src/py-freetype/freetype.pyx |
From: Joseph K. <jk...@us...> - 2003-05-20 14:39:12
|
jkoshy 2003/05/20 07:39:10 PDT Modified files: py-freetype freetype.pyx Log: - open up enough of the FT_ModuleRec and FT_DriverRec structures that a font drivers name can be retrieved. - Make the printable representation of FT_BBox and FT_CharMap objects a little more pleasant. - Consistently name helper functions. - FT_Face objects: add a new attribute 'driver_name' that returns the name of the font file driver for this face. Revision Changes Path 1.15 +30 -11 src/py-freetype/freetype.pyx |