src


Log

Author Commit Date CI Message
Behdad Esfahbod 9c42f05a 2009-05-18T17:43:49 Switch Pango to new, defunt, GPOS
Behdad Esfahbod 5e5eb057 2009-05-18T17:09:33 [HB] Start GPOS!
Behdad Esfahbod d79cae0b 2009-05-18T13:50:15 [HB] Minor
Behdad Esfahbod 8533bb98 2009-05-18T06:00:12 [GSUB] Protect against mismatching Extension subtable types
Behdad Esfahbod 64e67f75 2009-05-18T15:32:40 [GSUB] Minor
Behdad Esfahbod 969afd70 2009-05-18T05:47:47 [GSUB] Implement ReverseChainSingleSubst GSUB is done!
Behdad Esfahbod 4acaffd7 2009-05-18T05:29:29 [HB] Don't use G_LIKELY!
Behdad Esfahbod 3dcb12f1 2009-05-18T05:22:32 [GSUB] Oops, fix Extension check
Behdad Esfahbod e072c24e 2009-05-18T03:47:31 [HB] Implement backtrack matching
Behdad Esfahbod 02e1e5c6 2009-05-18T02:47:57 [HB] One more step to go, for fully working GSUB and ChainContext
Behdad Esfahbod 2e8fb6c3 2009-05-18T04:37:37 [HB] Tweak some constants and fix Coverage
Behdad Esfahbod f14c2b7a 2009-05-18T02:36:18 [HB] Further modularize Context matching
Behdad Esfahbod d6aae5f5 2009-05-18T04:25:22 [HB] Cleanup TODOs
Behdad Esfahbod 122f21fb 2009-05-18T04:21:53 [GSUB] Fix context_length handling in Ligature too
Behdad Esfahbod 47958dea 2009-05-18T04:17:47 [HB] Minor cleanup
Behdad Esfahbod e73a0c2a 2009-05-18T04:15:25 [HB] Correctly skip glyphs when applying (Chain)Context lookups
Behdad Esfahbod 7cff75ba 2009-05-18T04:09:05 [HB] Fix context_length checking
Behdad Esfahbod d0ba0557 2009-05-18T03:56:39 [HB] ChainContext complete IranNastaliq renders perfectly again!
Behdad Esfahbod 13ed4405 2009-05-18T02:14:37 [HB] A step closer to working ChainContext
Behdad Esfahbod e8cbaaf6 2009-05-18T02:03:58 [HB] Add HeadlessArrayTo<>
Behdad Esfahbod dcb6b602 2009-05-18T01:49:57 [HB] More template goodness
Behdad Esfahbod aa3d7adc 2009-05-17T23:17:56 [HB] More churning towards ChainContext lookups
Behdad Esfahbod 48f16ed9 2009-05-17T22:11:30 [HB] Towards sharing Context and ChainContext code
Behdad Esfahbod 6cf2a525 2009-05-17T21:11:49 [HB] Add check to avoid infinite recursion
Behdad Esfahbod 887c4b44 2009-05-17T21:06:08 [HB] Cosmetic
Behdad Esfahbod ca5290f4 2009-05-17T20:48:27 [HB] Start ChainContext and ReverseChainSingleSubst lookups
Behdad Esfahbod 433f4aea 2009-05-17T20:30:05 [HB] Remove stale TODO
Behdad Esfahbod 6f20f72e 2009-05-17T20:28:01 [HB] Split Layout-common tables into new files
Behdad Esfahbod f45107fe 2009-05-17T20:13:02 [HB] More shuffling
Behdad Esfahbod 19fc24f2 2009-05-17T09:45:32 [HB] Couple size checks
Behdad Esfahbod ecf17e84 2009-05-17T09:34:41 [HB] Propagate property of first glyph This slightly grows code size.
Behdad Esfahbod eca8e337 2009-05-17T09:07:27 [GSUB] Further optimize the main switch
Behdad Esfahbod 13068232 2009-05-17T08:59:01 [HB] Unify first glyph property checking
Behdad Esfahbod 66bf7ce4 2009-05-17T08:28:42 [HB] Move Context matching logic out of GSUB
Behdad Esfahbod a1625528 2009-05-17T07:52:11 [GSUB] Unify ContextSubst matching
Behdad Esfahbod f8dc67b3 2009-05-17T19:47:54 [HB] Cleanup format unions
Behdad Esfahbod da1097bc 2009-05-17T19:31:18 [HB] Use four bytes for Null Tag, not 5
Behdad Esfahbod c36238be 2009-05-17T07:39:34 [HB] Renames
Behdad Esfahbod 15c3e75b 2009-05-17T06:03:42 [HB] Simplify buffer
Behdad Esfahbod 36f78446 2009-05-17T05:52:32 [HB] Add TODO item
Behdad Esfahbod ee58aaeb 2009-05-17T05:14:33 [HB] Update copyright years
Behdad Esfahbod f4c95149 2009-05-17T04:59:56 [HB] Simplify more arrays
Behdad Esfahbod c9a7cbe9 2009-05-17T01:22:51 [HB] Use ArrayOf<> in GSUB
Behdad Esfahbod 5f810363 2009-05-17T00:54:25 [HB] Add ArrayOf<>
Behdad Esfahbod 238c855f 2009-05-17T00:22:37 [HB] Use OffsetTo<> for Coverage
Behdad Esfahbod 3d54bd12 2009-05-17T00:15:51 [HB] Use OffsetTo<> in more places
Behdad Esfahbod 9e4d9d7b 2009-05-17T00:09:20 [HB] Add OffsetTo template.
Behdad Esfahbod e07f8929 2009-05-16T23:20:48 [HB] Automate int-type size assertion
Behdad Esfahbod 8b835803 2009-05-16T22:48:14 [HB] Use templates for Null objects Also use a common pool for all nul-content ones.
Behdad Esfahbod 6e13d414 2009-05-16T20:15:16 [HB] Remove obsolete comment
Behdad Esfahbod 9f721cf3 2009-05-16T19:59:15 [GSUB] Start ChainContextSubst
Behdad Esfahbod 7fca9e52 2009-05-16T19:44:24 [GSUB] Implement ContextSubstFormat3
Behdad Esfahbod 1ff926a5 2009-05-15T20:25:37 [GSUB] Implement ContextSubstFormat2
Behdad Esfahbod fc36d945 2009-05-15T20:11:10 [GSUB] Add GSUB::substitute_lookup()
Behdad Esfahbod c43562b2 2009-05-15T18:54:53 [GSUB] Finish ContextSubstFormat1
Behdad Esfahbod 5ee21896 2009-05-15T13:28:56 [HB] Fix typo
Behdad Esfahbod 6b59c9b4 2009-05-15T01:00:36 [HB] Add TODO item
Behdad Esfahbod c5419b6c 2009-05-08T21:17:56 [HB] Remove DEFINE_NON_INSTANTIABLE
Behdad Esfahbod cdb317bc 2009-05-06T00:12:29 [GSUB] Towards Context subtitutes
Behdad Esfahbod c9c6a78a 2009-05-05T16:22:02 [GSUB] Minor refactoring
Behdad Esfahbod bb3899a5 2009-05-05T13:25:13 [GSUB] Implement ligature substitutions
Behdad Esfahbod 38b011a2 2009-05-04T20:21:57 [GSUB] Hook new GSUB up in Pango
Behdad Esfahbod a84e71ad 2009-04-16T16:53:40 [GSUB] Start Ligature subtable support
Behdad Esfahbod 0dff25f0 2009-05-08T21:12:18 [HB] Remove get_size()
Behdad Esfahbod 25c6c9a3 2009-05-08T19:09:17 [GSUB] ContextSubst format 1
Behdad Esfahbod f7022951 2009-05-08T18:45:53 [GSUB] Shuffle
Behdad Esfahbod a83e08f8 2009-05-07T12:53:02 [HarfBuzz] Start a TODO file
Behdad Esfahbod eed05b04 2009-05-06T00:25:59 [GSUB] minor
Behdad Esfahbod 52886ca5 2009-04-16T14:19:42 [GSUB] Implement Alternate subtables
Behdad Esfahbod 4f27ce7e 2009-04-16T13:40:13 [GSUB] Implement Extension subtables
Behdad Esfahbod 83e61ff4 2009-04-16T12:30:51 [GSUB] Fix reverse lookup loop like we did in the old code before
Behdad Esfahbod 5a0b7911 2009-04-16T04:45:30 [harfbuzz/GSUB] towards a partially working GSUB
Behdad Esfahbod 30bd763f 2009-04-15T22:56:15 Implement the first substitute()
Behdad Esfahbod ce48f039 2009-11-02T14:35:51 Merge harfbuzz-ng
Behdad Esfahbod 0e13beeb 2009-04-17T17:03:39 Use git.mk
Behdad Esfahbod 2d15e72c 2009-04-15T19:50:16 Give it a start at GSUB
Behdad Esfahbod 9d870f2a 2009-04-09T13:30:26 Bug 577952 – Error loading {GDEF,GSUB,GPOS} table 0x6EAD Detect TrueType Collections by checking the font data header instead of checking for "face->num_faces >1".
Behdad Esfahbod d49caf1f 2009-03-02T15:16:11 [opentype] Protect against illegal access for arrays of length zero
Behdad Esfahbod 66871797 2009-03-02T14:20:20 [opentype] Use size_t instead of uint for malloc wrappers
Behdad Esfahbod 3664e59c 2009-03-02T11:09:29 Fix Bug 572529 – Poor -I ordering can break build
Behdad Esfahbod aca4d113 2009-02-02T00:13:07 Allocate all array rows in a single ALLOC call. Saves over 100 alloc calls 2009-01-31 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/harfbuzz-gpos.c (Load_Mark2Array), (Free_Mark2Array): Allocate all array rows in a single ALLOC call. Saves over 100 alloc calls when loading DejaVu Sans,
Behdad Esfahbod c561d69c 2009-01-29T09:20:08 Remove ClassDef->Defined field. This is the comment accompanying it: 2009-01-29 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/harfbuzz-open.h: * pango/opentype/harfbuzz-gdef.c (Make_ClassRange), (HB_GDEF_Build_ClassDefinition): * pango/opentype/harfbuzz-gpos.c (Load_PosClassRule), (Load_ChainPosClassRule): * pango/opentype/harfbuzz-gsub.c (Load_SubClassRule), (Load_ChainSubClassRule): * pango/opentype/harfbuzz-open.c (Load_ClassDef1), (Load_ClassDef2), (_HB_OPEN_Load_ClassDefinition), (_HB_OPEN_Load_EmptyClassDefinition), (_HB_OPEN_Free_ClassDefinition): Remove ClassDef->Defined field. This is the comment accompanying it: The `Defined' field is not defined in the OpenType specification but apparently needed for processing fonts like trado.ttf: This font refers to a class which contains not a single element. We map such classes to class 0. The comment is correct that trado.ttf (MS Traditional Arabic) uses such classes. However, in my testing I couldn't identify any problems with the font if the special handling is removed. I also processed as many fonts as I could get my hand on and trado.ttf was the only not-totally-broken font hitting the special-case code. DejaVu fonts hit it too, but I'm sure they do not require the special-handling code. Most probably, that code introduces bugs in them. The special-casing was consuming lots of memory. EIGHT MEGABYTES for loading DejaVu Sans! While this could be complete fixed, I decided to remove the special-handling code altogether. I don't think it will make any real difference, and if it does, we'll fix fonts. Such hacks will not be in harfbuzz-ng anyway. Bug originally reported by nsf.
Behdad Esfahbod 9372edd6 2009-01-29T09:19:56 Use calloc(), instead of malloc()ing and memset()ing. 2009-01-29 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/harfbuzz-impl.c (_hb_alloc): Use calloc(), instead of malloc()ing and memset()ing.
Behdad Esfahbod 94c21d26 2009-01-29T09:19:43 Remove old cruft. 2009-01-29 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/harfbuzz-dump-main.c (main): Remove old cruft.
Behdad Esfahbod 0a47c4f7 2009-01-29T09:19:20 Allocate all array rows in a single ALLOC call. Saves over 2000 alloc 2009-01-29 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/harfbuzz-gpos.c (Load_BaseArray), (Free_BaseArray): Allocate all array rows in a single ALLOC call. Saves over 2000 alloc calls when loading DejaVu Sans!
Behdad Esfahbod 549be924 2008-12-26T02:31:47 Bug 469049 – Fix all compiler warnings 2008-12-25 Behdad Esfahbod <behdad@gnome.org> Bug 469049 – Fix all compiler warnings * pango-view/viewer-pangocairo.c (render_callback): * pango/fonts.c (append_field), (pango_font_description_to_string): * pango/opentype/harfbuzz-dump.c: * pango/pango-bidi-type.c (pango_log2vis_get_embedding_levels): * pango/pango-coverage.c (pango_coverage_set): * pango/pango-markup.c (span_parse_func): * pango/pango-renderer.c (pango_renderer_default_draw_error_underline): * pango/pango-utils.c (pango_scan_string): * pango/pangocairo-render.c (pango_cairo_renderer_draw_trapezoid), (draw_error_underline), (pango_cairo_renderer_class_init): Fix all the remaining warnings.
Behdad Esfahbod 719f9eaa 2008-12-26T02:31:35 Fix more warnings. 2008-12-25 Behdad Esfahbod <behdad@gnome.org> * pango/modules.c (pango_module_load), (script_info_free): * pango/opentype/harfbuzz-gpos.c (HB_Load_GPOS_Table): * pango/pango-bidi-type.c: * pango/pango-coverage.c (pango_coverage_ref), (pango_coverage_unref): * pango/pango-engine.c (pango_engine_shape_real_covers), (fallback_engine_shape), (fallback_engine_covers): * pango/pango-fontmap.c (pango_font_map_init): * pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize), (pango_ot_ruleset_new): * pango/pangofc-decoder.c (pango_fc_decoder_init), (pango_fc_decoder_class_init): * pango/pangofc-font.c (pango_fc_font_find_shaper), (pango_fc_font_get_coverage): * pango/pangofc-fontmap.c (pango_fc_font_map_list_families), (pango_fc_make_pattern), (pango_fc_font_map_get_patterns), (get_first_font), (_pango_fc_font_map_get_coverage), (cleanup_font), (pango_fc_font_description_from_pattern), (pango_fc_face_list_sizes), (pango_fc_family_list_faces): * pango/pangoft2-fontmap.c (pango_ft2_font_map_get_resolution): * pango/pangoft2-render.c (pango_ft2_renderer_init), (pango_ft2_renderer_draw_trapezoid): * pango/pangoft2.c (pango_ft2_font_get_face), (pango_ft2_font_real_unlock_face), (pango_ft2_free_glyph_info_callback): Fix more warnings.
Behdad Esfahbod 21f7d507 2008-10-15T03:45:29 Bug 528272 – "Error loading GPOS table 5503" when using katakana 2008-10-14 Behdad Esfahbod <behdad@gnome.org> Bug 528272 – "Error loading GPOS table 5503" when using katakana characters * pango/opentype/harfbuzz-gpos.c (Load_Mark2Array): Skip parsing null anchor tables.
Behdad Esfahbod a26c6ae7 2008-09-29T22:28:47 Fix left-to-right positioning. Reported by Peter Hunter. 2008-09-29 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/harfbuzz-gpos.c (Position_CursiveChain): Fix left-to-right positioning. Reported by Peter Hunter.
Behdad Esfahbod b6c06c56 2008-06-29T18:30:14 Bug 540592 – Crash in HB_GSUB_Apply_String with Linux-Libertine font 2008-06-29 Behdad Esfahbod <behdad@gnome.org> Bug 540592 – Crash in HB_GSUB_Apply_String with Linux-Libertine font * pango/opentype/harfbuzz-gsub.c (GSUB_Do_String_Lookup): Fix reverse loops for type 8 lookups.
Behdad Esfahbod c4473359 2008-02-18T21:14:23 [hb-ot-layout] Add proper namespace to accessors
Behdad Esfahbod 57225672 2008-02-18T20:58:39 Fix typo, add TODOs
Behdad Esfahbod 4a26ea40 2008-01-28T07:40:10 Finish script, language, and feature public API
Behdad Esfahbod 706ab25a 2008-01-28T05:58:50 Add script and language public getter API
Behdad Esfahbod 40a81314 2008-01-28T02:30:48 Make main.cc compile again, which means finished getter API
Behdad Esfahbod e50c3978 2008-01-28T00:16:49 Rename HB_OT_Layout to hb_ot_layout_t
Behdad Esfahbod dfa81196 2008-01-28T00:12:21 Rename hb_ot_layout_create() to hb_ot_layout_create_for_data()
Behdad Esfahbod 54e5aac5 2008-01-27T21:19:51 GDEF completely working now
Behdad Esfahbod 6f425b11 2008-01-24T19:38:56 [GDEF] Finish internal API
Behdad Esfahbod 590d55cb 2008-01-24T19:13:50 [GDEF] Finish public API