summaryrefslogtreecommitdiff
path: root/pango
Commit message (Collapse)AuthorAgeFilesLines
* Don't use deprecated pango_fc_font_get_unknown_glyphMatthias Clasen2013-01-071-1/+1
| | | | Replace it with PANGO_GET_UNKNOWN_GLYPH.
* Don't use the deprecated pango_ft2_font_get_faceMatthias Clasen2013-01-072-6/+17
| | | | Replace it with pango_fc_font_lock/unlock_face calls.
* Avoid deprecation warningsMatthias Clasen2013-01-071-0/+2
|
* Fix another compiler warningMatthias Clasen2013-01-071-1/+1
| | | | gcc doesn't like #ifndef LANGUAGE(x, y, z).
* Fix a compiler warningMatthias Clasen2013-01-071-2/+4
| | | | | Add the new paragraph_text/length parameters to the script_shape implementation in the fallback engine.
* Don't call g_type_init if GLib is new enoughMatthias Clasen2013-01-075-0/+10
| | | | | g_type_init has been deprecated in GLib 2.35.x. Use a version check here to avoid depending on unstable GLib.
* Fix warning in g_object_ref (NULL)Behdad Esfahbod2013-01-071-1/+4
|
* Update docs to reflect per-thread default fontmapBehdad Esfahbod2013-01-031-2/+12
|
* Make pango threadsafe!Behdad Esfahbod2013-01-031-23/+10
| | | | | | | | By way of declaring fontmaps NOT threadsafe, and making pango_cairo_font_map_get_default() return a thread-private fontmap. test-pangocairo-threads doesn't crash anymore, if used with fontconfig master.
* Link to gthread-2.0Behdad Esfahbod2013-01-031-1/+1
|
* Revert "Bug 689342 - Lifetime of patterns in pattern_hash may use too much ↵Behdad Esfahbod2013-01-031-168/+61
| | | | | | | | | | memory" This reverts commit 7ed3cb89923c376d8b30ae3f977ab9e1a231e430, after resolving conflicts. The patch introduced some lifecycle management issues that could easily cause crashing. Reverting till the issues are resolved.
* WhitespaceBehdad Esfahbod2012-12-301-4/+3
|
* Fix most of "failed to choose font" warningsBehdad Esfahbod2012-12-301-1/+10
| | | | | | | If we are in fallback mode, with a font that has to space glyph, then looking up engine/font for any character not in the font was failing badly. In that case, if there's only one engine (which is the case these days), just choose it.
* Don't RenderPrepare the FcFontMatch resultBehdad Esfahbod2012-12-301-7/+18
| | | | | After commit 7c1d6208a4b42ef3a3cce0d8dffb214c7a321e5e, the first matched font was being prepared twice, causing misconfiguration.
* Revert "Make PANGO_GLYPH flags an enum to make gobject-introspection happy."John Ralls2012-12-291-6/+4
| | | | | This reverts commit 7274bd56db3ce2f02594687a307d22aa99c787c4. Whatever the problem was with g-ir-scanner, it's resolved.
* Bug 689342 - Lifetime of patterns in pattern_hash may use too much memoryBehdad Esfahbod2012-12-201-46/+161
| | | | Refcount cached patterns.
* Bug 690279 - broken relocation of modulesBehdad Esfahbod2012-12-181-1/+7
| | | | Fix OS X relocation.
* markup: Remove error from markup parser constructorJasper St. Pierre2012-12-142-9/+10
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679299
* markup: Allow incrementally parsing pango markupJasper St. Pierre2012-12-143-64/+176
| | | | | | | This is intended for applications that need to parse pango markup from some sort of GIO stream. https://bugzilla.gnome.org/show_bug.cgi?id=679299
* markup: Always start with a <markup> tagJasper St. Pierre2012-12-141-16/+10
| | | | | | | It doesn't do anything bad, and will help us when we move to a stream-based approach. https://bugzilla.gnome.org/show_bug.cgi?id=679299
* Bug 690081 - pangofc-fontmap: Remove bad use of the comma operatorBehdad Esfahbod2012-12-121-1/+1
| | | | | Essentially our FcFontRenderPrepare() for fallback fonts was never actually being called. Donno how this was "working"...
* Bug 686512 - pango_cairo_font_get_scaled_font failed under wineBehdad Esfahbod2012-12-091-0/+2
|
* Bug 689882 - pango-font.h:381: error: comma at end of enumerator listBehdad Esfahbod2012-12-091-1/+1
|
* Fix relative module pathsJohn Ralls2012-12-081-5/+11
| | | | | | So that the created absolute path is where the modules are installed instead of where the modules file is installed (i.e., lib/pango/1.8.0/modules instead of etc/pango).
* Bug 689864 - build failureBehdad Esfahbod2012-12-071-1/+1
|
* Drop last use of deprecated G_CONST_RETURNColin Walters2012-12-071-1/+1
| | | | | | This was blowing up the cogl build since it uses G_DISABLE_DEPRECATED. https://bugzilla.gnome.org/show_bug.cgi?id=689843
* Track changes in layout and dependencies via serialsAlexander Larsson2012-12-065-19/+81
| | | | | | | | | We track changes in the PangoContext and automatically call pango_layout_context_changed() when needed, plus we track changes in the layout and let apps know via pango_layout_get_serial when the layout changed and needs to be redrawn. https://bugzilla.gnome.org/show_bug.cgi?id=340066
* Track changes in PangoContext via a serialAlexander Larsson2012-12-064-11/+116
| | | | | | | | | | | | Whenever a PangoContext or its fontmap changes we bump the contexts serial, you can get it via pango_context_get_serial() to see find out if the context changed since the last time and you need to relayout. You can also force the context to be "changed" by calling pango_context_changed(). https://bugzilla.gnome.org/show_bug.cgi?id=340066
* Track changes in FontMaps using a serialAlexander Larsson2012-12-0613-6/+143
| | | | | | | | This adds the pango_font_map_get_serial method that lets you see if a fontmap has changes since the last check. It adds implementations to all current fontmaps. https://bugzilla.gnome.org/show_bug.cgi?id=340066
* Fix Win32 and CoreText cairo backends to take cairo CTM into accountBehdad Esfahbod2012-12-052-0/+5
|
* Update bidi tables to Unicode 6.2.0Behdad Esfahbod2012-12-021-3/+3
|
* Fix grapheme boundaries of surrogates and unassigned default ignorablesBehdad Esfahbod2012-12-021-0/+10
|
* Fix line break of surrogate charactersBehdad Esfahbod2012-12-021-2/+4
|
* Fix grapheme properties of U+FFxx rangeBehdad Esfahbod2012-12-021-1/+1
| | | | Oops!
* Fix grapheme properties of joiner / nonjoinerBehdad Esfahbod2012-12-021-1/+1
| | | | Oops!
* Remove Thai/Lao Prepend/Extend propertiesTheppitak Karoonboonyanan2012-12-021-9/+0
| | | | | | | | In UAX#29 revision 19 (reissued for Unicode 6.1.0), Prepend and Extend GCB properties have been dropped for Thai/Lao. So, drop the hard coding accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=576156
* Fix a copy-paste errorMatthias Clasen2012-11-291-1/+1
| | | | This was spotted by Coverity.
* Adjust to HarfBuzz 0.9.7 APIBehdad Esfahbod2012-11-151-1/+1
|
* Provide a phony define for the LANGUAGE macroJohn Ralls2012-11-151-0/+4
| | | | | Gobject-introspection encounters it without the definitions in the including code and fails.
* Make PANGO_GLYPH flags an enum to make gobject-introspection happy.John Ralls2012-11-151-4/+6
| | | | See bug 688356
* colors: Update colors to SVG/CSS paletteBenjamin Otte2012-11-131-6/+6
| | | | | | Colors that were defined to different values in Pango than they were in the CSS specification have been updated to conform to the CSS specs. See http://dev.w3.org/csswg/css3-color/#svg-color for the color values.
* colors: Add missing colors from the web paletteBenjamin Otte2012-11-131-594/+604
| | | | | Color names taken from http://dev.w3.org/csswg/css3-color/#svg-color
* Xft: Fix a deadlock on display closeMatthias Clasen2012-11-131-3/+4
| | | | | | | We can't call pango_xft_shutdown display while holding the same lock it is taking. https://bugzilla.gnome.org/show_bug.cgi?id=687470
* Bug 685021: "Add" load_fontset() for Win32 backendChun-wei Fan2012-10-301-0/+157
| | | | | | | | | | | | We now need a load_fontset() implementation for the Windows backend as the pango.aliases handling is moved to pangowin32-fontmap.c since commit 831611158, so that it will go through the pango.aliases file and load the appropriate fontset needed to display various texts. This basically copies pango_font_map_load_fontset() from pango-fontmap.c and adds the old (pre-commit 831611158) pango_font_map_fontset_add_fonts(), but using pango_win32_font_map_load_font() in place of pango_font_map_load_font().
* Add pango_shape_full()Behdad Esfahbod2012-09-2610-29/+106
| | | | | | | | | | | | | | | | Variant of pango_shape() that takes the full paragraph text as input. This is then passed in entirety to HarfBuzz, which would allow certain cross-run interactions (in Arabic for example). When combined with upcoming HarfBuzz 0.9.5+, this fixes: Red Hat Bug 858736 - [Spanish] Stray dotted circle rendered https://bugzilla.redhat.com/show_bug.cgi?id=858736 and partially: Bug 313181 - color changes break arabic shaping https://bugzilla.gnome.org/show_bug.cgi?id=313181
* Unbreak build systemBehdad Esfahbod2012-09-261-2/+4
| | | | After 88692e4e, every make invocation was rebuilding everything. Fix.
* Port PangoCoreTextFont to use GWeakRefJohn Ralls2012-09-251-8/+9
| | | | For its PangoCoreTextFontMap* member.
* Make modules.c thread-safeMatthias Clasen2012-09-141-11/+23
| | | | | | | The maps list is protected with a mutex. registered_engines, dlloaded_engines and dlloaded_modules are read-only after init_modules, which is protected with g_once_init. Finally, engine creation is protected with another mutex.
* Rework config file readingMatthias Clasen2012-09-141-36/+39
| | | | | | | | | | | | | The code was loading and parsing the system config file every single time, and has not correctly handling mixed requests for user and system config entries. This commit reworks the code so that the configuration is loaded only once, in threadsafe fashion. pango_config_key_get_system is no longer using the same hash table, but reloads its data every time - this is not a really problem, since this function is only used in pango-querymodules.
* Load config file only onceMatthias Clasen2012-09-141-6/+12
|