📄 changelog
字号:
* src/ftview.c (status): Add `preload' field. (parse_cmdline): Handle `-p' command line option. (usage): Updated. (main): * src/ftdump.c (main): Add glyph count dump.2006-04-26 David Turner <david@freetype.org> * Version 2.2 released. =======================2006-04-24 Werner Lemberg <wl@gnu.org> * src/ftview.c (Render_Stroke): Update parameters in call to FT_Stroker_New.2006-03-20 David Turner <david@freetype.org> Disable cache statistics dump, since the cache internals are not available anymore. Rename `-l' to `-L'. Add new command line options `-m text' and `-l render_mode'. * src/ftview.c (status): Add member `lcd_mode'. (Render_Text): Compensate the additional empty pixels inserted by Draw_Index. Hande number of glyph indices better. (parse_cmdline): Handle `-m' and `-l'. Updated. (usage): Updated. (main): Handle `status.lcd_mode'. Updated. Print cache statistics only conditionally (for FreeType versions lower than 2.2).2006-03-02 Chia-I Wu <b90201047@ntu.edu.tw> * src/ftcommon.c (string_render_prepare): Fix a possible crash.2006-02-28 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * Makefile: include modules.cfg to reflect module configuration, and ftvalid is built when required stubs (ftgxval and ftotval) are built in libfreetype.2006-02-27 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * mac/ftoldmac.m68k_far.make.txt, mac/ftoldmac.ppc_classic.make.txt: Update to new header inclusion introduced on 2006-02-16.2006-02-27 Chia-I Wu <b90201047@ntu.edu.tw> * src/ftcommon.c (my_face_requester): Attach the AFM only for PFA and PFB.2006-02-25 Werner Lemberg <wl@gnu.org> * src/ftbench.c, src/ftcommon.c, src/ftvalid.c: Add proper casts where necessary to allow compilation with C++. Other minor fixes to remove compiler warnings.2006-02-01 Werner Lemberg <wl@gnu.org> * Makefile (PLATFORM): Define to `unixdev' if PLATFORM=unix and DEVEL_DIR is defined. (BIN_DIR, OBJ_DIR): Replaced with... (BIN_DIR_2, OBJ_DIR_2): New variables, set with `?='. Update all callers. (BIN_DIR): Set also. (COMPILE): Add definition for FT_CONFIG_MODULES_H since we always build with an uninstalled FreeType version. (ftdump.$(SO), ftvalid.$(SO), ftview.$(SO)): Add -DFT2_BUILD_LIBRARY since these programs use internal headers. * graph/rules.mk, graph/*/rules.mk: s/OBJ_DIR/OBJ_DIR_2/. * src/ftcommon.c (string_render_prepare): Fix compiler warnings.2006-01-16 Chia-I Wu <b90201047@ntu.edu.tw> Add support for track kerning and a new rendering mode for kerning comparison to ftstring. * src/ftcommon.c (my_face_requester): Try to attach the file having the same name as the font, but with suffix `.afm'. (FTDemo_New): Updated. (FTDemo_String_Set_Kerning, FTDemo_String_Set_Vertical): Removed. (string_load): Rewritten. (string_render_prepare): New function. (FTDemo_String_Draw): Rewritten to have more flexibility. For example, we can now draw the string twice with different kerning modes without reloading the glyphs. * src/ftcommon.h (TGlyph): Add more data, mainly taken from FTDemo_Handle structure. (KERNING_DEGREE_XXX): New enumerations. (FTDemo_String_Context): New structure. (FTDemo_Handle): Updated. (FTDemo_String_Set_Kerning, FTDemo_String_Set_Vertical): Removed. (FTDemo_String_Draw): Updated. * src/ftstring.c: Updated along with many cleanups. (CELLSTRING_HEIGHT): New macro. (RENDER_MODE_XXX): New enumeration values. (status): Add more fields. (event_help, event_angle_change): Updated. (event_render_mode_change): New function. (Process_Event): Handle `1', `2', and `t' events. Update handling of `g', `k', and `V' events. (error_message): Renamed to... (write_header): This. Display point size and rotation angle. (main): Handle new render mode.2006-01-12 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> Add `ftoldmac' commandline program to test MacOS specific feature: font file access by FSSpec, font file search by old/new QuickDraw, and font name or ATS font name. * mac/ftoldmac.c: Added. * mac/Makefile: Unix Makefile for MacOS X. * mac/ftoldmac.m68k_far.make.txt: MPW Makefile skeleton. * mac/ftoldmac.ppc_carbon.make.txt: MPW Makefile skeleton. * mac/ascii2mpw.py: Python script to generate MPW Makefile from the skeletons. * mac/README: Add note about ftoldmac, because ft2demos/mac was originally for demos built by CodeWarrior.2005-12-08 Chia-I Wu <b90201047@ntu.edu.tw> * src/ftview.c (error_message): Renamed to write_header. Also write face size, first glyph index. Write glyph name if available. (main): Updated to use write_header.2005-12-04 Chia-I Wu <b90201047@ntu.edu.tw> * src/ftbench.c: Update copyright date. Use `getopt' from `common.h'.2005-12-04 Chia-I Wu <b90201047@ntu.edu.tw> * src/ftbench.c: Formatting. Make `face' and `charset' local variables. (btest_t): Use `const' qualifier for `title'. (bcharset_t): Change the type of `size' to `FT_Int'. (face_requester, benchmark): Updated because `face' is no longer global. (test_get_char_index, test_cmap_cache, get_charset): Updated because `charset' is no longer global. (main): New variables, `face' and `charset'. Updated because `face' and `charset' are local now. `get_charset' only when perform FT_BENCH_CMAP.2005-12-02 Chia-I Wu <b90201047@ntu.edu.tw> Overhaul `ftbench.' Now it can perform tests with arbitrary load flags and render mode. Testing `Render' instead of `Load + Render', for example, is also possible now. * src/ftbench.c: Overhauled.2005-11-30 Werner Lemberg <wl@gnu.org> Replace flag `-c' with `-v' to indicate verbosity. * src/ftdump.c (verbose): New global variable. (usage): Updated. (Print_Charmaps): Only take a single argument. Update caller. Always show some charmap info. Use `verbose'. (main): Remove verbose_cmap. Handle `-v' instead of `-c'. * src/common.c (getopt): s/illegal/invalid/.2005-11-30 Chia-I Wu <b90201047@ntu.edu.tw> * src/ftdump.c (Print_Charmaps): face->charmap might be NULL.2005-11-30 Chia-I Wu <b90201047@ntu.edu.tw> * src/ftdump.c (main): New command line option `c' to show the contents of charmaps. (Print_Charmaps): Take one more argument: `verbose'. (usage): Updated.2005-11-21 Werner Lemberg <wl@gnu.org> * graph/grinit.c (grDoneDevices): New function. * graph/graph.h (grInit, grDone): Remove unused declarations. (grDoneDevices): New declaration. * src/ftcommon.c (FTDemo_Display_Done): Call grDoneDevices. (FTDemo_Done): Free `handle'. * src/ftmulti.c (main): Call grDoneSurface and grDoneDevices.2005-11-18 Werner Lemberg <wl@gnu.org> * src/ftvalid.c (run_ot_validator, run_gx_validator, run_ckern_validator): Remove unused variable `memory'.2005-11-18 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * src/ftvalid.c: Use FT_TrueTypeGX_Validate, FT_ClassicKern_Validate and FT_OpenType_Validate instead of FT_FREE (it calls FT_Free_Debug of libfreetype, which is not a public function).2005-11-16 David Turner <david@freetype.org> * graph/graph.h: Updated. * graph/grdevice.c (grSurfaceDone): New function to free surface correctly. This was commented out previously. * graph/x11/grx11.c (gr_x11_device_done): Call XFreeCursor. (gr_x11_surface_done): Call XFreeGC to fix memory leak. * src/ftcommon.c (FTDemo_Display_Done): Call `grDoneSurface' instead of `free' to fix memory leak. * src/ftbench.c (main): Add the `-c' flag to specify maximum iteration count. Useful for repeat profiling. (usage): Updated.2004-09-29 Werner Lemberg <wl@gnu.org> * src/ftcommon.c (FT_Demo_Update_Current_Flags): Fix variable shadowing.2004-09-27 David Turner <david@freetype.org> Fix gamma handling, mainly for LCD modes. * graph/gblgblit.c (GRGB_TO_RGB565): Protect arguments correctly. * graph/gblcolor.h, graph/gblhbgr.h, graph/gblhrgb.h, graph/gblvbgr.h, graph/gblvrgb.h: Call gblender_use_channels. * graph/gblender.c (gblender_clear, gblender_reset): Handle blender cache. (gblender_use_channels): New function. (gblender_reset_key): Improve. (gblender_lookup, gblender_lookup_channel): Comment possible call to gblender_reset. Fix computation of `idx'. (gblender_reset_channel_key): Fix computation of `a' and `r'. * graph/gblender.h (GBLENDER_SHADE_INDEX): Corrected definition. (gblender_use_channels): New declaration. * src/Jamfile: Include ftcommon.c. Fix oder of link libraries.2004-09-22 David Turner <david@freetype.org> * src/ftcommon.c (FTDemo_Update_Current_Flags): Fix load flags computation to mimic libXft's behaviour.2005-08-30 Werner Lemberg <wl@gnu.org> * graph/graph.h (grFillRectangle): Comment out -- we don't have an implementation.2005-08-23 Masatake YAMATO <jet@gyve.org> * src/ftvalid.c: Add gxvalid support. (GX_VALIDATOR_SYMBOL): New definition. (CKERN_VALIDATOR_SYMBOL): New definition. (ValidatorType::GX_VALIDATE): New enum member. (ValidatorType::CKERN_VALIDATE): New enum member. (validator_symbols): Added GX_VALIDATOR_SYMBOL and CKERN_VALIDATOR_SYMBOL. (gx_table_spec): New const. (N_GX_TABLE_SPEC): New definition. (print_usage): Write about gxvalid and ckern valid. (run_gx_validator): New funtion. (list_gx_tables): Ditto. (run_ckern_validator): Ditto. (list_ckern_tables): Ditto. (main): Call new validators. * src/ftvalid.c: Following are misc modifications. (report_result): Use printf instead fprintf. Fix incorrect message. (main): Use switch/case instead of if/else when calling per validator funtions. Call FT_Done_Face. Use a loop to set validator. (print_usage): Insert empty line in usage strings. (validator_symbols): Added NULL as the last array element.2005-07-04 Chia I Wu <b90201047@ntu.edu.tw> * src/ftcommon.i: Removed. * src/ftgamma.c: Updated to use api provided by ftcommon.c. * Makefile: Make ftgamma depend on ftcommon.c. Remove dependency of ftmulti.c on ftcommon.i.2005-06-17 Werner Lemberg <wl@gnu.org> * Makefile: Update rules for ftview and ftstring which no longer depend on ftcommon.i but on ftcommon.c. (LINK_ITEMS, LINK_CMD, LINK_LIBS): New variables. (GRAPH_LINK2): Removed. (COMMON_LINK, GRAPH_LINK): Replace with... (LINK_COMMON, LINK_GRAPH): This. Use LINK_ITEMS, LINK_CMD, and LINK_LIBS. Update all affected targets. (LINK_NEW): Temporary new link command to handle executables which use ftcommon.c. (FTCOMMON_OBJ): New variable to handle ftcommon.c.2005-06-17 Chia I Wu <b90201047@ntu.edu.tw> * src/ftcommon.c, src/ftcommon.h: New files. * src/ftstring.c: Rewritten. Make the function keys more compatible with ftview.c. New key 'V' for vertical rendering. * src/ftview.c: Rewritten. Now we can use number keys (i.e. 1, 2, ...) to select rendering mode.2005-06-08 Werner Lemberg <wl@gnu.org> * Version 2.1.10 released. ==========================2005-05-26 Werner Lemberg <wl@gnu.org> * src/ftcommon.i (get_glyph_bitmap, glyph_to_bitmap): Initialize `target->grays' even for FT_PIXEL_MODE_MONO since it is tested in grBlitGlyphToBitmap. * graph/x11/grx11.c (gr_x11_surface_init): Initialize `xswa.border_pixel'.2005-05-25 Chia I Wu <b90201047@ntu.edu.tw> * src/ftcommon.i: Include FT_SYNTHESIS_H. Make `render_mode' an enumeration. * src/ftview.c (Render_Embolden): New function. (Process_Event, main): Update to `render_mode' enumeration.2005-05-23 Werner Lemberg <wl@gnu.org> * src/ftvalid (main) <'v'>: Add cast to make it compile with C++.2005-04-24 YAMATO Masatake <jet@gyve.org> * src/ftvalid.c: New file. * Makefile, src/Jamfile: Add ftvalid.2005-03-04 Werner Lemberg <wl@gnu.org> * src/ftgamma.c (Render_GammaGrid), src/ftmulti.c (parse_design_coords), src/ftview.c (Render_GammaGrid): Fix compiler warnings.2005-02-28 David Turner <david@freetype.org> * src/ftbench.c (preload, memory_file, memory_size): New global variables. (bench_open_close): Handle `preload' by using `FT_New_Memory_Face'. (main): Remove `preload', `memory_file', and `memory_size'.2005-02-23 David Turner <david@freetype.org> * src/ftbench.c (fetch_test, cbox_test): Fix memory leaks.2005-02-12 Werner Lemberg <wl@gnu.org> Make ft2demos support a separate build directory. * Makefile (have_makefile): New variable. Set if the build directory is the same as the source directory. (GRAPH_DIR): Give full path. (BIN_DIR, OBJ_DIR): Updated. (FT_INCLUDES): Include $(OBJ_BUILD). (LINK) <unix>: Fix path to `libtool'. * README: Updated.2004-12-15 Werner Lemberg <wl@gnu.org> * src/ftcommon.i (glyph_to_bitmap): Don't convert 1bpp bitmaps.2004-12-14 Werner Lemberg <wl@gnu.org> * src/ftcommon.i: Include new FT_BITMAP_H. Remove dead code. (ft_bitmap): New global variable. (init_freetype): Call FT_Bitmap_New. (done_freetype): Call FT_Bitmap_Done. (glyph_to_bitmap, get_glyph_bitmap): Handle 2bpp and 4bpp bitmaps using FT_Bitmap_Convert.2004-12-12 Steve Hartwell <shspamsink@comcast.net> * graph/grblit.c (blit_mono_to_rgb32): Advance read buffer properly.2004-11-26 Jouk Jansen <joukj@hrem.stm.tudelft.nl> * vms_make.com: Don't assume that the ft2demos package is a subdirectory of freetype2. Fix `ccopt'.2004-11-19 Werner Lemberg <wl@gnu.org> * src/ftview.c (Render_Waterfall): Handle size as points, not as pixels. * src/ftstring.c (layout_glyphs), src/ftmulti.c (LoadChar), src/ftcommon.i (set_current_image_type): Always use FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH.2004-11-16 Dr. Martin P.J. Zinser <zinser@decus.de> * vms_make.com: Updated to be in sync with vms_make.com from FT2.2004-10-18 Werner Lemberg <wl@gnu.org> * graph/gblblit.c (gblender_blit_init): Fix blit test.2004-09-08 Jouk Jansen <joukj@hrem.stm.tudelft.nl> * graph/x11/grx11.c [__VMS]: Include vms_x_fix.h. * vms_make.com: Updated.2004-08-29 Werner Lemberg <wl@gnu.org> * graph/gblender.c (gblender_lookup, gblender_lookup_channel): s/index/idx/ to avoid compiler warnings.2004-08-19 Werner Lemberg <wl@gnu.org> * src/ftstring.c (prepare_text): Handle encoding = 0.2004-07-14 Werner Lemberg <wl@gnu.org> * src/ftcommon.i (get_glyph_bitmap): Don't accept a `missing' character with zero or negative width.2004-07-13 David Turner <david@freetype.org> * graph/x11/grx11.c (gr_x11_device_init): Fix memory leak. * src/ftbench.c (bench_cmap_parse): New function, assigned to key `j'. (usage, main): Updated. * src/ftcommon.i (install_font_file): Initialize `cmap_index' here. (my_face_requester): Don't initialize `cmap_index'. (glyph_to_bitmap): Add new argument to get glyph reference. (get_glyph_bitmap): Updated. * src/ftview.c (Render_Stroke): Increase stroker limit. Fix glyph indices. Fix memory leaks.2004-06-24 David Turner <david@freetype.org> * Version 2.1.9 released. =========================2004-06-24 Werner Lemberg <wl@gnu.org>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -