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
Behdad Esfahbod [Sun, 31 Jul 2011 20:58:31 +0000 (16:58 -0400)]
Remove dead code
Matthias Clasen [Mon, 5 Sep 2011 14:11:28 +0000 (10:11 -0400)]
Mention GMarkup and character entities
As requested in bug 403499.
Chun-wei Fan [Wed, 31 Aug 2011 05:19:44 +0000 (13:19 +0800)]
Updated README.win32 and VS9 Readme.txt
-Set README.win32 to have Windows EOL
-Updated README.win32 regarding the situation of modules on Windows
under different build approaches.
-Tell people in both Readme files about the GNOME Live! page that
describes building Pango and its dependencies with Visual Studio
in better detail.
Matthias Clasen [Tue, 23 Aug 2011 12:36:09 +0000 (08:36 -0400)]
Fix the build
With gcc 4.6.1, I get a build error in pango/ because the C++
parts in harfbuzz have not been compiles with -lPIC. Not sure
if this change is 100% correct, but it makes things build
successfully.
Khaled Hosny [Fri, 19 Aug 2011 18:14:33 +0000 (20:14 +0200)]
Fix ChanContext backtrack matching with GPOS
Backported from HarfBuzz-ng:
http://cgit.freedesktop.org/harfbuzz/commit/?id=
cc1a8a938b4c13e76b58825a9e1951c4134e634a
Michael Vogt [Tue, 9 Aug 2011 08:43:15 +0000 (10:43 +0200)]
Fix missing GI transfer annotation for pango_layout_get_line_readonly()
https://bugzilla.gnome.org/show_bug.cgi?id=656014
Behdad Esfahbod [Fri, 29 Jul 2011 18:54:47 +0000 (14:54 -0400)]
Revert "[HB] Fix cluster setting with recent HB change"
This reverts commit
26475e516f2384efaefe3dd97bd99f2176291354.
HarfBuzz reverted to setting clusters logically all the time again, so
we don't need this change.
Chun-wei Fan [Mon, 25 Jul 2011 03:53:27 +0000 (11:53 +0800)]
Update VS 2008 README.txt
Tell people not to compile Pango in paths with spaces in them.
Colin Walters [Fri, 22 Jul 2011 15:30:17 +0000 (11:30 -0400)]
build: Fix srcdir != builddir
Rico Tzschichholz [Fri, 15 Jul 2011 16:30:03 +0000 (18:30 +0200)]
Fix introspection build using uninstalled GIRs
https://bugzilla.gnome.org/show_bug.cgi?id=654689
Behdad Esfahbod [Thu, 21 Jul 2011 16:00:36 +0000 (12:00 -0400)]
[HB] Fix cluster setting with recent HB change
Behdad Esfahbod [Wed, 20 Jul 2011 19:00:19 +0000 (15:00 -0400)]
Add more Chinese poetry
From:
https://secure.wikimedia.org/wikipedia/en/wiki/Shi_shi_shi_shi_shi
Evan Nemerson [Sun, 21 Nov 2010 00:39:42 +0000 (16:39 -0800)]
Bug 635399 - Add C include and exported packages information to GIRs
Behdad Esfahbod [Tue, 12 Jul 2011 02:24:49 +0000 (22:24 -0400)]
Bug 653985 - Pango 1.29.x make GTK3-demo.exe crashed in Windows
Similar to d9e254f which changed the rest of the modules, moved the
PANGO_MODULE_PREFIX define from basic-win32.c to the VS9 project file to
avoid breaking autotools build.
Fixes basic-win32 module loading when pango is built with autotools +
MinGW.
Kalev Lember [Tue, 12 Jul 2011 02:21:13 +0000 (22:21 -0400)]
Part of Bug 653985 - Pango 1.29.x make GTK3-demo.exe crashed in Windows
Fixes a regression from ea702f4 which changed PangoFallbackEngine to be
abstract.
Kristian Rietveld [Fri, 1 Jul 2011 19:08:39 +0000 (21:08 +0200)]
Make ATSUI backend compile again
Commit
02f80c9acdec53f58fef0e12f41363c3c4ea1efe broke the build and was
likely committed untested.
Chun-wei Fan [Wed, 29 Jun 2011 04:46:27 +0000 (12:46 +0800)]
Attempt to correct EOL on VS2008 solutions
I realized that I needed to set autocrlf=false on my Windows side ... ugh...
These are the files that must have CRLF line endings to work correctly :|
Javier Jardon [Thu, 23 Jun 2011 17:22:17 +0000 (18:22 +0100)]
docs: pangofc-fontmap: Fix typo in "Since" tag
Javier Jardon [Thu, 23 Jun 2011 17:17:24 +0000 (18:17 +0100)]
pango-docs.sgml: Add xml index pages to avoid warnings
Javier Jardón [Mon, 20 Jun 2011 14:09:23 +0000 (15:09 +0100)]
docs: Fix typo
Javier Jardón [Mon, 20 Jun 2011 14:07:24 +0000 (15:07 +0100)]
docs: Fix references to PangoFcFontmap -> PangoFcFontMap
Stefan Kost [Mon, 20 Jun 2011 13:32:38 +0000 (15:32 +0200)]
docs: modernize docs
Get rid of entities and use xi:includes instead. This makes the docs build
faster and makes it easier to conditionally include stuff.