summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Try to fix module list generationbaserock/morphSam Thursfield2012-09-181-2/+2
| | | | | Shell globs in install-commands are not being expanded which is causing generation of the pango.modules file to fail.
* rm .la files for pango modules (why is it broken??)Sam Thursfield2012-09-171-1/+2
|
* pango.morph: Set LD_LIBRARY_PATH when running pango-querymodulesSam Thursfield2012-08-161-1/+1
| | | | | | Same fix as needed for gdk-pixbuf; the module cache was actually empty because pango-querymodules needs a library only available inside DESTDIR at the time we want to run it.
* Add morphology: runs pango-querymodules after installSam Thursfield2012-07-181-0/+10
| | | | | This should be done automatically, but because we use DESTDIR it does not get executed.
* utils: Add missing prototype for pango_config_key_get_system()Fabian Groffen2012-06-161-0/+1
| | | | | | Commit message written by Colin Walters <walters@verbum.org> https://bugzilla.gnome.org/show_bug.cgi?id=667960
* [opentype] Free mutex on hb_blob destructionRobert Ancell2012-06-142-0/+2
|
* coretext: don't insert item in the hash if it originated from the hashKristian Rietveld2012-06-051-11/+14
| | | | | Oversight in my fallback fix, this resulted in things being wrongly destroyed due to unrefs. Oops.
* Fix list of exported symbols1.30.1Matthias Clasen2012-06-053-1/+11
| | | | This was forgotten in commit aecbe27c1b08f517c0e05f03308d3ac55cef490c
* coretext: implement detection of fonts supporting small capsKristian Rietveld2012-06-041-4/+46
|
* Bug 673497 - corefont fallback not always workingKristian Rietveld2012-06-041-6/+42
| | | | | | | | | | | 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.
* Fix transfer annotation for pango_font_family_list_facesPavel Holejsovsky2012-06-041-3/+4
| | | | | | | | 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
* Add missing (element-type) annotations for list argumentsPavel Holejsovsky2012-06-042-4/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677407
* Annotations: add missing colons after symbol namesPavel Holejsovsky2012-06-048-12/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677407
* Fix annotation for pango_layout_move_cursor_visually()Pavel Holejsovsky2012-06-041-6/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677407
* Read pangox.aliases from XDG_CONFIG_HOMEMatthias Clasen2012-05-221-1/+7
| | | | | | | | 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
* Read pangorc from XDG_CONFIG_HOMEMatthias Clasen2012-05-222-13/+8
| | | | | | | Look for the rcfile in $XDG_CONFIG_HOME/pango/pangorc instead of ~/.pangorc. https://bugzilla.gnome.org/show_bug.cgi?id=675400
* Use same font family name fallback in pango_core_text_font_map_initKristian Rietveld2012-05-131-6/+9
| | | | | Same fallback as already used in CoreText font descriptor to Pango font descriptor conversion.
* querymodules: Add --system argumentColin Walters2012-04-252-15/+61
| | | | | | | | | | 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
* Fix missing hyphen in -I option for g-ir-scanner invocationPavel Holejsovsky2012-04-251-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672133
* Fix sourcedir!=builddir .gir build from source tarballPavel Holejsovsky2012-04-071-4/+4
| | | | | | | 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
* Update Arabic joining classes to Unicode 6.1.0Khaled Hosny2012-04-061-9/+51
|
* 1.30.01.30.0Matthias Clasen2012-03-262-2/+12
|
* Guard for an accumulated glyph count of zero in CoreText shape engineKristian Rietveld2012-03-181-1/+9
|
* Make relative paths work in pango.modules filesBehdad Esfahbod2012-03-171-2/+9
| | | | | | | Part of Bug 454017 - Make relative paths in pango.modules and pangorc files work relative to the file Patch from Anselm Kruis.
* Fix "install" paths in VS property sheetsChun-wei Fan2012-03-152-2/+2
|
* Make CoreText shaping engine more robustKristian Rietveld2012-02-191-79/+338
| | | | | | | | | 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.
* Make CoreText backend more robust against broken fontsKristian Rietveld2012-01-282-11/+64
| | | | | | | | | | | | | | | 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.
* CoreText backend: implement font fallbacksKristian Rietveld2012-01-286-428/+1131
| | | | | | | | | | | | | | | 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.
* Update git.mk. git.mk lives in its own upstream repo now.Behdad Esfahbod2012-01-251-11/+10
|
* Bug 664125 - Zero-width spaces cause missing charactersKristian Rietveld2012-01-191-43/+37
| | | | | | | | | | | 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.
* Fix cross-compiling bug in configure.inDan Winship2012-01-121-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=667799
* config.h.win32.in: Update a bitChun-wei Fan2011-12-301-0/+3
| | | | Make the config entries more like the standard config.h.in
* Switch to dist-xzMatthias Clasen2011-11-221-1/+1
|
* 1.29.51.29.5Matthias Clasen2011-11-222-1/+17
|
* Make docs a bit more completeMatthias Clasen2011-11-223-7/+45
|
* Include corefont docsMatthias Clasen2011-11-221-0/+1
|
* Fix doc buildMatthias Clasen2011-11-221-20/+4
| | | | | | When gtk-doc regenerated the pango.types file, it includes get_type functions for platform-specific things that will cause link failures.
* Move gmodule to Requires.privateMatthias Clasen2011-11-222-2/+4
| | | | | Users of pango are not generally expected to use gmodule API, so don't force them all to link against it.
* CoreText: stricter handling of FontSymbolic traitsKristian Rietveld2011-11-141-5/+11
| | | | | | | | | | 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.
* Get _pango_get_lc_ctype from system prefs on Mac OS XKristian Rietveld2011-11-141-0/+21
|
* Update VS property sheetsChun-wei Fan2011-10-172-2/+2
| | | | | 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
* Don't set build-breaking definesMatthias Clasen2011-10-131-7/+0
| | | | | | Now that we get compiler warnings for deprecations, we don't need to use the G_DISABLE_DEPRECATED hammer anymore. Bye, bye, build breakage.
* Add deprecation attributes to deprecated functionsMatthias Clasen2011-10-139-1/+41
| | | | | | | | 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
* Bump versionMatthias Clasen2011-09-281-1/+1
| | | | 1.29.4 got released off a side-branch, but bump version here too.
* Update VS2008 PangoFT2 projectChun-wei Fan2011-09-251-4/+4
| | | | | | | | 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.
* README.win32: Update compilation info a bitChun-wei Fan2011-09-251-4/+4
| | | | | Update the info about the Visual Studio projects as VS2010 projects have landed into master.
* break.c: Fix compilation against newer GLib versionsChun-wei Fan2011-09-172-5/+13
| | | | | | | | 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.
* hb-private.h: Fix compilation on newer GLib versionsChun-wei Fan2011-09-171-0/+4
| | | | | 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+.
* VS support: Fix VS2008/2010 property sheetsChun-wei Fan2011-09-162-5/+11
| | | | | | | -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
* VS2010 support: Update README.txtChun-wei Fan2011-09-161-88/+96
| | | | | | | -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.