Behdad Esfahbod [Wed, 22 Aug 2012 13:25:52 +0000 (09:25 -0400)]
Minor
Behdad Esfahbod [Wed, 22 Aug 2012 12:38:57 +0000 (08:38 -0400)]
Remove old cruft
Chun-wei Fan [Tue, 21 Aug 2012 06:07:25 +0000 (14:07 +0800)]
autotools: Re-enable and enhance the completion of MSVC projects
-Isolate the creation of full MSVC projects for pango, pangoft2 and
pangocairo in a seperate build/Makefile-msvcproj.am, so it can be included
and used elsewhere.
-Update the Makefile.am's in pango/ and pango/mini-fribidi to include
and use build/Makefile-msvcproj.am to create the MSVC project files
-Use templates for the property sheets so that the listings of header files
to "install" can be filled in using build/Makefile-msvcproj.am, to
simplify future maintenance.
-Re-enable the distribution of the created project files and property
sheets
John Ralls [Wed, 22 Aug 2012 19:15:30 +0000 (12:15 -0700)]
Fix introspection for CoreText
John Ralls [Wed, 22 Aug 2012 18:26:39 +0000 (11:26 -0700)]
Check for Cairo-Quartz as well as CoreText
John Ralls [Wed, 22 Aug 2012 16:53:49 +0000 (09:53 -0700)]
A bit more atsui cleanup
Just a no-longer-true comment.
John Ralls [Wed, 22 Aug 2012 16:38:47 +0000 (09:38 -0700)]
Still more atsui removal
CoreText works now!
John Ralls [Tue, 21 Aug 2012 21:37:36 +0000 (14:37 -0700)]
Fix configuring for Xft even when it's not present
Must declare have_xft=false before the pkg-check otherwise it's always
true. Then do the checks for Freetype and Xft, *then* check for Harfbuzz
and disable Freetype and Xft if it's not there. Finally set the
environment and config.h for Freetype and Xft.
Behdad Esfahbod [Tue, 21 Aug 2012 20:07:41 +0000 (16:07 -0400)]
Fix build system
When harfbuzz is not found, we cannot enable cairo-ft backend.
Behdad Esfahbod [Tue, 21 Aug 2012 19:24:45 +0000 (15:24 -0400)]
Remove some old cruft
Behdad Esfahbod [Tue, 21 Aug 2012 18:49:33 +0000 (14:49 -0400)]
Bug 590183 - Fix bidi implementation with regards to Unicode 5.2.0
Khaled Hosny [Tue, 21 Aug 2012 15:52:26 +0000 (17:52 +0200)]
Typo in the example
Khaled Hosny [Tue, 21 Aug 2012 15:41:05 +0000 (17:41 +0200)]
More pangox residual removal
Chun-wei Fan [Tue, 21 Aug 2012 05:42:52 +0000 (13:42 +0800)]
Update pango Visual C++ project templates
Simplify the inclusion of the mini-fribidi sources a bit, so we can use
the -I flag to the preprocessor when creating the projects
Matthias Clasen [Mon, 20 Aug 2012 23:06:17 +0000 (19:06 -0400)]
Revert "Temporarily work around doc build breakages"
This reverts commit
3b7c44229bd212e68eb0407f297d7bc6570ce7c3.
Matthias Clasen [Mon, 20 Aug 2012 23:06:02 +0000 (19:06 -0400)]
Bump version
Matthias Clasen [Mon, 20 Aug 2012 21:00:26 +0000 (17:00 -0400)]
1.31.0
Matthias Clasen [Mon, 20 Aug 2012 22:42:07 +0000 (18:42 -0400)]
Temporarily work around doc build breakages
The doc check script gets tripped up by some struct members
that gtk-doc considers undocumented, and for some reason,
forcing a doc rebuild in make dist does not work either.
Matthias Clasen [Mon, 20 Aug 2012 22:39:56 +0000 (18:39 -0400)]
Neuter win32 build stuff
Remove nonexisting files from EXTRADIST, this was breaking distcheck.
Matthias Clasen [Mon, 20 Aug 2012 21:32:30 +0000 (17:32 -0400)]
Fix the doc build
No more atsui docs either !
Behdad Esfahbod [Mon, 20 Aug 2012 20:51:19 +0000 (16:51 -0400)]
Update build/ to include git.mk
Behdad Esfahbod [Mon, 20 Aug 2012 20:51:03 +0000 (16:51 -0400)]
Update git.mk from upstream
Behdad Esfahbod [Mon, 20 Aug 2012 20:06:39 +0000 (16:06 -0400)]
Make HarfBuzz dependency optional (on non-Linux), update README
If HarfBuzz is not available, we just can't build the
Freetype/Fontconfig backend...
Behdad Esfahbod [Mon, 20 Aug 2012 16:58:23 +0000 (12:58 -0400)]
More pangox residual removal
Chun-wei Fan [Mon, 20 Aug 2012 08:28:55 +0000 (16:28 +0800)]
Fix the pangoft2 Visual C++ projects
Many of the module sources have been removed for pangoft2, so remove them
from the projects.
Behdad Esfahbod [Sat, 18 Aug 2012 17:37:05 +0000 (13:37 -0400)]
More doc fixes
Behdad Esfahbod [Sat, 18 Aug 2012 17:34:29 +0000 (13:34 -0400)]
More atsui residual removal
Behdad Esfahbod [Sat, 18 Aug 2012 17:34:02 +0000 (13:34 -0400)]
Small doc fix
Behdad Esfahbod [Sat, 18 Aug 2012 16:32:27 +0000 (12:32 -0400)]
Remove win32 build cruft, to make "make distcheck" pass
I need to be able to "make distcheck". These were getting in the way.
Please only add back if:
1) "make distcheck" passes, AND
2) Put the cruft under build/ only, no hundreds of lines of
unmaintainable code in pango/Makefile.am please.
Behdad Esfahbod [Sat, 18 Aug 2012 15:52:11 +0000 (11:52 -0400)]
More pangox resigual removal
Behdad Esfahbod [Sat, 18 Aug 2012 15:46:12 +0000 (11:46 -0400)]
Bump module version as pango-ot is being phased out
Behdad Esfahbod [Fri, 17 Aug 2012 02:10:34 +0000 (22:10 -0400)]
Add Mongolian test file
Behdad Esfahbod [Fri, 17 Aug 2012 01:59:11 +0000 (21:59 -0400)]
Remove residuals from pangox and pangoatsui removals
Behdad Esfahbod [Fri, 17 Aug 2012 01:58:44 +0000 (21:58 -0400)]
Remove Atsui Module
CoreText for the win.
Behdad Esfahbod [Fri, 17 Aug 2012 01:48:50 +0000 (21:48 -0400)]
Remove PangoX
Been overdue...
Behdad Esfahbod [Fri, 17 Aug 2012 00:51:57 +0000 (20:51 -0400)]
Merge branch 'harfbuzz-ng-external'
Conflicts:
configure.in
docs/tmpl/text-attributes.sgml
modules/arabic/arabic-ot.c
modules/indic/indic-ot.c
pango/opentype/Makefile.am
pango/opentype/hb-blob.c
pango/opentype/hb-buffer-private.h
pango/opentype/hb-common.h
pango/opentype/hb-ot-layout-gsubgpos-private.hh
pango/opentype/hb-private.h
pango/pango-ot-info.c
Behdad Esfahbod [Fri, 17 Aug 2012 00:42:44 +0000 (20:42 -0400)]
[HB] Remove Indic module
Behdad Esfahbod [Fri, 17 Aug 2012 00:38:31 +0000 (20:38 -0400)]
[HB] Remove Thai shaper
Behdad Esfahbod [Fri, 17 Aug 2012 00:35:18 +0000 (20:35 -0400)]
[HB] Remove Hangul, Hebrew, Khmer, and Tibetan shaping modules
Behdad Esfahbod [Fri, 17 Aug 2012 00:23:29 +0000 (20:23 -0400)]
[HB] Update to HarfBuzz 0.9.2 API
Evan Nemerson [Wed, 8 Aug 2012 02:35:28 +0000 (19:35 -0700)]
introspection: assorted fixes to avoid regressions in Vala bindings
https://bugzilla.gnome.org/show_bug.cgi?id=681423
Behdad Esfahbod [Thu, 2 Aug 2012 11:07:02 +0000 (07:07 -0400)]
Remove unused macro
Behdad Esfahbod [Thu, 2 Aug 2012 11:04:00 +0000 (07:04 -0400)]
Bug 680965 - missing language strings for pango_language_get_sample_string()
Add misc Indic scripts. Patch from Pravin Satpute.
John Ralls [Fri, 20 Jul 2012 21:45:16 +0000 (14:45 -0700)]
Bug 679654: Crash for PangoContext.list_families
Add transfer container annotations so that the array is freed but not
the (static) family objects.
Fabian Groffen [Sat, 16 Jun 2012 13:19:25 +0000 (09:19 -0400)]
utils: Add missing prototype for pango_config_key_get_system()
Commit message written by Colin Walters <walters@verbum.org>
https://bugzilla.gnome.org/show_bug.cgi?id=667960
Robert Ancell [Thu, 14 Jun 2012 00:24:04 +0000 (12:24 +1200)]
[opentype] Free mutex on hb_blob destruction
Kristian Rietveld [Tue, 5 Jun 2012 20:34:59 +0000 (22:34 +0200)]
coretext: don't insert item in the hash if it originated from the hash
Oversight in my fallback fix, this resulted in things being wrongly
destroyed due to unrefs. Oops.
Matthias Clasen [Tue, 5 Jun 2012 10:32:21 +0000 (06:32 -0400)]
Fix list of exported symbols
This was forgotten in commit
aecbe27c1b08f517c0e05f03308d3ac55cef490c
Kristian Rietveld [Mon, 4 Jun 2012 18:58:25 +0000 (20:58 +0200)]
coretext: implement detection of fonts supporting small caps
Kristian Rietveld [Mon, 4 Jun 2012 18:27:01 +0000 (20:27 +0200)]
Bug 673497 - corefont fallback not always working
The fallback failed when a "small caps" font was requested. This commit
improves the fallback support. When the first fallback, trying Sans with
the same style fails, we reset the variant, weight and stretch to
default values and try again. With Sans we should always be able to
adhere to the requested style.
Last but not least, output a sensible error message if all fallbacks
fail instead of simply crashing on a NULL pointer somewhere.
Pavel Holejsovsky [Sun, 3 Jun 2012 20:32:56 +0000 (22:32 +0200)]
Fix transfer annotation for pango_font_family_list_faces
The documentation says 'This array should be freed with g_free() when
it is no longer needed', which really translates to (transfer
container) in introspection annotation jargon.
https://bugzilla.gnome.org/show_bug.cgi?id=677407
Pavel Holejsovsky [Sun, 3 Jun 2012 20:32:56 +0000 (22:32 +0200)]
Add missing (element-type) annotations for list arguments
https://bugzilla.gnome.org/show_bug.cgi?id=677407
Pavel Holejsovsky [Sun, 3 Jun 2012 20:32:11 +0000 (22:32 +0200)]
Annotations: add missing colons after symbol names
https://bugzilla.gnome.org/show_bug.cgi?id=677407
Pavel Holejsovsky [Sun, 3 Jun 2012 20:21:02 +0000 (22:21 +0200)]
Fix annotation for pango_layout_move_cursor_visually()
https://bugzilla.gnome.org/show_bug.cgi?id=677407
Matthias Clasen [Fri, 11 May 2012 00:13:34 +0000 (20:13 -0400)]
Read pangox.aliases from XDG_CONFIG_HOME
Change the X fontmap code to look for the aliases file
in $XDG_CONFIG_HOME/pango/pangox.aliases instead of
~/.pangox_aliases
https://bugzilla.gnome.org/show_bug.cgi?id=675400
Matthias Clasen [Thu, 10 May 2012 23:54:27 +0000 (19:54 -0400)]
Read pangorc from XDG_CONFIG_HOME
Look for the rcfile in $XDG_CONFIG_HOME/pango/pangorc
instead of ~/.pangorc.
https://bugzilla.gnome.org/show_bug.cgi?id=675400
Kristian Rietveld [Sun, 13 May 2012 16:23:11 +0000 (18:23 +0200)]
Use same font family name fallback in pango_core_text_font_map_init
Same fallback as already used in CoreText font descriptor to Pango
font descriptor conversion.
Colin Walters [Sun, 15 Jan 2012 14:43:59 +0000 (09:43 -0500)]
querymodules: Add --system argument
When run as a system trigger, we really don't want to be consulting
e.g. /root/.pangorc. Also, the OSTree build system can run as
non-root, but we don't in this case want to look at /home/user since
the user may not even exist in the password database inside the
chroot.
https://bugzilla.gnome.org/show_bug.cgi?id=667960
Pavel Holejsovsky [Wed, 25 Apr 2012 13:23:01 +0000 (15:23 +0200)]
Fix missing hyphen in -I option for g-ir-scanner invocation
https://bugzilla.gnome.org/show_bug.cgi?id=672133
Pavel Holejsovsky [Fri, 23 Mar 2012 06:09:02 +0000 (07:09 +0100)]
Fix sourcedir!=builddir .gir build from source tarball
Setting -I$(top_builddir) before -I$(top_srcdir) causes that
g-ir-scanner picks up boxing definitions generated by glib-mkenums.
https://bugzilla.gnome.org/show_bug.cgi?id=672133
Khaled Hosny [Fri, 6 Apr 2012 18:53:39 +0000 (20:53 +0200)]
Update Arabic joining classes to Unicode 6.1.0
Matthias Clasen [Tue, 27 Mar 2012 01:28:57 +0000 (21:28 -0400)]
1.30.0
Kristian Rietveld [Sun, 18 Mar 2012 09:40:50 +0000 (10:40 +0100)]
Guard for an accumulated glyph count of zero in CoreText shape engine
Behdad Esfahbod [Sat, 17 Mar 2012 19:27:26 +0000 (15:27 -0400)]
Make relative paths work in pango.modules files
Part of Bug 454017 - Make relative paths in pango.modules and pangorc
files work relative to the file
Patch from Anselm Kruis.
Chun-wei Fan [Thu, 15 Mar 2012 08:43:45 +0000 (16:43 +0800)]
Fix "install" paths in VS property sheets
Kristian Rietveld [Sun, 19 Feb 2012 20:03:23 +0000 (21:03 +0100)]
Make CoreText shaping engine more robust
This commit makes the CoreText shaping engine much more robust against
the output from the CoreText typesetter. Refer to the source code
comments for exhaustive details.
Furthermore, this patch fixing cursor navigation in strings with
zero-width spaces.
Kristian Rietveld [Sat, 28 Jan 2012 09:34:52 +0000 (10:34 +0100)]
Make CoreText backend more robust against broken fonts
Patch written in collaboration with Michael Natterer.
Some CTFontDescriptors apparently do not have a style name or font
family name set. This patch makes the code take such corner cases into
account. The font family problem only appears to occur on Snow Leopard
systems, we try to fall back on the font name (postscript name), if that
fails, we fall back on a default fallback.
In some cases a coverage is also not set. (This seems to happen when we
cannot map a broken font back to a correct font descriptor). In such
cases we simply return an empty PangoCoverage, which will likely cause
the engine to fallback on a different font.
Kristian Rietveld [Fri, 14 Oct 2011 09:25:21 +0000 (11:25 +0200)]
CoreText backend: implement font fallbacks
We implement font fallbacks by making use of
CTFontCopyDefaultCascadeList, a public, non-exposed, symbol in the
CoreText library. We might want to handle this differently.
The code now also uses a PangoCoreTextFontsetKey and
PangoCoreTextFontKey, similar to the font config backend. This has also
helped to clean up the code in general.
This patch contains two fixes by Michael Natterer:
1. Fix a bug in pango_core_text_font_key_equal() where the return value
of memcmp() was wrongly interpreted.
2. Cache PangoCoverage in PangoCoreTextFont.
Behdad Esfahbod [Wed, 25 Jan 2012 18:05:02 +0000 (13:05 -0500)]
Update git.mk. git.mk lives in its own upstream repo now.
Kristian Rietveld [Sat, 26 Nov 2011 16:27:43 +0000 (17:27 +0100)]
Bug 664125 - Zero-width spaces cause missing characters
This is fixed by using the characters obtained from CoreText's mapping from
glyphs back to the original string instead of blindly iterating over the
original gchar string. Take notice that we have to convert these indices
from the mapping back to a byte index in the original UTF8 string.
Zero-width spaces are already removed from the list of CGGlyphs, so we were
mismatching CGGlyphs and characters from the original string. Using
CoreText's list of string indices instead eliminates the mismatches.
Dan Winship [Thu, 12 Jan 2012 18:22:10 +0000 (13:22 -0500)]
Fix cross-compiling bug in configure.in
https://bugzilla.gnome.org/show_bug.cgi?id=667799
Chun-wei Fan [Fri, 30 Dec 2011 07:44:54 +0000 (15:44 +0800)]
config.h.win32.in: Update a bit
Make the config entries more like the standard config.h.in
Matthias Clasen [Tue, 22 Nov 2011 20:42:32 +0000 (15:42 -0500)]
Switch to dist-xz
Matthias Clasen [Tue, 22 Nov 2011 20:09:18 +0000 (15:09 -0500)]
1.29.5
Matthias Clasen [Tue, 22 Nov 2011 19:59:13 +0000 (14:59 -0500)]
Make docs a bit more complete
Matthias Clasen [Tue, 22 Nov 2011 19:57:57 +0000 (14:57 -0500)]
Include corefont docs
Matthias Clasen [Tue, 22 Nov 2011 19:56:58 +0000 (14:56 -0500)]
Fix doc build
When gtk-doc regenerated the pango.types file, it includes
get_type functions for platform-specific things that will
cause link failures.
Matthias Clasen [Tue, 22 Nov 2011 19:00:24 +0000 (14:00 -0500)]
Move gmodule to Requires.private
Users of pango are not generally expected to use gmodule API,
so don't force them all to link against it.
Kristian Rietveld [Mon, 14 Nov 2011 09:48:53 +0000 (10:48 +0100)]
CoreText: stricter handling of FontSymbolic traits
It turns out that getting this value as "Int" is incorrect and resulted
in font traits not being returned in some cases. Without traits, an
italic trait is not set, which caused synthetic oblique fonts to be
created when not necessary.
Also use CTFontSymbolicTraits type in the PangoCoreTextFace structure
and do a stricter bit mask check for certainty.
Kristian Rietveld [Fri, 23 Sep 2011 11:50:25 +0000 (13:50 +0200)]
Get _pango_get_lc_ctype from system prefs on Mac OS X
Chun-wei Fan [Mon, 17 Oct 2011 07:22:26 +0000 (15:22 +0800)]
Update VS property sheets
Say farewell to G_DISABLE_DEPRECATED and the build breakages that it causes.
We now have warnings when we make use of deprecated GLib items
Matthias Clasen [Thu, 13 Oct 2011 21:54:40 +0000 (17:54 -0400)]
Don't set build-breaking defines
Now that we get compiler warnings for deprecations, we don't
need to use the G_DISABLE_DEPRECATED hammer anymore.
Bye, bye, build breakage.
Matthias Clasen [Wed, 12 Oct 2011 22:33:03 +0000 (18:33 -0400)]
Add deprecation attributes to deprecated functions
This is using the newly introduce G_DEPRECATED macros
from GLib. Traditional deprecation guards are still in
place.
https://bugzilla.gnome.org/show_bug.cgi?id=661612
Matthias Clasen [Wed, 28 Sep 2011 14:56:24 +0000 (10:56 -0400)]
Bump version
1.29.4 got released off a side-branch, but bump version here too.
Chun-wei Fan [Sun, 25 Sep 2011 01:56:37 +0000 (09:56 +0800)]
Update VS2008 PangoFT2 project
This project will require the use of stdint.h, which is not shipped with
VS2008 (but is shipped with VS2010), so define HAVE_STDINT_H for all
settings in this project so that the stdint.h bundled in
$(srcroot)/build/win32/vs9 will be used when HarfBuzz and FontConfig is
being used.
Chun-wei Fan [Sun, 25 Sep 2011 01:49:24 +0000 (09:49 +0800)]
README.win32: Update compilation info a bit
Update the info about the Visual Studio projects as VS2010 projects have
landed into master.
Behdad Esfahbod [Mon, 19 Sep 2011 21:48:39 +0000 (17:48 -0400)]
[hb] Adapt to harfbuzz API changes
Chun-wei Fan [Fri, 16 Sep 2011 07:54:42 +0000 (15:54 +0800)]
break.c: Fix compilation against newer GLib versions
G_UNICODE_COMBINING_MARK was renamed as G_UNICODE_SPACING_MARK soon after
the GLib 2.29.14 release, so fix that in break.c and pango-ot-info.c.
To support GLib on and before 2.29.14, a convenience definition for
G_UNICODE_SPACING_MARK is defined.
Chun-wei Fan [Fri, 16 Sep 2011 08:00:51 +0000 (16:00 +0800)]
hb-private.h: Fix compilation on newer GLib versions
g_atomic_int_exchange_and_add was deprecated in the GLib gatomic.c rewrite,
for GLib 2.29.6, so use g_atomic_int_add for GLib versions 2.29.5+.
Chun-wei Fan [Fri, 16 Sep 2011 07:51:00 +0000 (15:51 +0800)]
VS support: Fix VS2008/2010 property sheets
-Seperate intermediate folders for each project to remove redundant VS
warnings/errors
-Don't create a folder for pango.aliases if the folder already exists
-Don't create pango.aliases if it already exists
Chun-wei Fan [Fri, 16 Sep 2011 03:37:25 +0000 (11:37 +0800)]
VS2010 support: Update README.txt
-This file should have Windows EOL
-Tell people about GNOME Live! page for steps to building Pango with MSVC
(and the GTK+ stack)
-Fix some errors in some of the words used here.
Chun-wei Fan [Fri, 16 Sep 2011 03:33:51 +0000 (11:33 +0800)]
Bug 653985: Fix the VS2010 Pangowin32 project
Define the PANGO_MODULE_PREFIX in the project, as was done with the
VS9 project in commit
552ffc231.
Chun-wei Fan [Fri, 16 Sep 2011 03:10:03 +0000 (11:10 +0800)]
VS 2010 support: Fix EOL of .sln files
The .sln files need to have Windows EOL.
Chun-wei Fan [Wed, 25 May 2011 03:53:10 +0000 (11:53 +0800)]
bgo# 650456 Visual C++ 2010 support-README.txt
Chun-wei Fan [Wed, 25 May 2011 03:51:44 +0000 (11:51 +0800)]
bgo# 650456: Visual C++ 2010 Project Files
These are the VS 2010 project files themselves...
As in the last patch, project and filter files for pango, pangocairo and
pangoft2 are templates so that they are filled in during "make dist",
which the resulting full project/filter files are distributed with the
templates
Yeah, I know there are 2 sets of projects/filters for pangocairo, but it is
needed to accomodate the options for the dependency on fontconfig/pangoft2
on VS2010. That's life with VS2010...
Chun-wei Fan [Wed, 25 May 2011 03:38:20 +0000 (11:38 +0800)]
bgo# 650456: Visual C++ 2010 support-autotools
Update the autotools files for:
-Creation of the full VS 2010 project/filter files for pango, pangocairo
and pangoft2 from the templates during "make dist", so that the source
file list can be made up-to-date with each release-this will simplify
maintenance, as this is what is done for the VS 2008 project files.
-Dist the VS 2010 files (with the templates) and related items
Behdad Esfahbod [Thu, 8 Sep 2011 18:55:21 +0000 (14:55 -0400)]
Fix annotation syntax
Behdad Esfahbod [Thu, 8 Sep 2011 15:12:28 +0000 (11:12 -0400)]
Bug 658561 - Double free after calling Pango.Context.get_font_description()
Behdad Esfahbod [Mon, 1 Aug 2011 21:16:36 +0000 (17:16 -0400)]
Minor
Behdad Esfahbod [Sun, 31 Jul 2011 20:59:02 +0000 (16:59 -0400)]
Add comment