0a0c22569deab933df21127e75db5c81f724f292 |
|
02-Jan-2018 |
Werner Lemberg <wl@gnu.org> |
Update copyright year.
/external/freetype/src/cid/cidparse.c
|
563ae780229aef5b6f6ae361211d5fb733de8321 |
|
04-Jan-2017 |
Werner Lemberg <wl@gnu.org> |
Update copyright year.
/external/freetype/src/cid/cidparse.c
|
d61b042568d395ef7d55d0475db9203ae0f6b3cf |
|
08-Oct-2016 |
Werner Lemberg <wl@gnu.org> |
[cid] Fix parsing of subr offsets. Bug introduced 2016-05-16. * src/cid/cidparse.c (cid_parser_new): Fix off-by-one error.
/external/freetype/src/cid/cidparse.c
|
2ecf89b481703315bffa8e0b10c2e970224b52e6 |
|
28-Sep-2016 |
Werner Lemberg <wl@gnu.org> |
*/*: s/FT_MEM_ZERO/FT_ZERO/ where appropriate.
/external/freetype/src/cid/cidparse.c
|
3c61a2f51d0da10b9e4d6ef8c526588a3a337bb9 |
|
26-Aug-2016 |
Werner Lemberg <wl@gnu.org> |
[cid] Fix commit from 2016-05-16. * src/cid/cidparse.c (cid_parser_new): Fix off-by-one errors.
/external/freetype/src/cid/cidparse.c
|
c3e83b4662962bdfd6cf9c6f4acaececea806ca0 |
|
11-Jul-2016 |
Werner Lemberg <wl@gnu.org> |
Replace calls to `atol' with `strtol'. We later on need strtol's `endptr' feature. * include/freetype/config/ftstdlib.h (ft_atol): Replace with... (ft_strtol): ... this. * src/base/ftdbgmem.c (ft_mem_debug_init): Updated. * src/cid/cidparse.c (cid_parser_new): Ditto. * src/type42/t42drivr.c (t42_get_name_index), src/type42/t42objs.c (T42_GlyphSlot_Load): Ditto.
/external/freetype/src/cid/cidparse.c
|
09f0e0fcbef4d99f3be9312554d7bb1688911411 |
|
16-May-2016 |
Werner Lemberg <wl@gnu.org> |
[cid] Fix scanning for `StartData' and `/sfnts' (#47892). * src/cid/cidparse.c (STARTDATA, STARTDATA_LEN, SFNTS, SFNTS_LEN): New macros. (cid_parser_new): Fix and document algorithm.
/external/freetype/src/cid/cidparse.c
|
9adeab6452a220270c311f756d55acd734fd52ea |
|
13-Jan-2016 |
Werner Lemberg <wl@gnu.org> |
Update copyright year.
/external/freetype/src/cid/cidparse.c
|
2bf03eb7296dc7ebb97b24fe3957a2e33c9672df |
|
20-Feb-2015 |
Werner Lemberg <wl@gnu.org> |
[cid] Fix signedness issues and emit some better error codes. * src/cid/cidgload.c, src/cid/cidload.h, src/cid/cidobjs.c, src/cid/cidparse.h: Apply. * src/cid/cidload.c: Apply. (parse_fd_array): Reject negative values for number of dictionaries. * src/cid/cidparse.c: Apply. (cid_parser_new): Reject negative values for hex data length.
/external/freetype/src/cid/cidparse.c
|
f57fc59e016217687362b6fbbc4842fab932175c |
|
17-Jan-2015 |
Werner Lemberg <wl@gnu.org> |
Run `src/tools/update-copyright'.
/external/freetype/src/cid/cidparse.c
|
7be2a94a50109773459414687151d70a99a1b6bd |
|
08-Feb-2014 |
Sean McBride <sean@rogue-research.com> |
Fix clang static analyzer and compiler warnings. * src/autofit/afhints.c (af_glyph_hints_align_weak_points), src/autofit/afloader (af_loader_load_g) <FT_GLYPH_FORMAT_COMPOSITE>, src/base/ftcalc.c (FT_MSB), src/base/ftoutln.c (FT_Outline_Decompose), src/bdf/bdfdrivr.c (bdf_interpret_style), src/cff/cffparse.c (cff_parse_integer), src/cid/cidparse.c (cid_parser_new), src/pfr/pfrload.c (pfr_phy_font_load), src/raster/ftraster.c (Decompose_Curve), src/sfnt/sfdriver.c (sfnt_get_ps_name), src/sfnt/ttcmap.c (tt_cmap12_next, tt_cmap13_next), src/smooth/ftgrays.c (gray_hline): Remove dead code. * src/autofit/afmodule.c (af_property_get_face_globals, af_property_set, af_property_get), src/base/ftbitmap.c (ft_gray_for_premultiplied_srgb_bgra): Make functions static. * src/base/ftobjs.c (ft_remove_renderer): Protect against library == NULL. (ft_property_do): Make function static. * src/base/ftrfork.c: Include `ftbase.h'. * src/sfnt/ttsbit.c (tt_face_load_sbix_image) [!FT_CONFIG_OPTION_USE_PNG], src/type1/t1gload.c (T1_Compute_Max_Advance): Avoid compiler warning. * src/truetype/ttinterp.c (TT_New_Context): Reduce scope of variable.
/external/freetype/src/cid/cidparse.c
|
badf317840acc5c6224318e447d1d3d30a1f4460 |
|
06-Jun-2013 |
Werner Lemberg <wl@gnu.org> |
Next round of compiler fixes. * builds/win32/ftdebug.c, builds/wince/ftdebug.c (ft_debug_init): Add proper cast. * include/freetype/internal/ftserv.h (FT_SERVICE_UNAVAILABLE): Fix cast. * include/freetype/internal/ftstream.h: Decorate stream and frame macros with `FT_Long' and `FT_ULong' as appropriate. * src/base/ftrfork.c (raccess_guess_darwin_hfsplus, raccess_guess_darwin_newvfs): Use cast. * src/bdf/bdflib.c (_bdf_set_default_spacing): Use cast. * src/cache/ftcmanag.c (FTC_Manager_Check): Fix cast. * src/cache/ftcmanag.h (FTC_ManagerRec): Ditto. * src/cff/cf2arrst.c (cf2_arrstack_setNum_Elements): Use cast. * src/cff/cf2ft.c (cf2_freeSeacComponent): Ditto. * src/cff/cffobjs.c (remove_subset_prefix, remove_style): Ditto. * src/cid/cidparse.c (cid_parser_new): Use cast. * src/pcf/pcfdrivr.c (PCF_Glyph_Load): Use cast. * src/psaux/psobjs.c (reallocate_t1_table): Fix argument type. * src/raster/ftraster.c (ft_black_reset): Use cast. * src/truetype/ttgxvar.c (FT_Stream_FTell): Use cast. (ALL_POINTS): Fix cast. * src/type1/t1driver.c (t1_ps_get_font_value): Add casts. * src/type1/t1parse.c (T1_Get_Private_Dict): Add cast.
/external/freetype/src/cid/cidparse.c
|
059bc335ce42220b222763379e89d0cbf2b949eb |
|
14-Mar-2013 |
Werner Lemberg <wl@gnu.org> |
*/*: Use `FT_THROW'. This is essentially a mechanical conversion, adding inclusion of `FT_INTERNAL_DEBUG_H' where necessary, and providing the macros for stand-alone compiling modes of the rasterizer modules. To convert the remaining occurrences of FT_Err_XXX and friends it is necessary to rewrite the code. Note, however, that it doesn't harm if some cases are not handled since FT_THROW is a no-op.
/external/freetype/src/cid/cidparse.c
|
70cf8c5e6d249523ed474e548b4c9e1d226c77df |
|
26-Nov-2011 |
Werner Lemberg <wl@gnu.org> |
Improve tracing. * src/bdf/bdfdrivr.c (BDF_Face_Done), src/pcf/pcfdrivr.c (PCF_Face_Done): Remove tracing message. * src/bdf/bdfdrivr.c (BDF_Face_Init), src/cff/cffobjs.c (cff_face_init), src/cid/cidobjs.c (cid_face_init), src/pfr/pfrobjs.c (pfr_face_init), src/sfnt/sfobjs.c (sfnt_init_face), src/truetype/ttobjs.c (tt_face_init), src/type1/t1objs.c (T1_Face_Init), src/type42/t42objs.c (T42_Face_Init), src/winfonts/winfnt.c (FNT_Face_Init): Add `greeting' message. * src/sfnt/sfobjs.c (sfnt_open_font), src/type42/t42objs.c (T42_Open_Face): Improve tracing.
/external/freetype/src/cid/cidparse.c
|
3630bf7eb59d28172cd0472f43d7cad847fc9f46 |
|
26-Nov-2011 |
Werner Lemberg <wl@gnu.org> |
[cid] Fix error code. * src/cid/cidparse.c (cid_parser_new): Do it.
/external/freetype/src/cid/cidparse.c
|
7fd7c6f2e91f874f846fb84027ba28d89c6fbf6c |
|
31-Jul-2009 |
suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> |
cid: Fix some data types mismatching with their sources.
/external/freetype/src/cid/cidparse.c
|
86e041b5a8de508bbfa2d2b3452a5b1dcaa46952 |
|
21-Mar-2009 |
Werner Lemberg <wl@gnu.org> |
Remove redundant header inclusions. This covers many Ghostscript Coverity issues. * src/*: Do it.
/external/freetype/src/cid/cidparse.c
|
4d2815db504a9a75fb717a1fa9da3d0f5f0881ef |
|
01-Jun-2007 |
Werner Lemberg <wl@gnu.org> |
(cid_parser_new): Exit properly if no `StartData' has been seen at all.
/external/freetype/src/cid/cidparse.c
|
bebc7b11c52c00e8edfaf2ba38ca25d135404a1c |
|
01-Jun-2007 |
Werner Lemberg <wl@gnu.org> |
* src/cid/cidparse.c (cid_parser_new): Don't continue second search pass for `StartData' if an error has occurred.
/external/freetype/src/cid/cidparse.c
|
b8004d2e884fe0315a0bf072964356a126a5a016 |
|
07-Jan-2007 |
Werner Lemberg <wl@gnu.org> |
* src/cid/cidparse.c (cid_parser_new): Improve error message for Type 11 fonts. Scan for `/sfnts' token.
/external/freetype/src/cid/cidparse.c
|
e6b6f3733ebf4b7f95eb56180f79dbacd21c8d50 |
|
07-Jan-2007 |
Werner Lemberg <wl@gnu.org> |
* src/cid/cidparse.c (cid_parser_new): Reject Type 42 CID-keyed fonts.
/external/freetype/src/cid/cidparse.c
|
6be99f9104c458eeda48a51adeb65ce20ade45c3 |
|
09-Feb-2006 |
Werner Lemberg <wl@gnu.org> |
* src/cid/cidparse.c (cid_parse_new): Remove shadowing variable. Formatting.
/external/freetype/src/cid/cidparse.c
|
4f41d63b02c58bf3512878f71f4f0a07ca2359fa |
|
09-Feb-2006 |
Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> |
fix src/cid/cidparse.c for too-short CIDFont
/external/freetype/src/cid/cidparse.c
|
1d565fb01bfe2cc02955b675230a600bb8bb1b56 |
|
13-Feb-2005 |
Werner Lemberg <wl@gnu.org> |
* src/type1/t1load.c (read_binary_data): Return more meaningful value. (parse_encoding, parse_subrs, parse_charstrings, parse_dict): Check parser error value after call to T1_Skip_PS_Token (where necessary). * src/type1/t1parse.c (T1_Get_Private_Dict): Check parser error value after call to T1_Skip_PS_Token. * src/cid/cidparse.c (cid_parser_new): Check parser error value after call to cid_parser_skip_PS_token. * src/type42/t42parse.c (t42_parse_encoding, t42_parse_sfnts, t42_parse_charstrings, t42_parse_dict): Check parser error value after call to T1_Skip_PS_Token (where necessary). * src/psaux/psobjc.c (skip_string, ps_parser_skip_PS_token, ps_tobytes): Add error messages.
/external/freetype/src/cid/cidparse.c
|
ef512e3ec62d21049d2c1f6983887e6534ca5b14 |
|
23-Jan-2004 |
Werner Lemberg <wl@gnu.org> |
Add support for the hexadicimal representation of binary data started with `StartData' in CID-keyed Type 1 fonts. * include/freetype/internal/t1types.h (CID_FaceRec): Add new members `binary_data' and `cid_stream'. * src/cid/cidload.c (cid_read_subrs): Use `face->cid_stream'. (cid_hex_to_binary): New auxiliary function. (cid_face_open): Add new argument `face_index' to return quickly if less than zero. Updated all callers. Call `cid_hex_to_binary', then open and assign memory stream to `face->cid_stream' if `parser->binary_length' is non-zero. * src/cid/cidload.h: Updated. * src/cid/cidobjs.c (cid_face_done): Free `binary_data' and `cid_stream'. * src/cid/cidparse.c (cid_parser_new): Check arguments to `StartData' and set parser->binary_length accordingly. * src/cid/cidparse.h (CID_Parser): New member `binary_length'. * src/cid/cidgload.c (cid_load_glyph): Use `face->cid_stream'. * docs/CHANGES: Updated. include/freetype/config/ftstdlib.h (ft_atoi): Replaced with... (ft_atol): This. * src/base/ftdbgmem.c: s/atol/ft_atol/. * src/type42/t42drivr.c: s/ft_atoi/ft_atol/.
/external/freetype/src/cid/cidparse.c
|
6cda9c489d2cc4841932551363c87fbc647d5357 |
|
22-Jan-2004 |
Werner Lemberg <wl@gnu.org> |
* include/freetype/ftcache.h: Delete duplicated definition of FTC_FaceID. * src/cff/cffdrivr.c (cff_get_cmap_info): Call sfnt module's TT CMap Info service function if the cmap comes from sfnt. Return 0 if the cmap is sythesized in cff module. Formatting; updating copyright.
/external/freetype/src/cid/cidparse.c
|
52f911a12d1c552b9fad3a2fb33b9e04ff2d92ee |
|
07-Oct-2003 |
Werner Lemberg <wl@gnu.org> |
Heavy modification of the PS parser to handle comments and strings correctly. This doesn't slow down the loading of PS fonts significantly since charstrings aren't affected. * include/freetype/config/ftstdlib.h (ft_xdigit): Renamed to... (ft_isxdigit): This. Updated all callers. (ft_isdigit): New alias to `isdigit'. * include/freetype/internal/psaux.h (PS_Parser_FuncsRec): Renamed `skip_alpha' to `skip_PS_token'. Add parameter to `to_bytes' and change some argument types. * src/psaux/psauxmod.c (ps_parser_funcs): Updated. * src/psaux/psobjs.c (ft_char_table): New array to map character codes (ASCII and EBCDIC) of digits to numbers. (OP): New auxiliary macro holding either `>=' or `<' depending on the character encoding. (skip_comment): New function. (skip_spaces): Use it. (skip_alpha): Removed. (skip_literal_string, skip_string): New functions. (ps_parser_skip_PS_token): New function. This is a better replacement of... (ps_parser_skip_alpha): Removed. (ps_parser_to_token, ps+parser_to_token_array): Updated. (T1Radix): Rewritten, using `ft_char_table'. (t1_toint): Renamed to... (ps_toint): This. Update all callers. Use `ft_char_table'. (ps_tobytes): Add parameter to handle delimiters and change some argument types. Use `ft_char_table'. (t1_tofixed): Renamed to... (ps_tofixed): This. Update all callers. Use `ft_char_table'. (t1_tocoordarray): Renamed and updated to... (ps_tocoordarray): This. Update all callers. (t1_tofixedarray): Renamed and updated to... (ps_tofixedarray): This. Update all callers. (t1_tobool): Renamed to... (ps_tobool): This. Update all callers. (ps_parser_load_field): Updated. (ps_parser_load_field_table): Use `T1_MAX_TABLE_ELEMENTS' everywhere. (ps_parser_to_int, ps_parser_to_fixed, ps_parser_to_coord_array, ps_parser_to_fixed_array): Skip spaces. Updated. (ps_parser_to_bytes): Add parameter to handle delimiters and change some argument types. Updated. * src/psaux/psobjs.h: Updated. * src/cid/cidload.c (cid_parse_dict): Updated. * src/cid/cidparse.c (cid_parser_new): Check whether the `StartData' token was really found. * src/cid/cidparse.h (cid_parser_skip_alpha): Updated and renamed to... (cid_parser_skip_PS_token): This. * src/type1/t1parse.h (T1_ParserRec): Use `FT_Bool' for boolean fields. (T1_Skip_Alpha): Replaced with... (T1_Skip_PS_Token): This new macro. * src/type1/t1parse.c (hexa_value): Removed. (T1_Get_Private_Dict): Use `ft_isxdigit' and `psaux->ps_parser_funcs_to_bytes' for handling ASCII hexadecimal encoding. After decrypting, replace the four random bytes at the beginning with whitespace. * src/type1/t1load.c (t1_allocate_blend): Use proper error values. (parser_blend_design_positions, parse_blend_design_map, parse_weight_vector): Updated. (is_space): Handle `\f' also. (is_name_char): Removed. (read_binary_data): Updated. (parse_encoding): Use `ft_isdigit'. Updated. (parse_subrs): Updated. (TABLE_EXTEND): New macro. (parse_charstrings): Updated. Provide a workaround for buggy fonts which have more entries in the /CharStrings dictionary then expected; the function now adds some slots and skips entries which still exceed the new limit. (parse_dict): Updated. Terminate on the token `closefile'. * src/type42/t42parse.c (T1_Skip_Alpha): Replaced with... (T1_Skip_PS_Token): This new macro. Updated all callers. (t42_parse_encoding): Use `ft_isdigit'. * src/base/ftmm.c (ft_face_get_mm_service): Return FT_Err_OK if success.
/external/freetype/src/cid/cidparse.c
|
b08fe2dc7af972a61f4e6bcadd7bb522861faec5 |
|
27-Aug-2002 |
David Turner <david@freetype.org> |
* massive re-formatting changes to many, many source files. I don't want to list them all here. The operations performed were all logical transformations of the sources: - trying to convert all enums and constants to CAPITALIZED_STYLE, with #define definitions like #define my_old_constants MY_NEW_CONSTANT - big, big update of the documentation comments * include/freetype/freetype.h, src/base/ftobjs.c, src/smooth/ftsmooth.c, include/freetype/ftimage.h: adding support for LCD-optimized rendering though the new constants/enums: FT_RENDER_MODE_LCD, FT_RENDER_MODE_LCD_V FT_PIXEL_MODE_LCD, FT_PIXEL_MODE_LCD_V this is still work in progress, don't expect everything to work correctly though most of the features have been implemented. * adding new FT_LOAD_XXX flags, used to specify both hinting and rendering targets: FT_LOAD_TARGET_NORMAL :: anti-aliased hinting & rendering FT_LOAD_TARGET_MONO :: monochrome bitmaps FT_LOAD_TARGET_LCD :: horizontal RGB/BGR decimated hinting & rendering FT_LOAD_TARGET_LCD_V :: vertical RGB/BGR decimated hinting & rendering note that FT_LOAD_TARGET_NORMAL is 0, which means that the default behaviour of the font engine is _unchanged_.
/external/freetype/src/cid/cidparse.c
|
b3d5e9cf03dce78e606b79c81cb1f29ce06555d5 |
|
28-Jul-2002 |
Werner Lemberg <wl@gnu.org> |
s/ft_memset/FT_MEM_SET/. s/FT_MEM_SET/FT_MEM_ZERO/ where appropriate.
/external/freetype/src/cid/cidparse.c
|
94ffae5239631a18b8b5a39674c0afa8a992410e |
|
14-Apr-2002 |
Werner Lemberg <wl@gnu.org> |
* src/cff/cffgload.c (CFF_Parse_CharStrings): s/rand/Rand/ to avoid compiler warning. formatting/fixing ChangeLog
/external/freetype/src/cid/cidparse.c
|
d15bc0d13a163995e1ca11925349bd64d1c33617 |
|
12-Apr-2002 |
David Turner <david@freetype.org> |
* README.UNX: updated the Unix-specific quick-compilation guide to warn about the GNU Make requirement at compile time.. * include/freetype/config/ftstdlib.h, include/freetype/config/ftconfig.h, include/freetype/config/ftheader.h, include/freetype/internal/ftmemory.h, include/freetype/internal/ftobjs.h, src/autohint/ahoptim.c, src/base/ftdbgmem.c, src/base/ftdebug.c, src/base/ftmac.c, src/base/ftobjs.c, src/base/ftsystem.c, src/cache/ftcimage.c, src/cache/ftcsbits.c, src/cff/cffdriver.c, src/cff/cffload.c, src/cff/cffobjs.c, src/cid/cidload.c, src/cid/cidparse.c, src/cid/cidriver.c, src/pcf/pcfdriver.c, src/pcf/pcfread.c, src/psaux/t1cmap.c, src/psaux/t1decode.c, src/pshinter/pshalgo1.c, src/pshinter/pshalgo2.c, src/pshinter/pshrec.c, src/psnames/psmodule.c, src/raster/ftraster.c, src/sfnt/sfdriver.c, src/sfnt/ttload.c, src/sfnt/ttpost.c, src/smooth/ftgrays.c, src/type1/t1afm.c, src/type1/t1driver.c, src/type1/t1gload.c, src/type1/t1load.c, src/type1/t1objs.c, src/type1/t1parse.c: added the new configuration file "ftstdlib.h" used to define aliases for all ISO C library functions used by the engine (e.g. strlen, qsort, setjmp, etc...) this eases the porting of FreeType 2 to exotic environments like XFree86 modules/extensions.. also removed many #include <string.h>, #include <stdlib.h>, etc... from the engine's sources where they're not needed..
/external/freetype/src/cid/cidparse.c
|
44be4d56fcc5f9530d45247c0f08f17c0c71fa85 |
|
30-Mar-2002 |
Werner Lemberg <wl@gnu.org> |
formatting, copyright
/external/freetype/src/cid/cidparse.c
|
e459d742e6236df43f542b8c29dfdcf05d69716c |
|
22-Mar-2002 |
David Turner <david@freetype.org> |
* include/freetype/internal/ftmemory.h, and a lot of other files !!: changed the names of memory macros. Examples: MEM_Set => FT_MEM_SET MEM_Copy => FT_MEM_COPY MEM_Move => FT_MEM_MOVE ALLOC => FT_ALLOC FREE => FT_FREE REALLOC = >FT_REALLOC FT_NEW was introduced to allocate a new object from a _typed_ pointer.. note that ALLOC_ARRAY and REALLOC_ARRAY have been replaced by FT_NEW_ARRAY and FT_RENEW_ARRAY which take _typed_ pointer arguments. This results in _lots_ of sources being changed, but makes the code more generic and less error-prone..
/external/freetype/src/cid/cidparse.c
|
7d3a26425b35c1b037646667c2889260cae84b21 |
|
20-Mar-2002 |
David Turner <david@freetype.org> |
* renaming stream macros. Examples: FILE_Skip => FT_STREAM_SKIP FILE_Read => FT_STREAM_READ ACCESS_Frame => FT_FRAME_ENTER FORGET_Frame => FT_FRAME_EXIT etc...
/external/freetype/src/cid/cidparse.c
|
bc82f1bbefa90c649a9ad2c28938d55b4acbf380 |
|
01-Mar-2002 |
David Turner <david@freetype.org> |
* include/freetype/ftconfig.h: changed FT_LOCAL xxxx to FT_LOCAL( xxxx ) everywhere in the source. Sames goes for FT_LOCAL_DEF xxxx translated into FT_LOCAL_DEF( xxxxx )
/external/freetype/src/cid/cidparse.c
|
4e7eeeec7b24ac1b9f6f84e2f4a5b2ea3bce5fe7 |
|
28-Feb-2002 |
David Turner <david@freetype.org> |
yet another logical transformation of the internals to make them more consistent and understandable.. mainly, changing things like PS_Table => PS_TableRec + *PS_Table
/external/freetype/src/cid/cidparse.c
|
415235df1b955940ce85401a076f882e8717ef7b |
|
28-Jun-2001 |
Werner Lemberg <wl@gnu.org> |
finishing function header formatting updating copyrights
/external/freetype/src/cid/cidparse.c
|
93616ecb6601b133f9f33082c05d2675a556a001 |
|
27-Jun-2001 |
Werner Lemberg <wl@gnu.org> |
next round in function header formatting
/external/freetype/src/cid/cidparse.c
|
1f7f0e87e58168b2e739e2622db0ee06e0c9accc |
|
06-Jun-2001 |
Werner Lemberg <wl@gnu.org> |
Complete redesign of error codes. Please check ftmoderr.h for more details. * include/freetype/internal/cfferrs.h, include/freetype/internal/tterrors.h, include/freetype/internal/t1errors.h: Removed. Replaced with files local to the module. All extra error codes have been moved to `fterrors.h'. * src/sfnt/ttpost.h: Move error codes to `fterrors.h'. * src/autohint/aherrors.h, src/cache/ftcerror.h, src/cff/cfferrs.h, src/cid/ciderrs.h, src/pcf/pcferror.h, src/psaux/psauxerr.h, src/psnames/psnamerr.h, src/raster/rasterrs.h, src/sfnt/sferrors.h, src/smooth/ftsmerrs.h, src/truetype/tterrors.h, src/type1/t1errors.h, src/winfonts/fnterrs.h: New files defining the error names for the module it belongs to. * include/freetype/ftmoderr.h: New file, defining the module error offsets. Its structure is similar to `fterrors.h'. * include/freetype/fterrors.h (FT_NOERRORDEF): New macro. (FT_ERRORDEF): Redefined to use module error offsets. All internal error codes are now public; unused error codes have been removed, some are new. * include/freetype/config/ftheader.h (FT_MODULE_ERRORS_H): New macro. * include/freetype/config/ftoption.h (FT_CONFIG_OPTION_USE_MODULE_ERRORS): New macro. All other source files have been updated to use the new error codes; some already existing (internal) error codes local to a module have been renamed to give them the same name as in the base module. All make files have been updated to include the local error files. * src/cid/cidtokens.h: Replaced with... * src/cid/cidtoken.h: This file for 8+3 consistency. * src/raster/ftraster.c: Use macros for header file names.
/external/freetype/src/cid/cidparse.c
|
1429db6c4f6763b14cdb4474244ed6a60d7fea1b |
|
03-Apr-2001 |
Werner Lemberg <wl@gnu.org> |
* README: Formatting. * Jamfile: Fix typo. * src/cff/cffparse.c: Move error code #defines to... * include/freetype/internal/cfferrs.h: This file. * src/cff/cffdrivr.c, src/cff/cffobjs.c, src/cff/cffload.c: Replaced `FT_Err_*' with `CFF_Err_*'. * src/cid/cidparse.c: Replaced `FT_Err_*' with `T1_Err_*'. * src/psaux/psobjs.c, src/psaux/t1decode.c: Ditto. * src/sfnt/sfobcs.c, src/sfnt/ttload.c: Replaced `FT_Err_*' with `TT_Err_*'. * src/truetype/ttgload.c, src/truetype/ttobjs.c: Ditto. * src/type1/t1gload.c, src/type1/t1load.c, src/type1/t1objs.c, src/type1/t1parse.c: Replaced `FT_Err_*' with `T1_Err_*'. * include/freetype/internal/cfferrs.h: Add `CFF_Err_Unknown_File_Format'. * include/freetype/internal/t1errors.h: Add `T1_Err_Unknown_File_Format'. * include/freetype/internal/tterrors.h: Add `TT_Err_Unknown_File_Format'. * src/cff/cffload.h: Add `cff_*_encoding' and `cff_*_charset' references. * src/psaux/psobjs.c: Include `FT_INTERNAL_TYPE1_ERRORS_H'. * src/cff/cffobjs.c (CFF_Init_Face, CFF_Done_Face): Use FT_LOCAL_DEF. * src/cid/cidobjs.c (CID_Done_Driver): Ditto. * src/trutype/ttobjs.c (TT_Init_Face, TT_Done_Face, TT_Init_Size): Ditto. * src/type1/t1objs.c (T1_Done_Driver): Ditto. * src/pcf/pcfdriver.c (PCF_Done_Face): Ditto. * src/pcf/pcf.h: Use FT_LOCAL for `PCF_Done_Face'.
/external/freetype/src/cid/cidparse.c
|
8d3a401fa808a8c70bd6a9ce17d5a840fb0ae2db |
|
20-Mar-2001 |
David Turner <david@freetype.org> |
* builds/*/*-def.mk: changed the objects directory from "obj" to "objs" * include/freetype/config/ftheader.h: removed obsolete macros like FT_SOURCE_FILE, etc.. and added cache-specific macro definitions that were previously defined in <freetype/ftcache.h>. Added comments to be included in a new API Reference section. * src/*/*: removed the use of FT_SOURCE_FILE, etc.. now, each component needs to added its own directory to the include path at compile time. Modified all "rules.mk" and "descrip.mms" accordingly..
/external/freetype/src/cid/cidparse.c
|
914b289f1623b1030b66537d3b3ce4b652e4606c |
|
10-Mar-2001 |
Werner Lemberg <wl@gnu.org> |
* src/*/*.c: Added many casts to make code more 64bit-safe.
/external/freetype/src/cid/cidparse.c
|
170c0d4c0d009bc5c08434b46515238620a410bd |
|
13-Dec-2000 |
David Turner <david@freetype.org> |
* include/freetype/config/ft2build.h, include/freetype/internal/internal.h: fixed header inclusion macros to use direct definitions. This is the only way to do these things in a portable way :-( The rest of the code should follow shortly though everything compiles now.. * builds/compiler/intelc.mk, builds/compiler/watcom.mk, builds/win32/detect.mk: added support for the Intel C/C++ compiler, as well as _preliminary_ (read: doesn't work !!) support for Watcom. Also added a new setup target. Type "make setup list" for a list of supported command-line compilers on Win32..
/external/freetype/src/cid/cidparse.c
|
d5c1b27d58c4308745338cb0f3f710d6c1549982 |
|
12-Dec-2000 |
Werner Lemberg <wl@gnu.org> |
* include/freetype/config/ft2build.h (FT2_ROOT, FT2_CONFIG_ROOT): Removed. ANSI C doesn't (explicitly) allow macro expansion in arguments using `##'. (FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE): Use directory names directly. Make them configurable. Use `##' to strip leading and trailing spaces from arguments. * builds/unix/ft2unix.h: Adapted. * src/base/ftsystem.c (ft_alloc, ft_realloc, ft_free, ft_io_stream, ft_close_stream): Use FT_CALLBACK_DEF. * builds/unix/ftsystem.c: Use new header scheme. (FT_Done_Memory): Use free() from FT_Memory structure. * src/base/ftinit.c, src/base/ftmac.c: Header scheme fixes. * include/freetype/config/ft2build.h (FT2_CONFIG_ROOT, FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE, FT_SOURCE_FILE): Use `##' operator to be really ANSI C compliant.
/external/freetype/src/cid/cidparse.c
|
cc069beb2d2b6b1cb9f9b9f2af2a7ea12780f634 |
|
08-Dec-2000 |
Werner Lemberg <wl@gnu.org> |
cleanups
/external/freetype/src/cid/cidparse.c
|
19ed8afe60bbc5becf0fbbe3987a91b35a36aad4 |
|
08-Dec-2000 |
David Turner <david@freetype.org> |
- updated all source files to adhere to the new inclusion scheme - the CFF loader now loads the encodings and charset tables though doesn't use them for now
/external/freetype/src/cid/cidparse.c
|
76a5f62323d4fe3319d3d5410ded0ff9cab1f8c5 |
|
04-Nov-2000 |
David Turner <david@freetype.org> |
major reformatting of the sources: FT_EXPORT_DEF => FT_EXPORT FT_EXPORT_FUNC => FT_EXPORT_DEF BASE_DEF => FT_BASE BASE_FUNC => FT_BASE_DEF LOCAL_DEF => FT_LOCAL LOCAL_FUNC => FT_LOCAL_DEF LOCAL_FUNC_X => FT_CALLBACK_DEF LOCAL_DEF_X => FT_CALLBACK_TABLE FT_CPLUSPLUS => FT_CALLBACK_TABLE_DEF
/external/freetype/src/cid/cidparse.c
|
e4b32a5dc5517285dbecf9e058185a9d36712fbe |
|
31-Oct-2000 |
Werner Lemberg <wl@gnu.org> |
Removing trailing whitespace.
/external/freetype/src/cid/cidparse.c
|
3d568ac772be8445846dcce73e90242d774f5270 |
|
11-Oct-2000 |
Werner Lemberg <wl@gnu.org> |
A fix from Yamano'uchi to get correct font names.
/external/freetype/src/cid/cidparse.c
|
d1b7475be1da031a6f60c229cc0c96a37e6da37e |
|
24-Aug-2000 |
Werner Lemberg <wl@gnu.org> |
Formatting, small fixes. Adding basic input parameter checking for exported functions.
/external/freetype/src/cid/cidparse.c
|
34f1c2f5f4e12e84acfa1c12f6f8cedff6f162fa |
|
24-Aug-2000 |
David Turner <david@freetype.org> |
finally, the CID and Type1z driver are finished !! Werner, please have a look at the code and start re-formatting it :-)
/external/freetype/src/cid/cidparse.c
|
35ca3426ebfd290956dfd79e0e5c27ff1c9db6d9 |
|
31-Jul-2000 |
Werner Lemberg <wl@gnu.org> |
Fixing gcc warnings on Solaris.
/external/freetype/src/cid/cidparse.c
|
7fa51b5535dc05a91b96aac57835bf1473a24339 |
|
08-Jul-2000 |
Werner Lemberg <wl@gnu.org> |
Formatting. Adding some trivial error checking. Adding/Fixing tracing levels.
/external/freetype/src/cid/cidparse.c
|
a90663f591e995bd148d7b45178c9d63a2b7eb93 |
|
08-Jul-2000 |
David Turner <david@freetype.org> |
vast clean-up of the sources in order to allow flat directory compilation (by defining the FT_FLAT_COMPILE macro at compile time..) moved "freetype2/BUILD" to "freetype2/docs/BUILD"
/external/freetype/src/cid/cidparse.c
|
bd5ae40006959667299f09f13defa6f025caa744 |
|
05-Jul-2000 |
Werner Lemberg <wl@gnu.org> |
Run g++ on the FreeType library. This should make the use of code in C++ programs easier: Renamed FT_WordXX to FT_UIntXX. Changed a lot of void* to FT_Byte* if related to i/o streams -- FreeType always accesses streams byte-wise, so this makes sense IMHO. Added a lot of #ifdef __cplusplus to header files (and removed a few). Other minor syntax fixes (mostly casts). Replaced the variable `private' with `private_dict' -- `private' is reserved in C++.
/external/freetype/src/cid/cidparse.c
|
c6a92202c23b916536903921401e6289f8b66ca2 |
|
04-Jul-2000 |
David Turner <david@freetype.org> |
various clean-ups: - using FT_UNUSED instead of UNUSED - using FT_LONG64 and FT_INT64 instead of LONG64 & INT64 - using FT_SIZEOF_INT & FT_SIZEOF_LONG instead of... - removed the #ifdefs that used SIZEOF_INT, instead we now use FT_Int32 and FT_UInt32 when needed to support 32-bits quantity correctly on 64-bits systems..
/external/freetype/src/cid/cidparse.c
|
ac39ecdca8db98fcca49f56a615cd84d796bd9bc |
|
01-Jul-2000 |
Werner Lemberg <wl@gnu.org> |
Formatting... Fixing incorrect scaling of vertical advance width.
/external/freetype/src/cid/cidparse.c
|
deb4e9839608a996ff7bb54fcddba93ff1ec0544 |
|
29-Jun-2000 |
Werner Lemberg <wl@gnu.org> |
Formatting... Preprocessor lines now always start the line. Improved error handling in `base' module. Fixed a out-of-bounds error in ttgload.
/external/freetype/src/cid/cidparse.c
|
a1be2dcee38dd4448a365fd8932c52cca52f5445 |
|
28-Jun-2000 |
David Turner <david@freetype.org> |
cleaned up source code to avoid function name conflicts with Type 1 driver(s)
/external/freetype/src/cid/cidparse.c
|
a929ba9b205c9756f1c0d3c261185e3bacf7fdad |
|
25-Jun-2000 |
Werner Lemberg <wl@gnu.org> |
applying formatting again
/external/freetype/src/cid/cidparse.c
|
f0df85ba2a573c6c5c602667e9f91ef3b00c1d20 |
|
22-Jun-2000 |
David Turner <david@freetype.org> |
- MAJOR INTERNAL REDESIGN: A lot of internal modifications have been performed lately on the source in order to provide the following enhancements: - more generic module support: The FT_Module type is now defined to represent a handle to a given module. The file <freetype/ftmodule.h> contains the FT_Module_Class definition, as well as the module-loading public API The FT_Driver type is still defined, and still represents a pointer to a font driver. Note that FT_Add_Driver is replaced by FT_Add_Module, FT_Get_Driver by FT_Get_Module, etc.. - support for generic glyph image types: The FT_Renderer type is a pointer to a module used to perform various operations on glyph image. Each renderer is capable of handling images in a single format (e.g. ft_glyph_format_outline). Its functions are used to: - transform an glyph image - render a glyph image into a bitmap - return the control box (dimensions) of a given glyph image The scan converters "ftraster.c" and "ftgrays.c" have been moved to the new directory "src/renderer", and are used to provide two default renderer modules. One corresponds to the "standard" scan-converter, the other to the "smooth" one. The current renderer can be set through the new function FT_Set_Renderer. The old raster-related function FT_Set_Raster, FT_Get_Raster and FT_Set_Raster_Mode have now disappeared, in favor of the new: FT_Get_Renderer FT_Set_Renderer see the file <freetype/ftrender.h> for more details.. These changes were necessary to properly support different scalable formats in the future, like bi-color glyphs, etc.. - glyph loader object: A new internal object, called a 'glyph loader' has been introduced in the base layer. It is used by all scalable format font drivers to load glyphs and composites. This object has been created to reduce the code size of each driver, as each one of them basically re-implemented its functionality. See <freetype/internal/ftobjs.h> and the FT_GlyphLoader type for more information.. - FT_GlyphSlot had new fields: In order to support extended features (see below), the FT_GlyphSlot structure has a few new fields: linearHoriAdvance: this field gives the linearly scaled (i.e. scaled but unhinted) advance width for the glyph, expressed as a 16.16 fixed pixel value. This is useful to perform WYSIWYG text. linearVertAdvance: this field gives the linearly scaled advance height for the glyph (relevant in vertical glyph layouts only). This is useful to perform WYSIWYG text. Note that the two above field replace the removed "metrics2" field in the glyph slot. advance: this field is a vector that gives the transformed advance for the glyph. By default, it corresponds to the advance width, unless FT_LOAD_VERTICAL_LAYOUT was specified when calling FT_Load_Glyph or FT_Load_Char bitmap_left: this field gives the distance in integer pixels from the current pen position to the left-most pixel of a glyph image WHEN IT IS A BITMAP. It is only valid when the "format" field is set to "ft_glyph_format_bitmap", for example, after calling the new function FT_Render_Glyph. bitmap_top: this field gives the distance in integer pixels from the current pen position (located on the baseline) to the top-most pixel of the glyph image WHEN IT IS A BITMAP. Positive values correspond to upwards Y. loader: this is a new private field for the glyph slot. Client applications should not touch it.. - support for transforms and direct rendering in FT_Load_Glyph: Most of the functionality found in <freetype/ftglyph.h> has been moved to the core library. Hence, the following: - a transform can be specified for a face through FT_Set_Transform. this transform is applied by FT_Load_Glyph to scalable glyph images (i.e. NOT TO BITMAPS) before the function returns, unless the bit flag FT_LOAD_IGNORE_TRANSFORM was set in the load flags.. - once a glyph image has been loaded, it can be directly converted to a bitmap by using the new FT_Render_Glyph function. Note that this function takes the glyph image from the glyph slot, and converts it to a bitmap whose properties are returned in "face.glyph.bitmap", "face.glyph.bitmap_left" and "face.glyph.bitmap_top". The original native image might be lost after the conversion. - when using the new bit flag FT_LOAD_RENDER, the FT_Load_Glyph and FT_Load_Char functions will call FT_Render_Glyph automatically when needed.
/external/freetype/src/cid/cidparse.c
|
9ca2af38384a3fc3a26cc7eae96c59ad08aca2b2 |
|
21-Jun-2000 |
Werner Lemberg <wl@gnu.org> |
A new formatting orgy. Added some `#if 0' to completely disable the CID AFM stuff. In case this is not correct please fix.
/external/freetype/src/cid/cidparse.c
|
f9b8dec437dd84060bcd82a555c92fecff848aa7 |
|
16-Jun-2000 |
David Turner <david@freetype.org> |
major reformatting of the modules source code in order to get rid of most of the basic types redefinitions (i.e. FT_Int instead of "FT_Int", etc..) The format-specific prefixs like "TT_", "T1_", "T2_" & 'CID_" are now only used in relevant structures.. fixed Werner's fix to t2gload.c :-) other small bug fixes
/external/freetype/src/cid/cidparse.c
|
e3c11d7f004b906bebf610cc8bdb5320494fd157 |
|
16-Jun-2000 |
Werner Lemberg <wl@gnu.org> |
A new round of formatting, adding/fixing documentation etc.
/external/freetype/src/cid/cidparse.c
|
e1d5dd78f4a75697a2584deac4af71dd21939f6a |
|
07-Jun-2000 |
Werner Lemberg <wl@gnu.org> |
Moved all *errors.h header files to include/freetype/internal for consistency. Removed unused error message.
/external/freetype/src/cid/cidparse.c
|
1c0d4acb256927c69bcfadc47c98458754e20865 |
|
06-Jun-2000 |
Werner Lemberg <wl@gnu.org> |
Fine-tuned a lot of tracing levels to make them more functional with ftview. Added a lot of \n to tracing messages. Fixed a serious bug in loading SBit offsets (missing parentheses around a xxx ? yyy : zzz construct). Replaced most GET_xxx() functions with calls to READ_Frame() in ttsbit.c
/external/freetype/src/cid/cidparse.c
|
04aa800ce982d340befbec799ed9d3735eb6bd64 |
|
01-Jun-2000 |
David Turner <david@freetype.org> |
added a CID-keyed font driver in "src/cid" fixed two bugs in the smooth renderer
/external/freetype/src/cid/cidparse.c
|