Behdad Esfahbod [Thu, 12 May 2011 03:26:15 +0000 (23:26 -0400)]
[HB] Adjust to latest API changes
Behdad Esfahbod [Thu, 12 May 2011 02:34:26 +0000 (22:34 -0400)]
[HB] Update to latest API changes
Behdad Esfahbod [Wed, 11 May 2011 03:42:14 +0000 (23:42 -0400)]
[HB] Update to latest HarfBuzz API changes
Behdad Esfahbod [Wed, 4 May 2011 18:02:15 +0000 (14:02 -0400)]
[FriBidi] Minor optimization in struct layout for 64-bit machines
Behdad Esfahbod [Tue, 3 May 2011 00:47:34 +0000 (20:47 -0400)]
[HB] Adapt to hb_font_create() taking an input face
Behdad Esfahbod [Thu, 21 Apr 2011 19:17:03 +0000 (15:17 -0400)]
[HB] Make y grow down
More intuitive.
Behdad Esfahbod [Thu, 21 Apr 2011 19:01:14 +0000 (15:01 -0400)]
[HB] Remove usage of hb_buffer_get_reference_count()
Behdad Esfahbod [Wed, 20 Apr 2011 18:21:09 +0000 (14:21 -0400)]
[HB] More update to HarfBuzz API change
Behdad Esfahbod [Tue, 19 Apr 2011 04:37:56 +0000 (00:37 -0400)]
Update to HarfBuzz API changes
Behdad Esfahbod [Fri, 15 Apr 2011 23:01:27 +0000 (19:01 -0400)]
[HB] Adjust to removal of hb_buffer_clear_positions()
Behdad Esfahbod [Fri, 15 Apr 2011 22:51:52 +0000 (18:51 -0400)]
Always call hb_ot_layout_position_finish()
Behdad Esfahbod [Fri, 15 Apr 2011 22:47:58 +0000 (18:47 -0400)]
More hb_buffer_clear() removal
Behdad Esfahbod [Fri, 15 Apr 2011 22:45:24 +0000 (18:45 -0400)]
Merge branch 'master' into harfbuzz-ng-external
Conflicts:
pango/opentype/hb-buffer-private.h
pango/opentype/hb-buffer.c
pango/opentype/hb-buffer.h
pango/opentype/hb-open-type-private.hh
pango/opentype/hb-ot-layout-gpos-private.hh
Behdad Esfahbod [Fri, 15 Apr 2011 22:37:54 +0000 (18:37 -0400)]
Adjust to hb_buffer_clear() removal
Behdad Esfahbod [Thu, 7 Apr 2011 17:12:33 +0000 (13:12 -0400)]
Bug 646213 - Hangul Jamo render as U+00xx boxes and produce valgrind errors
Fix the previous fix!
Behdad Esfahbod [Wed, 6 Apr 2011 20:04:15 +0000 (16:04 -0400)]
Bug 646213 - Hangul Jamo render as U+00xx boxes and produce valgrind errors
Behdad Esfahbod [Mon, 14 Mar 2011 20:05:39 +0000 (17:05 -0300)]
Handle realloc failure in the buffer
Ported from http://cgit.freedesktop.org/harfbuzz/commit/?id=
a6a79df5fe2e
by Karl Tomlinson <karlt+@karlt.net>
Víctor Manuel Jáquez Leal [Mon, 14 Mar 2011 12:18:16 +0000 (13:18 +0100)]
build: gtk-doc scanner links agains glib
https://bugzilla.gnome.org/show_bug.cgi?id=644724
John (J5) Palmieri [Thu, 17 Feb 2011 17:39:25 +0000 (12:39 -0500)]
[gi] add out annotations to pango layout API
https://bugzilla.gnome.org/show_bug.cgi?id=642593
Behdad Esfahbod [Thu, 17 Feb 2011 16:19:48 +0000 (11:19 -0500)]
Bug 639882 - Heap corruption in font parsing with FreeType2 backend
Laszlo Pandy [Wed, 9 Feb 2011 15:55:36 +0000 (16:55 +0100)]
[GI] Add (allow-none) annotations to pango_parse_markup().
Laszlo Pandy [Fri, 4 Feb 2011 13:30:59 +0000 (14:30 +0100)]
[GI] Annotate out arguments of pango_parse_markup().
Behdad Esfahbod [Tue, 28 Dec 2010 09:17:55 +0000 (03:17 -0600)]
Bug 636348 - Hex boxes are incorrectly scaled with non identity cairo scale
Paolo Borelli [Sat, 11 Dec 2010 13:52:53 +0000 (14:52 +0100)]
Annotate pango_layout_get_context().
Colin Walters [Tue, 28 Sep 2010 19:17:53 +0000 (15:17 -0400)]
configure.in: Add missing ;
Behdad Esfahbod [Mon, 6 Dec 2010 21:26:00 +0000 (16:26 -0500)]
[git.mk] Support Mallard docs
Sven Herzberg [Mon, 15 Nov 2010 18:04:47 +0000 (19:04 +0100)]
ensure gnome-autogen.sh's behaviour
* autogen.sh: make sure that autoreconf calls aclocal the same way
gnome-autogen.sh would have done
Christian Persch [Sat, 24 May 2008 14:22:06 +0000 (16:22 +0200)]
Use G_DEFINE_BOXED_TYPE.
Bug #539622.
Javier Jardón [Tue, 26 Oct 2010 16:22:03 +0000 (18:22 +0200)]
Use autoreconf instead gnome-autogen.sh
Fixed https://bugzilla.gnome.org/show_bug.cgi?id=633208
Behdad Esfahbod [Thu, 28 Oct 2010 03:03:08 +0000 (23:03 -0400)]
Remove gdef synthesis code as upstream harfbuzz removed the APIs
Behdad Esfahbod [Wed, 27 Oct 2010 05:15:43 +0000 (01:15 -0400)]
Update to harfbuzz 0.3 api
Behdad Esfahbod [Tue, 12 Oct 2010 23:51:40 +0000 (19:51 -0400)]
Remove Arabic and Syriac shapers, require harfbuzz >= 0.2
Behdad Esfahbod [Tue, 12 Oct 2010 21:36:41 +0000 (17:36 -0400)]
Fix y_offset negation
Colin Walters [Wed, 29 Sep 2010 14:41:26 +0000 (10:41 -0400)]
introspection: Fix some annotation syntax usage
Colin Walters [Tue, 28 Sep 2010 19:51:44 +0000 (15:51 -0400)]
introspection: Use --include-uninstalled
For inter-module includes we need to use --include-uninstalled,
otherwise we may try to process pkg-config entries for uninstalled
.pc files.
Also:
* Don't include pangoft2 in its own package list.
* Filter out non-public pango-color-table.h
https://bugzilla.gnome.org/show_bug.cgi?id=630857
Colin Walters [Tue, 28 Sep 2010 19:17:53 +0000 (15:17 -0400)]
configure.in: Add missing ;
Behdad Esfahbod [Tue, 28 Sep 2010 18:16:46 +0000 (14:16 -0400)]
Bug 630812 - Ignore gnome-doc-utils, .dirstamp and GSettings files in git.mk
Patches from Philip Withnall.
[PATCH 1/3] Ignore gnome-doc-utils' .mo files and generated headers
gnome-doc-utils can optionally generate a header (specified in DOC_H_FILE)
which is cleaned by gnome-doc-utils.make in mostlyclean. Additionally, it
generates MO files for the documentation translations which are also cleaned
by gnome-doc-utils.make in mostlyclean.
[PATCH 2/3] Ignore .dirstamp files
These are automatically removed on distclean by automake under some
circumstances.
[PATCH 3/3] Ignore files generated by gsettings.m4
gsettings.m4 generates .valid files and can optionally generate enum files,
which are all removed on mostlyclean by gsettings.m4.
Behdad Esfahbod [Wed, 22 Sep 2010 19:45:33 +0000 (15:45 -0400)]
Doc template changes
Behdad Esfahbod [Tue, 21 Sep 2010 19:53:52 +0000 (15:53 -0400)]
Fix docs build on Ubuntu
I'm guessing that Ubuntu has broken libtool by not automatically adding
dependent libraries from the .la file...
Behdad Esfahbod [Tue, 28 Sep 2010 01:07:34 +0000 (21:07 -0400)]
Bug 628497 - Crash in pango_layout_line_get_extents at pango-layout.c
Cleanup LINE_IS_VALID() usage.
Behdad Esfahbod [Thu, 23 Sep 2010 19:49:57 +0000 (15:49 -0400)]
Bug 626966 - SIGFPE _hb_sanitize_array
Fix two div-by-zero's. Both have been fixed upstream.
Behdad Esfahbod [Wed, 22 Sep 2010 19:45:33 +0000 (15:45 -0400)]
Doc template changes
Behdad Esfahbod [Tue, 21 Sep 2010 19:53:52 +0000 (15:53 -0400)]
Fix docs build on Ubuntu
I'm guessing that Ubuntu has broken libtool by not automatically adding
dependent libraries from the .la file...
Behdad Esfahbod [Tue, 21 Sep 2010 19:47:17 +0000 (15:47 -0400)]
Merge branch 'master' into harfbuzz-ng-external
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
Behdad Esfahbod [Tue, 14 Sep 2010 18:50:01 +0000 (14:50 -0400)]
Bug 629632 - configure bug
Tor Lillqvist [Sat, 11 Sep 2010 11:52:28 +0000 (14:52 +0300)]
Reduce DLL hijack risk and simplify code in basic-win32 module
Dont load usp10.dll dynamically with LoadLibrary(). Just link to the
Uniscribe API directly. MinGW comes with an import library so no
problem with that either. The Uniscribe DLL is present on all versions
of Windows we care for.
Colin Walters [Tue, 31 Aug 2010 22:12:40 +0000 (18:12 -0400)]
introspection: Filter out private headers
We shouldn't scan private headers. Also add --warn-all.
https://bugzilla.gnome.org/show_bug.cgi?id=627973
Behdad Esfahbod [Wed, 25 Aug 2010 19:48:41 +0000 (15:48 -0400)]
Bug 627978 - explicitly link with the math lib (-lm) for use of 'cos'
Behdad Esfahbod [Wed, 25 Aug 2010 16:00:34 +0000 (12:00 -0400)]
Bug 627902 - explicitely link dump-boundaries to GLib
Behdad Esfahbod [Tue, 24 Aug 2010 23:47:49 +0000 (19:47 -0400)]
Fix include
Robert Ancell [Tue, 10 Aug 2010 06:31:44 +0000 (16:31 +1000)]
Bug 626500 - Fails to compile with gobject-introspection 0.9
Behdad Esfahbod [Fri, 6 Aug 2010 16:48:10 +0000 (12:48 -0400)]
Bug 625807 - approximate character width is 0 on pangoft2
Fix regression.
Behdad Esfahbod [Fri, 23 Jul 2010 03:15:33 +0000 (23:15 -0400)]
Bug 617772 - pango fails to build from git outside source tree
Depends on gobject-introspection >= 0.6.14, where introspection sources are
referenced via VPATH. Remove $(srcdir) prefix in sources.
Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net>
Owen W. Taylor [Thu, 8 Jul 2010 19:51:33 +0000 (15:51 -0400)]
Add PANGO_LIBDIR and PANGO_SYSCONFDIR enviroment variables
Add environment variables to override the compile time values
for the libdir and sysconfdir. This provides additional
flexibility and enables using a static pango.modules file
for libraries packaged with an application on OS X by setting
environment variables at application startup and using
paths of the form:
@executable_path/../lib/pango/modules/..
in the modules file.
https://bugzilla.gnome.org/show_bug.cgi?id=554524
Tor Lillqvist [Sun, 27 Jun 2010 20:40:18 +0000 (23:40 +0300)]
Typo fix
As such libpangowin32 is deprecated, I guess...
Tor Lillqvist [Sat, 26 Jun 2010 13:05:13 +0000 (16:05 +0300)]
Improve performance on Windows especially for non-Latin scripts
The use of Uniscribe script caches was decidedly suboptimal. Use one
persistent SCRIPT_CACHE per Win32 font and script.
Patch by by David E. Hollingsworth and Fredrik Corneliusson, from bug
Behdad Esfahbod [Tue, 15 Jun 2010 15:36:18 +0000 (11:36 -0400)]
Bump version to 1.29
Behdad Esfahbod [Tue, 15 Jun 2010 14:05:16 +0000 (10:05 -0400)]
Backport this commit from harfbuzz-ng repo:
Fix awful confusion between lookup format and subtable format
As reported by John Daggett.
Behdad Esfahbod [Tue, 15 Jun 2010 12:38:59 +0000 (08:38 -0400)]
Bug 621612 - VPATH build fix
Matthias Clasen [Thu, 3 Jun 2010 15:53:21 +0000 (11:53 -0400)]
Fix a test failure
See http://build.gnome.org/builders/pango-RHEL5/builds/310/steps/pango%20check/logs/stdio
Behdad Esfahbod [Wed, 26 May 2010 20:21:47 +0000 (16:21 -0400)]
Cypriot is RTL
Behdad Esfahbod [Thu, 20 May 2010 13:00:54 +0000 (14:00 +0100)]
Update to hb inversion of the mask
Behdad Esfahbod [Wed, 19 May 2010 19:54:43 +0000 (15:54 -0400)]
Adjust to hb-ng scale cleanup
Behdad Esfahbod [Tue, 11 May 2010 00:45:07 +0000 (20:45 -0400)]
Fix glyph class building. Oops!
Bug 605870 - Incorrect shaping for Syriac
Behdad Esfahbod [Tue, 11 May 2010 00:45:07 +0000 (20:45 -0400)]
Fix glyph class building. Oops!
Behdad Esfahbod [Tue, 4 May 2010 17:40:35 +0000 (13:40 -0400)]
[cairo] Scale font metrics to user space
Bug 457990 - font metrics are not converted to user space in cairo backend
Behdad Esfahbod [Tue, 4 May 2010 15:55:27 +0000 (11:55 -0400)]
[cairo] Refactor common code in create_metrics_for_context()
Behdad Esfahbod [Thu, 22 Apr 2010 04:30:12 +0000 (00:30 -0400)]
[OT] Adjust to HB API change
Behdad Esfahbod [Wed, 21 Apr 2010 06:04:22 +0000 (02:04 -0400)]
[HB] Minor
Behdad Esfahbod [Wed, 21 Apr 2010 04:49:40 +0000 (00:49 -0400)]
[HB] Improve comments
Behdad Esfahbod [Wed, 21 Apr 2010 04:40:50 +0000 (00:40 -0400)]
[HB] Remove stale TODO item
Behdad Esfahbod [Wed, 21 Apr 2010 04:32:47 +0000 (00:32 -0400)]
[HB] Use a function template instead of struct template for Null
Behdad Esfahbod [Wed, 21 Apr 2010 04:14:12 +0000 (00:14 -0400)]
[HB] Simplify Tag struct
Behdad Esfahbod [Wed, 21 Apr 2010 03:50:45 +0000 (23:50 -0400)]
[HB] Cosmetic
Behdad Esfahbod [Tue, 20 Apr 2010 19:52:47 +0000 (15:52 -0400)]
[HB] Fix Class operator return type
Behdad Esfahbod [Tue, 20 Apr 2010 19:51:53 +0000 (15:51 -0400)]
[HB] Add couple consts to operators
Behdad Esfahbod [Tue, 20 Apr 2010 19:25:27 +0000 (15:25 -0400)]
[HB] Remove ASSERT_SIZE_DATA
Behdad Esfahbod [Mon, 29 Mar 2010 04:04:12 +0000 (00:04 -0400)]
GNOME Bug 613015 - [HB] Does not sanitize Device tables referenced from ValueRecords
Behdad Esfahbod [Mon, 19 Apr 2010 06:34:10 +0000 (02:34 -0400)]
[HB] Round instead of trunc
Behdad Esfahbod [Mon, 19 Apr 2010 06:29:04 +0000 (02:29 -0400)]
[HB] Fix warnings
Behdad Esfahbod [Mon, 19 Apr 2010 06:27:56 +0000 (02:27 -0400)]
[HB] Fix debug build
Behdad Esfahbod [Thu, 1 Apr 2010 07:33:22 +0000 (03:33 -0400)]
Bug 582698 - Support CSS-style margin specification
Tor Lillqvist [Tue, 30 Mar 2010 07:28:51 +0000 (10:28 +0300)]
Remove the .vcproj files before rewriting them
In case they are write protected for some reason. Might help Behdad's
problem with make dist.
Behdad Esfahbod [Sat, 27 Mar 2010 21:00:19 +0000 (17:00 -0400)]
[HB] Fix leak when duplicating blob
Kristian Rietveld [Sun, 21 Mar 2010 20:23:56 +0000 (21:23 +0100)]
Bug 611033 - Layout using ATSUI fontmap treats absolute font sizes a...
pango_atsui_font_map_load_font() has been corrected to take into account
whether the size retrieved from the given font description is absolute
when setting this size again on best_description.
_pango_cairo_atsui_font_new() has been cleaned up with regard to size
conversion and usage. The code now properly takes the absolute property
into account and is more clear.
Tor Lillqvist [Tue, 16 Mar 2010 08:37:00 +0000 (10:37 +0200)]
Dist also the .vcprojin files
It has to be possible to run "make dist" also in an unpacked tarball.
Behdad Esfahbod [Tue, 16 Mar 2010 07:46:17 +0000 (03:46 -0400)]
[HB] Fix the mystery bug!
A couple bugs joined forces to exhibit the mystery behavior of
crashes / infinite loops on OS X / wrong kerning / invalid memory
access. Pooh!
The bugs were involved:
- Wrong pointer math with ValueRecord in PairPosFormat1
- Fallout from avoiding flex arrays, code not correctly updated
to remove sizeof() usage.
We strictly never use sizeof() directly now. And the PairPos code
is cleaned up. Should fix them all. Bugs are:
Bug 605655 - Pango 1.26.2 introduces kerning bug
Bug 611229 - Pango reads from uninitialized memory
Bug 593240 - (pangoosx) Crash / infinite loop with Mac OS X
We were also doing wrong math converting Device adjustments to
hb_position_t. Fallout from FreeType days. Should shift 16, not
6. Fixed that too.
There's still another bug: we don't sanitize Device records
referenced from value records. Fixing that also.
Behdad Esfahbod [Tue, 16 Mar 2010 07:15:00 +0000 (03:15 -0400)]
[HB] Cosmetic
Tor Lillqvist [Mon, 15 Mar 2010 22:46:24 +0000 (00:46 +0200)]
Put the PANGO_MODULE_PREFIX defines in the project files
Put the PANGO_MODULE_PREFIX defines in the project files instead of
having them behind an ifdef in the source files.
Tor Lillqvist [Mon, 15 Mar 2010 21:44:01 +0000 (23:44 +0200)]
Build fix on Linux after previous commits
Tor Lillqvist [Mon, 15 Mar 2010 21:28:51 +0000 (23:28 +0200)]
Add a couple of files accidentally left out in previous commit
Tor Lillqvist [Wed, 10 Feb 2010 13:30:12 +0000 (15:30 +0200)]
Add solution and project files for Visual Studio builds
The VS files are kept in build/win32/vs9, the same relative location
as in GLib, mostly for historical reasons.
Update README.win32 to reflect the VS possibility.
Include the VS solution and project files in the tarball when doing a
release.
To avoid having to list source files in several locations, generate
files listing source files at "make dist" time in the corresponding
source directories. Use the C preprocessor to preprocess .vcprojin
files that include said list files into the actual .vcproj project
files.
Provide a rc file for the pangocairo DLL, too.
Construct and provide in the tarball a pregenerated config.h.win32
which can be used as config.h when building with Visual C without
running any configure script. Provide pregenerarated
module-defs.h.win32, module-defs-lang.c.win32 files too.
Define PANGO_MODULE_PREFIX appropriately in the relevant module source
files if not available from the compilation command line.
Update module-defs-fc.c.win32 and module-defs-win32.c.win32 to match
what the configure script provides.
Behdad Esfahbod [Sat, 13 Mar 2010 05:02:30 +0000 (00:02 -0500)]
[git.mk] Fix bug with parallel make and subdirs
Behdad Esfahbod [Thu, 4 Mar 2010 02:43:09 +0000 (21:43 -0500)]
Bug 594101 - [Indic] needed character class data updates to support unicode 5.1
Random character class changes... It's all Chinese to me.
Behdad Esfahbod [Thu, 4 Mar 2010 01:43:26 +0000 (20:43 -0500)]
Bug 345066 - backspace changes independent indic characters
Behdad Esfahbod [Tue, 2 Mar 2010 03:30:51 +0000 (22:30 -0500)]
Bug 609326 - Complex script shaping failed in the FT2 backend on Windows
Check for face->stream->read == NULL instead of face->stream->base != NULL.
Behdad Esfahbod [Tue, 23 Feb 2010 21:44:55 +0000 (16:44 -0500)]
Make blob unlocking 64bit-safe
Bug 604128 - Applications crash when displaying Hebrew characters
Tor Lillqvist [Mon, 1 Mar 2010 15:53:54 +0000 (17:53 +0200)]
Bug 609326 - Complex script shaping failed in the FT2 backend on Windows
I am not sure whether the root cause is a bug in FreeType, or the way
Pango uses FreeType, or some more exotic mechanism. Anyway, add a
simple workaround.
Kristian Rietveld [Sun, 28 Feb 2010 12:48:22 +0000 (13:48 +0100)]
Bug 608923 - Incorrect/broken ligatures on MacOS
Fix the basic ATSUI to probably work on 64-bit Snow Leopard. The main
culprit was most probably in the usage of CGFontRef, where ATSUFontID
was expected.
Behdad Esfahbod [Tue, 23 Feb 2010 19:14:17 +0000 (14:14 -0500)]
Bug 610791 - checks fail for unused documented symbols
Hookup new symbol.