1. 24 11月, 2005 1 次提交
    • B
      Added "Since:" tags to all interfaces added after Pango 1.0. (#319116, · f2bcf722
      Behdad Esfahbod 提交于
      2005-11-23  Behdad Esfahbod  <behdad@gnome.org>
      
              * pango/fonts.c pango/pango-attributes.c pango/pango-context.c
              pango/pango-glyph-item.c pango/pango-layout.c
              pango/pango-script.c pango/pango-utils.c pango/pangofc-font.c
              pango/pangoft2-fontmap.c pango/opentype/pango-ot-buffer.c
              pango/opentype/pango-ot-ruleset.c: Added "Since:" tags to all
              interfaces added after Pango 1.0. (#319116, Brian Cameron)
      f2bcf722
  2. 23 11月, 2005 2 次提交
    • B
      Protect against possible division by zeros (#316468, Steve Grubb) · 682db81c
      Behdad Esfahbod 提交于
      2005-11-23  Behdad Esfahbod  <behdad@gnome.org>
      
              Protect against possible division by zeros (#316468, Steve Grubb)
      
              * pango/pango-context.c (update_metrics_from_items),
              pango/pango-fontset.c (pango_fontset_real_get_metrics): If count is
              zero, do not alter approximate_{char,digit}_width.
      
              * pango/opentype/disasm.c: Err on invalid DeltaFormat.
      682db81c
    • B
      Reworked basic shaper with OpenType support. (#101079, based on patch from · e6e15352
      Behdad Esfahbod 提交于
      2005-11-23  Behdad Esfahbod  <behdad@gnome.org>
      
              * modules/basic/basic-fc.c: Reworked basic shaper with OpenType
              support. (#101079, based on patch from Denis Jacquerye and Noah Levitt)
      
              * modules/basic/basic-fc.c (basic_scripts): Added Unicode 4.1 addition
              script PANGO_SCRIPT_GLAGOLITIC that is a "simple" script.
      
              * modules/arabic/arabic-fc.c, modules/syriac/syriac-fc.c: Replace
              g_utf8_to_ucs4_fast() with g_utf8_strlen()!
      
              * pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_add_feature):
              Remove reference in docs to pango_ot_ruleset_shape() that was
              removed long ago.
      e6e15352
  3. 17 11月, 2005 1 次提交
    • B
      Part of #101079: · 612b6cf6
      Behdad Esfahbod 提交于
      2005-11-17  Behdad Esfahbod  <behdad@gnome.org>
      
              Part of #101079:
      
              * pango/opentype/ftxopen.c (Load_Lookup): In extension subtables,
              offset is relative to the extension subtable, not the original
              table. (Greg Aumann)
      
              * pango/opentype/ftxgpos.c (Load_BaseArray): When reading BaseAnchor,
              skip offsets that are zero.  Works around bug in Doulos SIL Regular.
      612b6cf6
  4. 10 11月, 2005 1 次提交
  5. 05 11月, 2005 1 次提交
    • B
      Turn various gcc warnings off. Adding const, adding static, fully · 9717127a
      Behdad Esfahbod 提交于
      2005-11-04  Behdad Esfahbod  <behdad@gnome.org>
      
              * configure.in, examples/argcontext.c examples/cairoview.c,
              examples/renderdemo.c, examples/renderdemo.h examples/xftview.c,
              modules/basic/basic-x.c, modules/hangul/hangul-fc.c,
              modules/hebrew/hebrew-shaper.c, modules/hebrew/hebrew-shaper.h,
              modules/indic/indic-fc.c, modules/indic/mprefixups.c,
              modules/syriac/syriac-fc.c, pango/break.c pango/fonts.c,
              pango/modules.c, pango/pango-coverage.c pango/pango-engine.c,
              pango/pango-engine.h, pango/pango-fontmap.c,
              pango/pango-fontset.c, pango/pango-impl-utils.h,
              pango/pango-layout.c, pango/pango-layout.h,
              pango/pango-renderer.c, pango/pango-script.c,
              pango/pango-utils.c, pango/pangocairo-fc.h,
              pango/pangocairo-font.c, pango/pangocairo-fontmap.c,
              pango/pangocairo-private.h, pango/pangofc-decoder.c,
              pango/pangofc-font.c, pango/pangofc-fontmap.c pango/pangoft2.c,
              pango/pangox-fontcache.c, pango/pangox-fontmap.c pango/pangox.c,
              pango/pangoxft-font.c, pango/querymodules.c,
              pango/opentype/ftglue.c, pango/opentype/ftxgpos.c,
              pango/opentype/ftxopen.c, pango/opentype/pango-ot-buffer.c,
              pango/opentype/pango-ot-info.c,
              pango/opentype/pango-ot-ruleset.c, tests/dump-boundaries.c,
              tests/testboundaries.c, tests/testcolor.c tests/testiter.c,
              tests/testscript.c: Turn various gcc warnings off. Adding const,
              adding static, fully initializing structs, match signedness in
              comparisons. (#317804)
      
              * tests/testscript.c, tools/gen-script-for-lang.c:
              (scripts_for_file): Pass error->message instead of error to fail(),
              which was wrong.
              (compare_lang): Fix typo comparing a and a instead of a and b.
      9717127a
  6. 04 11月, 2005 1 次提交
    • B
      Patches from #170414. Reviewed by Matthias Clasen. · c0505f3b
      Behdad Esfahbod 提交于
      2005-11-03  Behdad Esfahbod  <behdad@gnome.org>
      
              Patches from #170414.  Reviewed by Matthias Clasen.
      
              * pango/opentype/ftxgpos.c, pango/opentype/ftxgsub.c: Use call table
              to dispatch different lookup types.
      
              * pango/opentype/pango-ot-buffer.c, pango/opentype/pango-ot-ruleset.c:
              Small cleanup.
      c0505f3b
  7. 29 8月, 2005 1 次提交
  8. 15 8月, 2005 1 次提交
  9. 27 7月, 2005 1 次提交
  10. 23 7月, 2005 2 次提交
    • O
      Remove an unecessary set of block2. · 91a3fa2e
      Owen Taylor 提交于
      2005-07-22  Owen Taylor  <otaylor@redhat.com>
      
              * pango/opentype/ftglue.c (ftglue_realloc): Remove
              an unecessary set of block2.
      91a3fa2e
    • O
      Patch from David Turner. Review and testing by Behdad Esfahbod · ff703478
      Owen Taylor 提交于
      2005-07-22  Owen Taylor  <otaylor@redhat.com>
      
              Patch from David Turner. Review and testing by Behdad Esfahbod
      
              * pango/opentype/ftglue.[ch] Makefile.am: Glue layer that provides
              implementation of the internal functions that the opentype code
              expects in terms of publically exported FreeType API.
      
              * pango/opentype/ftxgdef.c pango/opentype/ftxgpos.c
              pango/opentype/ftxgsub.c pango/opentype/ftxopen.c
              pango/opentype/otlbuffer.c pango/opentype/pango-ot-info.c
              pango/opentype/pango-ot-ruleset.c: Remove includes of
              internal headers. Small changes to work with ftglue.[ch]
      
              * pango/opentype/fterrcompat.h: Remove: no longer needed.
      
              * pango/opentype/ftxgpos.c: Use FT_IS_SFNT(face) rather
              than poking at FT_MODULE_CLASS (face->driver)->module_name.
      
              * pango/opentype/ftxopen.c (Free_FeatureList): Free
              fl->ApplyOrder. (Found by Behdad)
      ff703478
  11. 22 7月, 2005 1 次提交
    • O
      Fix up places where there is missing or incomplete Copyright and License · 43dbec6f
      Owen Taylor 提交于
      2005-07-21  Owen Taylor  <otaylor@redhat.com>
      
              Fix up places where there is missing or incomplete
              Copyright and License information (Reported by William N. Ray)
      
              * pango/opentype/fterrcompat.h: Mark as FreeType/GPL licensed.
      
              * pango/opentype/FT-license.txt: Make this the dual-licensing
              description that covers the FreeType code (FreeType's
              LICENSE.TXT) rather than the FTL.
      
              * pango/opentype/FTL.TXT: Move the FTL (referenced from
              FT-license.txt) to here.
      
              * modules/basic/basic-common.h modules/hebrew/hebrew-shaper.h
              modules/thai/thai-charprop.c modules/thai/thai-shaper.h
              tools/gen-script-for-lang.c tests/testcolor.c:
              Add LGPL header and copyright information.
      
              * modules/indic/indic-ot.[ch] modules/indic/indic-ot-class-tables.c
              modules/thai/thai-ot.[ch]: Add LGPL header.
      
              * modules/thai/thai-shaper.c modules/thai/thai-charprop.h:
              Minor fixes to copyright information.
      
              * modules/arabic/arabic-ot.c: Add Freetype license boilerplate.
      43dbec6f
  12. 15 6月, 2005 1 次提交
    • O
      Chain up from finalize. (#307547, Paolo Borelli) · c55850d3
      Owen Taylor 提交于
      2005-06-14  Owen Taylor  <otaylor@redhat.com>
      
              * pango/opentype/pango-ot-info.c (pango_ot_info_finalize)
              pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_finalize):
              Chain up from finalize. (#307547, Paolo Borelli)
      
              * pango/opentype/pango-ot-info.c (pango_ot_info_finalizer):
              make accidentally public function static.
      c55850d3
  13. 12 4月, 2005 1 次提交
  14. 04 3月, 2005 1 次提交
    • O
      For all binary searches, handle the case where the number of items is 0. · 0c349a03
      Owen Taylor 提交于
      2005-03-03  Owen Taylor  <otaylor@redhat.com>
      
              * pango/opentype/ftxopen.c (Coverage_Index1, Coverage_Index2,
              Get_Class2): For all binary searches, handle the case where
              the number of items is 0. (#162977, Nick Lamb)
      
              * pango/opentype/ftxgdef.c (TT_GDEF_Build_ClassDefinition):
              Handle the case where glyph_count == 0 properly. Fix a problem
              with cleanups on memory allocation failure.
              (Get_New_Count, Add_Glyph_Property): Avoid reading off the
              end of the ClassRangeRecord array.
      0c349a03
  15. 23 11月, 2004 1 次提交
    • O
      Set G_LOG_DOMAIN. · 03838daa
      Owen Taylor 提交于
      Mon Nov 22 18:30:14 2004  Owen Taylor  <otaylor@redhat.com>
      
              * pango/opentype/Makefile.am pango/Makefile.am
              modules/*/Makefile.am: Set G_LOG_DOMAIN.
      03838daa
  16. 23 9月, 2004 1 次提交
    • O
      Cleanups from 'sparse', #149922, Kjartan Maraas · 346d3b3c
      Owen Taylor 提交于
      Wed Sep 22 14:07:47 2004  Owen Taylor  <otaylor@redhat.com>
      
              Cleanups from 'sparse', #149922, Kjartan Maraas
      
              * pango/pango-utils.c (read_config): () => (void) in
              definition.
      
              * pango/pangofc-fontmap.c (pango_fc_font_map_list_families):
              Initialize *n_families, not n_families.
      
              * pango/pangofc-fontmap.c pango/pangoft2.c opentype/ftxgdef.c
              opentype/ftxgpos.c opentype/ftxgsub.c: : Fix various 0/NULL
              confusion.
      346d3b3c
  17. 14 9月, 2004 1 次提交
    • O
      === Released 1.6.0 === · 8b654dfb
      Owen Taylor 提交于
      Mon Sep 13 17:38:58 2004  Owen Taylor  <otaylor@redhat.com>
      
              * === Released 1.6.0 ===
      
              * configure.in: Update versions for 1.6.0
      
              * NEWS: Update.
      
              * README: Minor tweak.
      
              * pango/fonts.c pango/pango-context.c pango/pango-types.h
              pango/pango-utils.c pango/pangoft2.c pango/pango-layout.c
              pango/opentype/pango-ot-buffer.c: Add a bunch of missing
              Since: 1.6.
      8b654dfb
  18. 31 7月, 2004 1 次提交
  19. 28 7月, 2004 1 次提交
  20. 27 7月, 2004 7 次提交
  21. 20 7月, 2004 2 次提交
  22. 24 6月, 2004 1 次提交
    • O
      #143693, Sayamindu Dasgupta · 99848cfa
      Owen Taylor 提交于
      Wed Jun 23 16:13:53 2004  Owen Taylor  <otaylor@redhat.com>
      
              #143693, Sayamindu Dasgupta
      
              * pango/opentype/pango-ot-buffer.c (pango_ot_buffer_set_zero_width_marks) pango/opentype/pango-ot-private.h:
              Allow setting for whether marks should be given zero width,
              defaulting to FALSE.
      
              * modules/arabic/arabic-fc.c (arabic_engine_shape): Turn
              on zero-width-marks setting.
      99848cfa
  23. 22 6月, 2004 1 次提交
  24. 29 5月, 2004 1 次提交
  25. 28 5月, 2004 2 次提交
  26. 17 3月, 2004 1 次提交
    • O
      === Released 1.4.0 === · de568e7e
      Owen Taylor 提交于
      Tue Mar 16 11:24:46 2004  Owen Taylor  <otaylor@redhat.com>
      
              * === Released 1.4.0 ===
      
              * configure.in: Version 1.4.0, interface ago 0. Require
              glib-2.4.0.
      
              * NEWS: Updates.
      
              * README: Some updates; include details about the FreeType
              license of the OpenType code.
      de568e7e
  27. 04 3月, 2004 1 次提交
    • H
      if PANGO_MODULE_PREFIX is defined include the basic backend shaper (should · 8b3554b3
      Hans Breuer 提交于
      2004-03-03  Hans Breuer  <hans@breuer.org>
      
      	* pango/module-defs-win32.c.win32 : if PANGO_MODULE_PREFIX is
      	defined include the basic backend shaper (should have been
      	commited at 2003-12-12, too)
      
      	* pango/makefile.msc : generate correct type for PangoFontMask
      	(bug #135892, John Ehresman)
      	* pango/opentype/makefile.msc : updated
      
      	* pango/pango.def pango/pangoft2.def : more updatd externals
      8b3554b3
  28. 29 2月, 2004 1 次提交
    • O
      Rework opentype interfaces and other changes to make GPOS work for Arabic. · a7e096c5
      Owen Taylor 提交于
      Sun Feb 29 09:25:13 2004  Owen Taylor  <otaylor@redhat.com>
      
              Rework opentype interfaces and other changes to make GPOS
              work for Arabic. (Most of #117282, #121060)
      
              * pango/opentype/otlbuffer.[ch]: OTL_Buffer that
              acts as a replacement for the separate GSUB and
              GPOS string structures and hides many of the internal
              details.
      
              * pango/opentype/ftxgsub.[ch] pango/opentype/ftxgpos.[ch]:
              Adapt to OTL_Buffer.
      
              * pango/opentype/ftxgpos.c: Redo handling of cursive
              chains so that it actually works.
      
              * pango/pango-ot.h pango/opentype/pango-ot-buffer.c:
              Pango wrapper around OTL_Buffer.
      
              * pango/pango-ot.h pango/pango-ot-ruleset.c pango/pango-ot-buffer.c:
              Split pango_ot_ruleset_shape() into pango_ot_ruleset_substitute(),
              pango_ot_ruleset_position(), make them act on
              PangoOTBuffer, add a separate pango_ot_buffer_output()
              which does the default positioning and writes to a
              PangoGlyphString.
      
              * modules/arabic/arabic-fc.c modules/indic/indic-fc.c
              modules/indic/mprefixups.[ch]: Adapt to new OpenType
              interfaces; add GPOS features for Arabic.
      
              * pango/opentype/pango-ot-info.c: Don't derive class information
              from Unicode properties for Arabic presentation forms,
              let the shaping process derive the properties.
      a7e096c5
  29. 21 2月, 2004 1 次提交
  30. 14 2月, 2004 1 次提交
    • O
      Memory leak fixes from Masatake YAMATO, #130652 · b9b3c131
      Owen Taylor 提交于
      Fri Feb 13 10:54:18 2004  Owen Taylor  <otaylor@redhat.com>
      
              Memory leak fixes from Masatake YAMATO, #130652
      
              * pango/opentype/ftxgdef.c (TT_Done_GDEF_Table):
              Free the gdef table as well as the contained data.
      
              * pango/opentype/ftxgdef.c (TT_GDEF_Build_ClassDefinition):
              Set gcd->loaded, so that the contents get freed later.
      b9b3c131