2004-08-07 Kenichi Handa * src/otfdrive.c (IGNORED_GLYPH): New macro. (gstring_subst, match_ids, match_chain_ids, match_classes) (match_chain_classes, match_coverages, match_chain_coverages): use IGNORED_GLYPH. (lookup_gsub): Likewise. Include OTF_MarkAttachmentType in flag. (lookup_gpos): Likewise. 2004-08-06 Kenichi Handa * src/otfdrive.c (lookup_gsub): Fix handling of Extension lookup. (lookup_gpos): Support Extension lookup. (gstring_subst): Fix previous change. 2004-08-05 Kenichi Handa * src/otf.h (enum OTF_LookupFlagBit): Fix OTF_IgnoreMarks. * example/otfview.c (update_seq_area): Fix sign of yoff. Support more positioning_type. * example/otfdump.c (dump_lookup_subtable_gpos): Add support for LookupType 5. * src/otfopen.c (read_ligature_attach): Fix for the case that an offset is NULL. * src/otfdrive.c (lookup_gpos): Add support for LookupType 5. Fix handling of flag. (gstring_subst): Fix previous change. 2004-08-04 Kenichi Handa * example/otfview.c (bidi, reversed): New variables. (update_seq_area): Call OTF_drive_gdef. If reversed is nonzero, reorder glyphs properly. Create pixmap if necessary. Handle OTF_XAdvance and OTF_XAdvDevice. (BidiProc): New function. (create_widgets): Setup bidi. * src/otfdrive.c (gstring_subst): New arg flag. Caller changed. Ignore glyphs specified in flag. (match_ids, match_classes, match_coverages): Likewise. (match_chain_ids, match_chain_classes, match_chain_coverages): New arg flag. (lookup_gsub): Fix handling of LookupFlag. (lookup_gpos): Likewise. Support more LookupType. * src/otf.h (OTF_LookupFlagIgnoreMask): New macro. 2004-07-29 Kenichi Handa * example/otfview.c (create_widgets): Fix width of index glyphs.. 2004-07-26 Kenichi Handa * src/otfopen.c (read_value_record): Fix typo. * src/otfdrive.c (lookup_gpos): Don't apply a GPOS feature twice. (OTF_drive_gpos): Initialize values positioning_type memeber. (OTF_drive_gsub): Fix previous change. 2004-07-24 Kenichi Handa * src/otfdrive.c (gstring_subst): Set `c' and `f.index' of OTF_Glyph. (OTF_drive_gsub): Iniialize f.index member of OTF_Glhph. * src/otf.h (OTF_Glyph): New union member u.index. 2004-07-23 Kenichi Handa * example/otfview.c: Big change to implement selection of script. 2004-07-12 Kenichi Handa * example/otfview.c: Big change to implement driving OpenType tables (GSUB and GPOS). * src/otfdrive.c (get_langsys): If script is NULL, use the first one in script_list. 2004-07-09 Kenichi Handa * src/otfdrive.c (lookup_gpos): Ignore glyphs whose ID is 0 (fix for the case of LookupType 2). 2004-07-08 Kenichi Handa * src/otfopen.c (read_class_set_list): Allocate the array *set by OTF_CALLOC. 2004-07-07 Kenichi Handa * src/otfdrive.c (lookup_gsub): For LookupType 5 Subformat 2, if ClassSet is not defined, do nothing. 2004-06-29 Kenichi Handa * src/otfdrive.c (lookup_gsub): Fix handling of lookup type 6 format 3. 2004-05-28 Kenichi Handa * example/otflist.c: Include and "config.h". (next_file): New function. (main): Call next_file. * configure.ac: Check functions scandir and alphasort. 2004-05-06 Kenichi Handa * example/otftobdf.c (registry): New variable. (dump_header): Include registry in the font name. (main): Handle the encoding arg of the format M-N. Without this arg, generate a font with raw-encoding. * src/otfdrive.c: Include "config.h". Delete '//' style comments. (lookup_encoding_0, lookup_encoding_2, lookup_encoding_4) (lookup_encoding_6, lookup_encoding_8, lookup_encoding_10) (lookup_encoding_12, OTF_drive_cmap2): New functions. * src/otfopen.c (read_name): Argument changed. Set OTF_NameRecord->ascii. If possible, convert Unicode sequence to ASCII. (read_name_table): Adjusted for the change of read_name. (read_cmap_table): Signal an error (not-yet-supported) if format is 2. Support for formats, 8, 10, 12. (read_value_record): Clear value_record at first. (read_lookup_subtable_gpos): Fix for the case subFormat is 1 and 2. (OTF_open): Check file name extension. * example/otflist.c: Include . (FATAL_ERROR): New macro. (print_tag, print_gsub_gpos_info, help_and_exit): New functions. (main): Handle -h, --help, -l args. Prefer family/style names extracted by the otf library. 2004-03-30 Kenichi Handa * src/otfopen.c (read_value_record): Clear value_record at first. (read_lookup_subtable_gpos): For Lookup Type 1, read Coverage at first. 2004-03-29 Kenichi Handa * example/otfdump.c (dump_lookup_subtable_gsub): For Lookup Type 7, fix arg to dump_lookup_subtable_gsub. (dump_lookup_subtable_gpos): Support Lookup Type 9. * autogen.sh: Run automake after autoheader. * src/otfopen.c (OTF_close): Free otf->filename. 2004-02-01 Kenichi Handa * Version 0.9 released. Copyright (C) 2003, 2004 National Institute of Advanced Industrial Science and Technology (AIST) Registration Number H15PRO112 This file is part of the m17n library. The m17n library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The m17n library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the m17n library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.