summaryrefslogtreecommitdiff
path: root/pango
Commit message (Collapse)AuthorAgeFilesLines
* 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-051-0/+1
| | | | 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-221-11/+6
| | | | | | | 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
* 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.
* 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.
* Make docs a bit more completeMatthias Clasen2011-11-221-1/+1
|
* 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
|
* Add deprecation attributes to deprecated functionsMatthias Clasen2011-10-138-0/+40
| | | | | | | | 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
* 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+.
* bgo# 650456: Visual C++ 2010 support-autotoolsChun-wei Fan2011-09-163-5/+158
| | | | | | | | | | | 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
* Fix annotation syntaxBehdad Esfahbod2011-09-081-1/+1
|
* Bug 658561 - Double free after calling Pango.Context.get_font_description()Behdad Esfahbod2011-09-081-2/+2
|
* Fix the buildMatthias Clasen2011-08-231-0/+1
| | | | | | | 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.
* Fix ChanContext backtrack matching with GPOSKhaled Hosny2011-08-192-3/+4
| | | | | Backported from HarfBuzz-ng: http://cgit.freedesktop.org/harfbuzz/commit/?id=cc1a8a938b4c13e76b58825a9e1951c4134e634a
* Fix missing GI transfer annotation for pango_layout_get_line_readonly()Michael Vogt2011-08-091-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656014
* build: Fix srcdir != builddirColin Walters2011-07-221-4/+5
|
* Fix introspection build using uninstalled GIRsRico Tzschichholz2011-07-221-3/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=654689
* Bug 635399 - Add C include and exported packages information to GIRsEvan Nemerson2011-07-131-3/+8
|
* Part of Bug 653985 - Pango 1.29.x make GTK3-demo.exe crashed in WindowsKalev Lember2011-07-111-1/+1
| | | | | Fixes a regression from ea702f4 which changed PangoFallbackEngine to be abstract.
* Make ATSUI backend compile againKristian Rietveld2011-07-012-2/+8
| | | | | Commit 02f80c9acdec53f58fef0e12f41363c3c4ea1efe broke the build and was likely committed untested.
* docs: pangofc-fontmap: Fix typo in "Since" tagJavier Jardon2011-06-231-2/+2
|
* docs: Fix typoJavier Jardón2011-06-231-1/+1
|
* docs: Fix references to PangoFcFontmap -> PangoFcFontMapJavier Jardón2011-06-231-4/+4
|
* Bug 652841 - Various pieces of dead code found by gcc/clang static analyzerBehdad Esfahbod2011-06-178-22/+4
|
* introspection: Remove incorrect trailing colon from (skip)Colin Walters2011-06-153-3/+3
| | | | The syntax doesn't include this, and apparently it confuses gtk-doc.
* Revert "layout: Make sure all lines are ellipsized"Behdad Esfahbod2011-06-151-1/+2
| | | | This reverts commit 00d2842d8a5ded059fc058d05b2cffcf16186710.
* Cull some dead codeMatthias Clasen2011-06-151-2/+0
| | | | | | | Some static analysis tool complained about dead code, and it is right in this case. https://bugzilla.gnome.org/show_bug.cgi?id=652616
* layout: Make sure all lines are ellipsizedBenjamin Otte2011-06-131-2/+1
| | | | | | | | | | All lines that are too long should be ellipsized when ellipsizing is enabled. Not just those lines where we thought they'd need to be in advance. It might turn out that a word is too long so that we cannot wrap it. In that case we still want to break as soon as possible, but still ellipsize the line. https://bugzilla.gnome.org/show_bug.cgi?id=649783
* Bug 652227 - Unconditional use of stdint.hBehdad Esfahbod2011-06-101-1/+5
|
* Stop using G_CONST_RETURN in PangoRyan Lortie2011-06-0921-48/+48
| | | | | | | G_CONST_RETURN is headed for deprecation (as per bug #644611). Stop using it in Pango. https://bugzilla.gnome.org/show_bug.cgi?id=652202
* Fix make checkMatthias Clasen2011-06-021-0/+1
|
* Bug 650781 - Font Families are listed lowercaseMatej Knopp2011-05-311-7/+5
| | | | Fix CoreText backend to not use the casefold string as family name.
* Part of Bug 377539 - Make Pango thread-safeBehdad Esfahbod2011-05-171-1/+1
|
* Update pango.defChun-wei Fan2011-05-171-1/+1
| | | | | | | The entry of the symbols for commit 4587e5d2231b717dd116253a49badc1ba3aa5db5 in this file was not correct. Fix that here.