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, 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 [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.
Behdad Esfahbod [Mon, 22 Feb 2010 21:06:18 +0000 (16:06 -0500)]
Release 1.27.1
Behdad Esfahbod [Mon, 22 Feb 2010 21:03:15 +0000 (16:03 -0500)]
Ensure proper alignment of NullPool
Bug 593240 - (pangoosx) Crash / infinite loop with Mac OS X
Behdad Esfahbod [Mon, 22 Feb 2010 19:01:01 +0000 (14:01 -0500)]
Enable introspection for dist again
Behdad Esfahbod [Wed, 17 Feb 2010 20:13:37 +0000 (15:13 -0500)]
Bug 610183 - Pango doesn't compile with gcc 3.3.3
Disable some __attribute__s with gcc 3.
Behdad Esfahbod [Tue, 26 Jan 2010 17:58:01 +0000 (12:58 -0500)]
[HB] Remove unused argument
Behdad Esfahbod [Tue, 26 Jan 2010 17:30:44 +0000 (12:30 -0500)]
[HB/GDEF] Fix bug in building synthetic GDEF table
Behdad Esfahbod [Tue, 12 Jan 2010 20:23:43 +0000 (15:23 -0500)]
Lets see if this shuts introspection down so I can get a release out
Behdad Esfahbod [Tue, 12 Jan 2010 19:05:48 +0000 (14:05 -0500)]
[configure] Remove stale code
Behdad Esfahbod [Tue, 5 Jan 2010 12:21:35 +0000 (13:21 +0100)]
Bug 582697 - Add pango-view --pixels option
Johan Dahlin [Wed, 30 Dec 2009 23:27:38 +0000 (00:27 +0100)]
Do not get the gir and typelib dir for g-i
Since it breaks when using a system install of gobject-introspection
Behdad Esfahbod [Fri, 25 Dec 2009 15:03:12 +0000 (16:03 +0100)]
Simplify cluster analysis
Behdad Esfahbod [Fri, 25 Dec 2009 15:02:34 +0000 (16:02 +0100)]
Always recalculate run width after breaking the run
Before we only did this if justifying. However, computing the width is
essentially free these days, so do it always.
Behdad Esfahbod [Fri, 25 Dec 2009 15:00:11 +0000 (16:00 +0100)]
Zero the space at the end of line when breaking lines
Previously we were not zeroing the final space in the line when breaking
lines and were doing that only after lines were broken. This was broken
since setting layout width to its own logical width (under width=-1) could
result in differently broken lines. That's fixed now.
Problem originally reported on gtk-list on 2009-12-22 by Ben Pfaff.
Behdad Esfahbod [Fri, 25 Dec 2009 14:59:54 +0000 (15:59 +0100)]
Cosmetic
Behdad Esfahbod [Fri, 25 Dec 2009 14:30:57 +0000 (15:30 +0100)]
[modules] Don't warn multiple times
Kristian Rietveld [Thu, 24 Dec 2009 07:49:48 +0000 (08:49 +0100)]
Don't use devel version numbers in Since tags
Kristian Rietveld [Tue, 22 Dec 2009 11:26:12 +0000 (12:26 +0100)]
Revert usage of CoreText in ATSUI backend
Next to CGFontRef we also store an ATSFontRef now. This required
the addition of the public for backends function
pango_atsui_font_get_atsfont(). I have marked this call to be available
starting version 1.27, as Pango is now in the midst of the 1.26 series.
Since we now store the ATSFontRef next to CGFontRef, we can continue to
make use of the ATS API in
pango_cairo_atsui_font_create_metrics_for_context(). The CoreText calls
have been removed. Both Tiger and earlier, and Leopard and later machines
will now use the ATS API.
It is well known that the ATS API has been deprecated in Leopard. In the
near future a brand-new CoreText backend has to be written (from scratch)
that should be installed and used on Macs running Leopard and later.
This patch has been tested on 32-bit Tiger and 64-bit Snow Leopard and
found to be functioning correctly. The build should now work again fine
on Tiger machines, as it has been broken since the introduction of the
CoreText calls.
Behdad Esfahbod [Fri, 6 Nov 2009 20:20:29 +0000 (15:20 -0500)]
Fix FT_Face finalizer call
Johan Dahlin [Fri, 18 Dec 2009 11:14:50 +0000 (09:14 -0200)]
Use introspection.m4
Use introspection.m4 without requiring it to be included in the tree.
https://bugzilla.gnome.org/show_bug.cgi?id=604770
Johan Dahlin [Wed, 16 Dec 2009 19:53:29 +0000 (17:53 -0200)]
Use Makefile.introspection
To simplify the introspection scanner/compiler
build rules. This also changes to the girs are included
in the dist.
https://bugzilla.gnome.org/show_bug.cgi?id=604770
Johan Dahlin [Wed, 16 Dec 2009 19:51:45 +0000 (17:51 -0200)]
Pass in --enable-introspection to distcheck
https://bugzilla.gnome.org/show_bug.cgi?id=604770
Behdad Esfahbod [Mon, 14 Dec 2009 20:42:50 +0000 (15:42 -0500)]
Release 1.26.2
Behdad Esfahbod [Thu, 26 Nov 2009 16:20:48 +0000 (11:20 -0500)]
Simplify make rules
Kristian Rietveld [Sun, 6 Dec 2009 19:53:20 +0000 (20:53 +0100)]
Do not multiply return value of CTFontGetDescent with -1
The return value of CTFontGetDescent is already positive, as opposed
to the ats_metrics.descent value used before. This is a regression
introduced by the previous patch "porting" the backend to CoreText, which
also broke support for Tiger and earlier -- we will fix that soonish.
Behdad Esfahbod [Thu, 26 Nov 2009 00:49:44 +0000 (19:49 -0500)]
Bug 602823 - void function cannot return value
Behdad Esfahbod [Sun, 22 Nov 2009 23:24:54 +0000 (18:24 -0500)]
[GSUB] More ligature/component fixing
We can only reuse the ligid if it belongs to a previous ligature, not a
component!
Cherry-picked from harfbuzz-ng repo.
Behdad Esfahbod [Sun, 22 Nov 2009 23:23:35 +0000 (18:23 -0500)]
Fix MarkMark issue with ligid and components
Cherry-picked from harfbuzz-ng repo.
Behdad Esfahbod [Sun, 22 Nov 2009 23:20:49 +0000 (18:20 -0500)]
Bug 602660 - [HB] don't use flexible arrays
Cherry-picked from harfbuzz-ng repo.
Behdad Esfahbod [Fri, 20 Nov 2009 01:35:07 +0000 (20:35 -0500)]
Another C++ strictness fix
Pango Bug 602408 - Invalid C++ code breaks compile with Sun C++ Compiler
(Error: A union member cannot have a user-defined assignment operator)
According to the bug:
C++ Programming Language by Bjarne Stroustrup: Chapter 10.4.12 forbids
explicitly using of union members with constructors, destructors or assignment
operations.
So we use a set() method instead of the assignment operator. Ugly, but hey,
that's life.
Cherry-pick from harfbuzz-ng repo.
Behdad Esfahbod [Wed, 18 Nov 2009 02:38:53 +0000 (21:38 -0500)]
Release 1.26.1
Behdad Esfahbod [Wed, 18 Nov 2009 02:09:05 +0000 (21:09 -0500)]
Fix pangocairo-fc fontsize weirdness
Behdad Esfahbod [Wed, 18 Nov 2009 00:31:23 +0000 (19:31 -0500)]
Bug 341481 - pangocairo kerning problem with nonidentity scaling
Finally fix this embarrassing bug. The fix is a kludge, but it will
be redone for 1.28 (harfbuzz-ng) anyway.
Behdad Esfahbod [Tue, 17 Nov 2009 21:20:42 +0000 (16:20 -0500)]
Bug 596614 - Pango application receives SIGSEGV on pasting text with U+202E
Fixed all modules to reverse glyphs if run is rtl. Except for Hangul module.
Fixed pango_shape() to detect that, warn, and reverse.
Behdad Esfahbod [Wed, 11 Nov 2009 16:57:59 +0000 (11:57 -0500)]
Fix typo in previous commit
Behdad Esfahbod [Wed, 11 Nov 2009 16:03:29 +0000 (11:03 -0500)]
Bug 587768 - [patch] Don't build pango-view twice
Second try.
Behdad Esfahbod [Tue, 10 Nov 2009 22:09:31 +0000 (17:09 -0500)]
Bug 587768 - [patch] Don't build pango-view twice
Try to fix parallel build..
Behdad Esfahbod [Tue, 10 Nov 2009 21:44:54 +0000 (16:44 -0500)]
Remove REBUILD black magic
Shouldn't be needed.
Behdad Esfahbod [Tue, 3 Nov 2009 22:11:53 +0000 (17:11 -0500)]
Fix leak with non-mmapped fonts
Behdad Esfahbod [Thu, 29 Oct 2009 07:08:42 +0000 (03:08 -0400)]
[HB] Add glyph_metrics typedef
Behdad Esfahbod [Thu, 29 Oct 2009 07:05:18 +0000 (03:05 -0400)]
[HB] Add point_index to get_contour_point()
Pointed out by Keith Stribley on HarfBuzz list.
Behdad Esfahbod [Thu, 29 Oct 2009 07:00:44 +0000 (03:00 -0400)]
[HB] Fix lookup_flag ignoring
Reported by Keith Stribley on HarfBuzz list.
Behdad Esfahbod [Fri, 23 Oct 2009 20:45:36 +0000 (16:45 -0400)]
Bug 594101 - [Indic] character class data updates to support unicode 5.1
Add classification for new characters. Patch from Parag AN.
Behdad Esfahbod [Thu, 22 Oct 2009 21:24:21 +0000 (17:24 -0400)]
Allow using uninstalled glib
Reported by mpsuzuki on gtk-i18n-list on 2009-10-09.
Behdad Esfahbod [Thu, 22 Oct 2009 21:17:38 +0000 (17:17 -0400)]
[configure] Allow using uninstalled cairo
Reported by mpsuzuki on gtk-i18n-list on 2009-10-16.
Behdad Esfahbod [Wed, 21 Oct 2009 22:26:27 +0000 (18:26 -0400)]
Update from vte
Behdad Esfahbod [Mon, 5 Oct 2009 19:31:31 +0000 (15:31 -0400)]
Typo
Behdad Esfahbod [Wed, 30 Sep 2009 20:35:40 +0000 (16:35 -0400)]
Bug 596837 - Typo in pango_cairo_show_layout documentation
Behdad Esfahbod [Mon, 21 Sep 2009 20:58:52 +0000 (16:58 -0400)]
Release 1.26.0
Behdad Esfahbod [Mon, 21 Sep 2009 17:58:56 +0000 (13:58 -0400)]
[HB] Add comment
Behdad Esfahbod [Mon, 21 Sep 2009 17:43:54 +0000 (13:43 -0400)]
[HB] Fix apply_lookup() loop
Part of Bug 595539 - Regressions in rendering certain Thai sequences with
OpenType font
Behdad Esfahbod [Mon, 21 Sep 2009 17:40:38 +0000 (13:40 -0400)]
[HB] Fix bug in chain_context_lookup() invocations
Part of Bug 595539 - Regressions in rendering certain Thai sequences with
OpenType font
Behdad Esfahbod [Wed, 16 Sep 2009 19:43:57 +0000 (15:43 -0400)]
Bug 595350 - set LC_ALL=C, not LANG=C
Behdad Esfahbod [Fri, 11 Sep 2009 20:57:25 +0000 (16:57 -0400)]
Bug 594936 - pango_layout_set_wrap
Remove wrong optimization in pango_layout_set_wrap(). The assumption that
if the layout was not wrapped before, it will not wrap now is simply wrong.
Behdad Esfahbod [Fri, 11 Sep 2009 20:51:34 +0000 (16:51 -0400)]
Bug 594934 - pango_layout_copy
Use memcpy() to copy value fields so we don't miss any.
Tor Lillqvist [Thu, 10 Sep 2009 15:49:31 +0000 (18:49 +0300)]
Revert "[basic-win32] Increase performance of Uniscribe code"
Unfortunately this change breaks complex script shaping.
This reverts commit
ea608c0bd7721d3019bed7ef2472289b1ea6fa53.
Behdad Esfahbod [Thu, 10 Sep 2009 00:25:32 +0000 (20:25 -0400)]
Only check doc coverage if building docs
Behdad Esfahbod [Tue, 8 Sep 2009 15:41:38 +0000 (11:41 -0400)]
Release 1.25.6
Behdad Esfahbod [Mon, 31 Aug 2009 01:02:28 +0000 (21:02 -0400)]
[HB] Add TODO item
Behdad Esfahbod [Fri, 28 Aug 2009 21:17:11 +0000 (17:17 -0400)]
[HB] Rename DEBUG to TRACE where appropriate
Behdad Esfahbod [Fri, 28 Aug 2009 21:14:33 +0000 (17:14 -0400)]
[HB] Add GSUB/GPOS tracing
Behdad Esfahbod [Fri, 28 Aug 2009 20:31:20 +0000 (16:31 -0400)]
[HB] Allow enabling different debug facilities individually
Behdad Esfahbod [Fri, 28 Aug 2009 18:01:49 +0000 (14:01 -0400)]
Enable silent rules by default
Behdad Esfahbod [Fri, 28 Aug 2009 13:46:14 +0000 (09:46 -0400)]
Fix stupid array growing bug
Behdad Esfahbod [Thu, 27 Aug 2009 05:32:17 +0000 (01:32 -0400)]
[HB] Simplify counting
Behdad Esfahbod [Thu, 27 Aug 2009 05:16:28 +0000 (01:16 -0400)]
Fix bug with lookup_index overflowing our static array
Part of Bug 593240 - updating pango to latest git master makes things crash