platform/upstream/pango.git
14 years agoUpdate to harfbuzz 0.3 api
Behdad Esfahbod [Wed, 27 Oct 2010 05:15:43 +0000 (01:15 -0400)]
Update to harfbuzz 0.3 api

14 years agoRemove Arabic and Syriac shapers, require harfbuzz >= 0.2
Behdad Esfahbod [Tue, 12 Oct 2010 23:51:40 +0000 (19:51 -0400)]
Remove Arabic and Syriac shapers, require harfbuzz >= 0.2

14 years agoFix y_offset negation
Behdad Esfahbod [Tue, 12 Oct 2010 21:36:41 +0000 (17:36 -0400)]
Fix y_offset negation

14 years agoDoc template changes
Behdad Esfahbod [Wed, 22 Sep 2010 19:45:33 +0000 (15:45 -0400)]
Doc template changes

14 years agoFix docs build on Ubuntu
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...

14 years agoMerge branch 'master' into harfbuzz-ng-external
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

14 years agoBug 629632 - configure bug
Behdad Esfahbod [Tue, 14 Sep 2010 18:50:01 +0000 (14:50 -0400)]
Bug 629632 - configure bug

14 years agoReduce DLL hijack risk and simplify code in basic-win32 module
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.

14 years agointrospection: Filter out private headers
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

14 years agoBug 627978 - explicitly link with the math lib (-lm) for use of 'cos'
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'

14 years agoBug 627902 - explicitely link dump-boundaries to GLib
Behdad Esfahbod [Wed, 25 Aug 2010 16:00:34 +0000 (12:00 -0400)]
Bug 627902 - explicitely link dump-boundaries to GLib

14 years agoFix include
Behdad Esfahbod [Tue, 24 Aug 2010 23:47:49 +0000 (19:47 -0400)]
Fix include

14 years agoBug 626500 - Fails to compile with gobject-introspection 0.9
Robert Ancell [Tue, 10 Aug 2010 06:31:44 +0000 (16:31 +1000)]
Bug 626500 - Fails to compile with gobject-introspection 0.9

14 years agoBug 625807 - approximate character width is 0 on pangoft2
Behdad Esfahbod [Fri, 6 Aug 2010 16:48:10 +0000 (12:48 -0400)]
Bug 625807 - approximate character width is 0 on pangoft2

Fix regression.

14 years agoBug 617772 - pango fails to build from git outside source tree
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>
14 years agoAdd PANGO_LIBDIR and PANGO_SYSCONFDIR enviroment variables
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

14 years agoTypo fix
Tor Lillqvist [Sun, 27 Jun 2010 20:40:18 +0000 (23:40 +0300)]
Typo fix

As such libpangowin32 is deprecated, I guess...

14 years agoImprove performance on Windows especially for non-Latin scripts
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

14 years agoBump version to 1.29
Behdad Esfahbod [Tue, 15 Jun 2010 15:36:18 +0000 (11:36 -0400)]
Bump version to 1.29

14 years agoBackport this commit from harfbuzz-ng repo:
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.

14 years agoBug 621612 - VPATH build fix
Behdad Esfahbod [Tue, 15 Jun 2010 12:38:59 +0000 (08:38 -0400)]
Bug 621612 - VPATH build fix

14 years agoFix a test failure
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

14 years agoCypriot is RTL
Behdad Esfahbod [Wed, 26 May 2010 20:21:47 +0000 (16:21 -0400)]
Cypriot is RTL

14 years agoUpdate to hb inversion of the mask
Behdad Esfahbod [Thu, 20 May 2010 13:00:54 +0000 (14:00 +0100)]
Update to hb inversion of the mask

14 years agoAdjust to hb-ng scale cleanup
Behdad Esfahbod [Wed, 19 May 2010 19:54:43 +0000 (15:54 -0400)]
Adjust to hb-ng scale cleanup

14 years agoFix glyph class building. Oops!
Behdad Esfahbod [Tue, 11 May 2010 00:45:07 +0000 (20:45 -0400)]
Fix glyph class building.  Oops!

Bug 605870 - Incorrect shaping for Syriac

14 years agoFix glyph class building. Oops!
Behdad Esfahbod [Tue, 11 May 2010 00:45:07 +0000 (20:45 -0400)]
Fix glyph class building.  Oops!

14 years ago[cairo] Scale font metrics to user space
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

14 years ago[cairo] Refactor common code in create_metrics_for_context()
Behdad Esfahbod [Tue, 4 May 2010 15:55:27 +0000 (11:55 -0400)]
[cairo] Refactor common code in create_metrics_for_context()

14 years ago[OT] Adjust to HB API change
Behdad Esfahbod [Thu, 22 Apr 2010 04:30:12 +0000 (00:30 -0400)]
[OT] Adjust to HB API change

14 years ago[HB] Minor
Behdad Esfahbod [Wed, 21 Apr 2010 06:04:22 +0000 (02:04 -0400)]
[HB] Minor

14 years ago[HB] Improve comments
Behdad Esfahbod [Wed, 21 Apr 2010 04:49:40 +0000 (00:49 -0400)]
[HB] Improve comments

14 years ago[HB] Remove stale TODO item
Behdad Esfahbod [Wed, 21 Apr 2010 04:40:50 +0000 (00:40 -0400)]
[HB] Remove stale TODO item

14 years ago[HB] Use a function template instead of struct template for Null
Behdad Esfahbod [Wed, 21 Apr 2010 04:32:47 +0000 (00:32 -0400)]
[HB] Use a function template instead of struct template for Null

14 years ago[HB] Simplify Tag struct
Behdad Esfahbod [Wed, 21 Apr 2010 04:14:12 +0000 (00:14 -0400)]
[HB] Simplify Tag struct

14 years ago[HB] Cosmetic
Behdad Esfahbod [Wed, 21 Apr 2010 03:50:45 +0000 (23:50 -0400)]
[HB] Cosmetic

14 years ago[HB] Fix Class operator return type
Behdad Esfahbod [Tue, 20 Apr 2010 19:52:47 +0000 (15:52 -0400)]
[HB] Fix Class operator return type

14 years ago[HB] Add couple consts to operators
Behdad Esfahbod [Tue, 20 Apr 2010 19:51:53 +0000 (15:51 -0400)]
[HB] Add couple consts to operators

14 years ago[HB] Remove ASSERT_SIZE_DATA
Behdad Esfahbod [Tue, 20 Apr 2010 19:25:27 +0000 (15:25 -0400)]
[HB] Remove ASSERT_SIZE_DATA

14 years agoGNOME Bug 613015 - [HB] Does not sanitize Device tables referenced from ValueRecords
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

14 years ago[HB] Round instead of trunc
Behdad Esfahbod [Mon, 19 Apr 2010 06:34:10 +0000 (02:34 -0400)]
[HB] Round instead of trunc

14 years ago[HB] Fix warnings
Behdad Esfahbod [Mon, 19 Apr 2010 06:29:04 +0000 (02:29 -0400)]
[HB] Fix warnings

14 years ago[HB] Fix debug build
Behdad Esfahbod [Mon, 19 Apr 2010 06:27:56 +0000 (02:27 -0400)]
[HB] Fix debug build

14 years agoBug 582698 - Support CSS-style margin specification
Behdad Esfahbod [Thu, 1 Apr 2010 07:33:22 +0000 (03:33 -0400)]
Bug 582698 - Support CSS-style margin specification

14 years agoRemove the .vcproj files before rewriting them
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.

14 years ago[HB] Fix leak when duplicating blob
Behdad Esfahbod [Sat, 27 Mar 2010 21:00:19 +0000 (17:00 -0400)]
[HB] Fix leak when duplicating blob

14 years agoBug 611033 - Layout using ATSUI fontmap treats absolute font sizes a...
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.

14 years agoDist also the .vcprojin files
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.

14 years ago[HB] Fix the mystery bug!
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.

14 years ago[HB] Cosmetic
Behdad Esfahbod [Tue, 16 Mar 2010 07:15:00 +0000 (03:15 -0400)]
[HB] Cosmetic

14 years agoPut the PANGO_MODULE_PREFIX defines in the project files
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.

14 years agoBuild fix on Linux after previous commits
Tor Lillqvist [Mon, 15 Mar 2010 21:44:01 +0000 (23:44 +0200)]
Build fix on Linux after previous commits

14 years agoAdd a couple of files accidentally left out in previous commit
Tor Lillqvist [Mon, 15 Mar 2010 21:28:51 +0000 (23:28 +0200)]
Add a couple of files accidentally left out in previous commit

14 years agoAdd solution and project files for Visual Studio builds
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.

14 years ago[git.mk] Fix bug with parallel make and subdirs
Behdad Esfahbod [Sat, 13 Mar 2010 05:02:30 +0000 (00:02 -0500)]
[git.mk] Fix bug with parallel make and subdirs

14 years agoBug 594101 - [Indic] needed character class data updates to support unicode 5.1
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.

14 years agoBug 345066 - backspace changes independent indic characters
Behdad Esfahbod [Thu, 4 Mar 2010 01:43:26 +0000 (20:43 -0500)]
Bug 345066 - backspace changes independent indic characters

14 years agoBug 609326 - Complex script shaping failed in the FT2 backend on Windows
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.

14 years agoMake blob unlocking 64bit-safe
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

14 years agoBug 609326 - Complex script shaping failed in the FT2 backend on Windows
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.

14 years agoBug 608923 - Incorrect/broken ligatures on MacOS
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.

14 years agoBug 610791 - checks fail for unused documented symbols
Behdad Esfahbod [Tue, 23 Feb 2010 19:14:17 +0000 (14:14 -0500)]
Bug 610791 - checks fail for unused documented symbols

Hookup new symbol.

14 years agoRelease 1.27.1 1.27.1
Behdad Esfahbod [Mon, 22 Feb 2010 21:06:18 +0000 (16:06 -0500)]
Release 1.27.1

14 years agoEnsure proper alignment of NullPool
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

14 years agoEnable introspection for dist again
Behdad Esfahbod [Mon, 22 Feb 2010 19:01:01 +0000 (14:01 -0500)]
Enable introspection for dist again

14 years agoBug 610183 - Pango doesn't compile with gcc 3.3.3
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.

14 years ago[HB] Remove unused argument
Behdad Esfahbod [Tue, 26 Jan 2010 17:58:01 +0000 (12:58 -0500)]
[HB] Remove unused argument

14 years ago[HB/GDEF] Fix bug in building synthetic GDEF table
Behdad Esfahbod [Tue, 26 Jan 2010 17:30:44 +0000 (12:30 -0500)]
[HB/GDEF] Fix bug in building synthetic GDEF table

14 years agoLets see if this shuts introspection down so I can get a release out
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

14 years ago[configure] Remove stale code
Behdad Esfahbod [Tue, 12 Jan 2010 19:05:48 +0000 (14:05 -0500)]
[configure] Remove stale code

14 years agoBug 582697 - Add pango-view --pixels option
Behdad Esfahbod [Tue, 5 Jan 2010 12:21:35 +0000 (13:21 +0100)]
Bug 582697 - Add pango-view --pixels option

14 years agoDo not get the gir and typelib dir for g-i
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

14 years agoSimplify cluster analysis
Behdad Esfahbod [Fri, 25 Dec 2009 15:03:12 +0000 (16:03 +0100)]
Simplify cluster analysis

14 years agoAlways recalculate run width after breaking the run
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.

14 years agoZero the space at the end of line when breaking lines
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.

14 years agoCosmetic
Behdad Esfahbod [Fri, 25 Dec 2009 14:59:54 +0000 (15:59 +0100)]
Cosmetic

14 years ago[modules] Don't warn multiple times
Behdad Esfahbod [Fri, 25 Dec 2009 14:30:57 +0000 (15:30 +0100)]
[modules] Don't warn multiple times

14 years agoDon't use devel version numbers in Since tags
Kristian Rietveld [Thu, 24 Dec 2009 07:49:48 +0000 (08:49 +0100)]
Don't use devel version numbers in Since tags

14 years agoRevert usage of CoreText in ATSUI backend
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.

14 years agoFix hb font scale
Behdad Esfahbod [Sun, 20 Dec 2009 19:58:50 +0000 (20:58 +0100)]
Fix hb font scale

14 years agoFix FT_Face finalizer call
Behdad Esfahbod [Fri, 6 Nov 2009 20:20:29 +0000 (15:20 -0500)]
Fix FT_Face finalizer call

14 years ago[HB module] Hook-up TT kerning
Behdad Esfahbod [Sun, 20 Dec 2009 16:40:16 +0000 (17:40 +0100)]
[HB module] Hook-up TT kerning

14 years ago[HB module] Release font
Behdad Esfahbod [Sun, 20 Dec 2009 16:15:17 +0000 (17:15 +0100)]
[HB module] Release font

14 years agoUse introspection.m4
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

14 years agoUse Makefile.introspection
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

14 years agoPass in --enable-introspection to distcheck
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

14 years agoRelease 1.26.2 1.26.2
Behdad Esfahbod [Mon, 14 Dec 2009 20:42:50 +0000 (15:42 -0500)]
Release 1.26.2

14 years agoSimplify make rules
Behdad Esfahbod [Thu, 26 Nov 2009 16:20:48 +0000 (11:20 -0500)]
Simplify make rules

14 years agoDo not multiply return value of CTFontGetDescent with -1
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.

14 years agoBug 602823 - void function cannot return value
Behdad Esfahbod [Thu, 26 Nov 2009 00:49:44 +0000 (19:49 -0500)]
Bug 602823 - void function cannot return value

14 years ago[GSUB] More ligature/component fixing
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.

14 years agoFix MarkMark issue with ligid and components
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.

14 years agoBug 602660 - [HB] don't use flexible arrays
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.

14 years agoAnother C++ strictness fix
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.

14 years agoRelease 1.26.1 1.26.1
Behdad Esfahbod [Wed, 18 Nov 2009 02:38:53 +0000 (21:38 -0500)]
Release 1.26.1

14 years agoFix pangocairo-fc fontsize weirdness
Behdad Esfahbod [Wed, 18 Nov 2009 02:09:05 +0000 (21:09 -0500)]
Fix pangocairo-fc fontsize weirdness

14 years agoBug 341481 - pangocairo kerning problem with nonidentity scaling
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.

14 years agoBug 596614 - Pango application receives SIGSEGV on pasting text with U+202E
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.

15 years agoFix typo in previous commit
Behdad Esfahbod [Wed, 11 Nov 2009 16:57:59 +0000 (11:57 -0500)]
Fix typo in previous commit

15 years agoBug 587768 - [patch] Don't build pango-view twice
Behdad Esfahbod [Wed, 11 Nov 2009 16:03:29 +0000 (11:03 -0500)]
Bug 587768 - [patch] Don't build pango-view twice

Second try.