summaryrefslogtreecommitdiff
path: root/pango/pango-ot-buffer.c
Commit message (Collapse)AuthorAgeFilesLines
* Minor; use default hb_buffer_t Unicode funcsBehdad Esfahbod2018-07-081-1/+0
|
* Add many missing nullability annotations.Evan Nemerson2014-10-161-2/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=731022
* Bug 685167 - migrate docs to no-tmpl flavourBehdad Esfahbod2013-09-271-1/+1
| | | | Patch from Rafał Mużyło.
* Adjust to HarfBuzz 0.9.7 APIBehdad Esfahbod2012-11-151-1/+1
|
* Deprecate pango-ot.hBehdad Esfahbod2012-08-231-74/+10
| | | | | | Still needs document Deprecated tags to be done. Soon to add pango-hb.h
* [hb] Adapt to harfbuzz API changesBehdad Esfahbod2011-09-191-1/+1
|
* [HB] Make y grow downBehdad Esfahbod2011-04-211-2/+2
| | | | More intuitive.
* [HB] Remove usage of hb_buffer_get_reference_count()Behdad Esfahbod2011-04-211-1/+1
|
* Update to HarfBuzz API changesBehdad Esfahbod2011-04-191-5/+4
|
* Adjust to hb_buffer_clear() removalBehdad Esfahbod2011-04-151-2/+2
|
* Merge branch 'master' into harfbuzz-ng-externalBehdad Esfahbod2010-09-211-21/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: pango/Makefile.am pango/pango-ot-buffer.c pango/pango-ot-info.c Removed: pango/opentype/Makefile.am pango/opentype/hb-blob.c pango/opentype/hb-open-file-private.hh pango/opentype/hb-open-type-private.hh pango/opentype/hb-ot-layout-common-private.hh pango/opentype/hb-ot-layout-gdef-private.hh pango/opentype/hb-ot-layout-gpos-private.hh pango/opentype/hb-ot-layout-gsub-private.hh pango/opentype/hb-ot-layout-gsubgpos-private.hh pango/opentype/hb-ot-layout.cc pango/opentype/hb-ot-layout.h pango/opentype/hb-private.h
| * Bug 341481 - pangocairo kerning problem with nonidentity scalingBehdad Esfahbod2009-11-171-6/+50
| | | | | | | | | | Finally fix this embarrassing bug. The fix is a kludge, but it will be redone for 1.28 (harfbuzz-ng) anyway.
| * Bug 596614 - Pango application receives SIGSEGV on pasting text with U+202EBehdad Esfahbod2009-11-171-21/+2
| | | | | | | | | | Fixed all modules to reverse glyphs if run is rtl. Except for Hangul module. Fixed pango_shape() to detect that, warn, and reverse.
* | Update to hb inversion of the maskBehdad Esfahbod2010-05-201-1/+1
| |
* | Adjust to hb-ng scale cleanupBehdad Esfahbod2010-05-191-3/+3
| |
* | Use hb_ot_layout_position_finish()Behdad Esfahbod2009-11-061-106/+26
| |
* | Adjust to hb_buffer_get_len() renameBehdad Esfahbod2009-11-061-1/+1
| |
* | Simplify GPOS application for ltr/rtlBehdad Esfahbod2009-11-051-70/+20
| |
* | [HB] Update to HarfBuzz struct renamesBehdad Esfahbod2009-11-051-12/+12
| |
* | Use external harfbuzz shared library from harfbuzz-ngBehdad Esfahbod2009-11-031-2/+13
|/
* [HB] Port ot-layout to new public APIBehdad Esfahbod2009-08-021-3/+3
|
* [HB] Port buffert to new object APIBehdad Esfahbod2009-08-011-13/+20
|
* [HB] Move direction to bufferBehdad Esfahbod2009-07-301-0/+2
|
* [HB] Adapt to new buffer APIBehdad Esfahbod2009-07-281-2/+2
|
* [HB] More buffer cleanupBehdad Esfahbod2009-05-251-9/+9
|
* [HB] Remove all references to the old code!Behdad Esfahbod2009-05-201-7/+7
|
* Merge harfbuzz-ngBehdad Esfahbod2009-05-041-9/+3
|
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-221-1/+1
| | | | | | | | | | | | 2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Behdad svn path=/trunk/; revision=2657
* Even more cleanup and more type renames.Behdad Esfahbod2007-10-251-1/+1
| | | | | | | | | 2007-10-25 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/*: Even more cleanup and more type renames. svn path=/trunk/; revision=2478
* Bug 485566 – Cache one OpenType BufferBehdad Esfahbod2007-10-111-4/+40
| | | | | | | | | | | | | | | | | 2007-10-11 Behdad Esfahbod <behdad@gnome.org> Bug 485566 – Cache one OpenType Buffer * pango/pango-ot-buffer.c (acquire_buffer), (release_buffer), (pango_ot_buffer_new), (pango_ot_buffer_destroy): * pango/pango-ot-private.h: Cache one HB_Buffer that is acquired using a lock. A new one is created if the shared buffer is locked. The shared buffer is cleared when released. May want to make it free shared buffer if buffer->allocated is too large. Not sure. svn path=/trunk/; revision=2443
* Bug 485621 – Get rid of freetype memory allocator in harfbuzzBehdad Esfahbod2007-10-111-10/+1
| | | | | | | | | | | | | | 2007-10-11 Behdad Esfahbod <behdad@gnome.org> Bug 485621 – Get rid of freetype memory allocator in harfbuzz * pango/opentype/*: Remove all occurences of FT_Memory. Use malloc/realloc/free directly. * pango/pango-ot*: Update to above. svn path=/trunk/; revision=2432
* Bug 485559 – Boston Summit HarfBuzz optimizationsBehdad Esfahbod2007-10-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | 2007-10-10 Behdad Esfahbod <behdad@gnome.org> Bug 485559 – Boston Summit HarfBuzz optimizations * pango/opentype/*: HarfBuzz hacking to: - Rename last remaining FT_Err stuff to HB_Err. - Fix a couple invalid table paths to be permissive so fonts work better. Particularly GDEF table for Nafees Nastaliq is loaded and works great now. - Optimize harfbuzz buffer to not copy/swap for simple one-to-one and "copy" GSUB operations. * pango/pango-ot*: Update to FT_Err to HB_Err renaming. svn path=/trunk/; revision=2431
* Add a FIXMEBehdad Esfahbod2007-05-141-1/+4
| | | | svn path=/trunk/; revision=2289
* Mark some arguments const.Behdad Esfahbod2007-05-141-5/+5
| | | | | | | | | | | | | | 2007-05-14 Behdad Esfahbod <behdad@gnome.org> * pango/pango-ot-buffer.c (pango_ot_buffer_get_glyphs), (pango_ot_buffer_output): * pango/pango-ot-ruleset.c (pango_ot_ruleset_substitute), (pango_ot_ruleset_position): * pango/pango-ot.h: Mark some arguments const. svn path=/trunk/; revision=2288
* Quantize kerning adjustment, otherwise all the metrics hinting effort willBehdad Esfahbod2007-04-121-17/+33
| | | | | | | | | | | | | | | | | | 2007-04-12 Behdad Esfahbod <behdad@gnome.org> * pango/pango-ot-buffer.c (apply_gpos_ltr), (apply_gpos_rtl), (pango_ot_buffer_output): * pango/pango-types.h: * pango/pangofc-font.c (pango_fc_font_kern_glyphs): * pango/pangofc-private.h: Quantize kerning adjustment, otherwise all the metrics hinting effort will be ruined by a non-whole-pixel kerning value. In the future we want to take lsb_delta and rsb_delta into the game before quantizing the adjustment here, but we don't have those values handy right now. svn path=/trunk/; revision=2225
* *.c, *.h: Drop trailing whitespace.Behdad Esfahbod2007-01-161-25/+25
| | | | | | | | | 2007-01-16 Behdad Esfahbod <behdad@gnome.org> *.c, *.h: Drop trailing whitespace. svn path=/trunk/; revision=2163
* Spell-check the docs.Behdad Esfahbod2007-01-071-1/+1
| | | | svn path=/trunk/; revision=2130
* Part of Bug 336026 – Make fallback shaper in modules work Patch fromBehdad Esfahbod2006-03-311-0/+2
| | | | | | | | | | 2006-03-31 Behdad Esfahbod <behdad@gnome.org> Part of Bug 336026 – Make fallback shaper in modules work Patch from Denis Jacquerye. * pango/pango-ot-buffer.c (pango_ot_buffer_output): Call pango_fc_font_kern_glyphs if GPOS not applied.
* Convert pango/opentype to the new project called HarfBuzz.Behdad Esfahbod2006-03-311-11/+11
| | | | | | | | | | 2006-03-31 Behdad Esfahbod <behdad@gnome.org> Convert pango/opentype to the new project called HarfBuzz. * pango/opentype/*: Restructured. * pango/pango-ot-*: Updated to use HarfBuzz symbol names.
* Change g_critical to g_warning. We already handle them gracefully.Behdad Esfahbod2006-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-21 Behdad Esfahbod <behdad@gnome.org> * pango/fonts.c, pango/glyphstring.c, pango/pango-fontmap.c, pango/pango-ot-buffer.c, pango/pangocairo-font.c, pango/pangoft2.c, pango/pangoxft-font.c, pango/shape.c: Change g_critical to g_warning. We already handle them gracefully. Bug 331994 – --disable-debug removes G_DISABLE_CAST_CHECKS Patch from charlet@act-europe.fr * configure.in: Do not lose PANGO_DEBUG_FLAGS when reassigning. Bug 331995 – pango_layout_set_text optimization Patch from charlet@act-europe.fr * pango/pango-layout.c: Do not validate input text if asserts are disabled. Moreover, do not truncate input text on invalid sequence. Bug 331996 – avoid crashes in win32 font handling Patch from charlet@act-europe.fr * pango/pangofc-fontmap.c, pango/pangowin32-fontmap.c, pango/pangowin32.c: if (!font) return NULL in a number of places.
* Improve documentation for functions allocating memory, on how the objectBehdad Esfahbod2006-01-311-1/+2
| | | | | | | | | | | | | | | | 2006-01-31 Behdad Esfahbod <behdad@gnome.org> * pango/fonts.c, pango/glyphstring.c pango/pango-attributes.c pango/pango-color.c, pango/pango-context.c pango/pango-coverage.c, pango/pango-fontset.c pango/pango-glyph-item.c, pango/pango-item.c pango/pango-layout.c, pango/pango-ot-buffer.c pango/pango-ot-info.c, pango/pango-ot-ruleset.c pango/pango-script.c, pango/pango-tabs.c pango/pango-utils.c pango/pangocairo-fcfontmap.c, pango/pangocairo-fontmap.c pango/pangox-fontcache.c, pango/pangoxft-render.c: Improve documentation for functions allocating memory, on how the object should be freed.
* If locking font face failed, do not assert, just return zero glyphs withBehdad Esfahbod2006-01-291-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-29 Behdad Esfahbod <behdad@gnome.org> * modules/arabic/arabic-fc.c, modules/basic/basic-fc.c modules/hebrew/hebrew-fc.c, modules/indic/indic-fc.c modules/khmer/khmer-fc.c, modules/syriac/syriac-fc.c modules/thai/thai-ot.c, modules/thai/thai-shaper.c modules/tibetan/tibetan-fc.c: If locking font face failed, do not assert, just return zero glyphs with an implicit warning. * pango/fonts.c, pango/glyphstring.c pango/modules.c pango/pango-color.c, pango/pango-context.c pango/pango-coverage.c, pango/pango-fontmap.c pango/pango-glyph-item.c, pango/pango-item.c pango/pango-layout.c, pango/pango-markup.c pango/pango-ot-buffer.c, pango/pango-script.c pango/pango-tabs.c, pango/pango-utils.c pango/pangoatsui-fontmap.c, pango/pangocairo-fcfont.c pango/pangocairo-fcfontmap.c, pango/pangocairo-fontmap.c pango/pangocairo-win32font.c, pango/pangofc-font.c pango/pangofc-fontmap.c, pango/pangoft2-fontmap.c pango/pangoft2-render.c, pango/pangoft2.c pango/pangowin32-fontcache.c, pango/pangoxft-font.c pango/pangoxft-render.c, pango/break.c pango/ellipsize.c: Use g_slice for allocating all types. Also, change some g_error's to g_critical's...
* Document PangoOTBuffer and PangoOTGlyph.Behdad Esfahbod2006-01-281-9/+29
| | | | | | | | | 2006-01-28 Behdad Esfahbod <behdad@gnome.org> * doc/tmpl/opentype.sgml: Document PangoOTBuffer and PangoOTGlyph. * pango/pango-ot-buffer.c, pango/pango-ot-info.c, pango/pango-ot-ruleset.c: Document remaining symbols.
* Removed.Behdad Esfahbod2006-01-281-0/+339
2006-01-28 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/pango-ot-*: Removed. * pango/pango-ot-*: Added. * pango/Makefile.am, pango/opentype/Makefile.am: Adjusted.