summaryrefslogtreecommitdiff
path: root/pango
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused codeBehdad Esfahbod2013-03-151-25/+1
|
* Port PangoWin32 to use GWeakRefBehdad Esfahbod2013-03-152-10/+10
| | | | Patch from Chun-wei Fan.
* Bug 694882 - build broken - introspection of pangoxft2 and pangoxft miss ↵Behdad Esfahbod2013-03-041-3/+4
| | | | libpang-1.0.la in _gir_LIBS
* Revert "Fix Win32 and CoreText cairo backends to take cairo CTM into account"Behdad Esfahbod2013-03-042-5/+0
| | | | | | | | | | | | | | | This reverts commit b359bb484bc7d27a835cfd6d9ffcaed582ebf2ae. Bug 694918 - Pango layout is rendered in wrong size if we have non-identity cairo transformation matrix I was wrong blindly copying this logic from pangocairo-fc into pangocairo-win32 and pangocairo-quartz. The reason we need the it in pangofc is because the fontsize we get back from fontconfig is multiplied by the ctm scale factor, so we undo it when loading the font. The same is NOT true about the non-fc backends, so the copying was totally wrong.
* Bug 694830 - Fails make check: +pango_font_map_changedBehdad Esfahbod2013-02-271-0/+1
|
* PangoFc: change FontMap in pango_fc_font_map_clear_cache()Alexander Larsson2013-02-261-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=694626
* Add pango_font_map_changed()Alexander Larsson2013-02-268-1/+93
| | | | | | | This is needed as a base class sometimes needs to invalidate the fontmap. https://bugzilla.gnome.org/show_bug.cgi?id=694626
* [win32] Fix assertion and warningsBehdad Esfahbod2013-02-252-4/+12
| | | | | | When win32 fontmap goes away, font->fontmap becomes NULL. Deal with that. Technically speaking, we need to port this to GWeakRef like the other fontmaps do. But this would do for now.
* Whitelist pango_cairo_win32_font_map_get_typeBehdad Esfahbod2013-02-191-2/+6
| | | | | | | .def files are mostly used on Win32. Whitelist the win32 font map function in the check. Bug 694095 - Fails make check: -pango_cairo_win32_font_map_get_type
* win32: Remove stale static module definitionsJasper St. Pierre2013-02-172-58/+5
| | | | These have now been put into Harfbuzz upstream
* pangocairo.def: Export pango_cairo_win32_font_map_get_typeChun-wei Fan2013-01-221-0/+1
| | | | This is needed to build the introspection files for PangoCairo on Windows.
* Revert "Don't use the deprecated pango_ft2_font_get_face"Behdad Esfahbod2013-01-172-17/+6
| | | | | | | | | | | | | This reverts commit 2dc0c3dbb1c389c3a3ba12a5c5c85f21dca46e84. This doesn't make sense. It ends up in infinite recursion because pangofc is calling lock_face on pangoft2, which would recursively call it on pangofc... Was causing hang at startup of Inkscape. If the deprecated warnings are an issue, they need to be dealt with in some other way.
* "prgname" and "fontfeatures" are accepted for upstream Fontconfig nowBehdad Esfahbod2013-01-151-2/+6
|
* Let people enable font features through fontconfig snippetsBehdad Esfahbod2013-01-101-0/+14
| | | | | | | | | | | | | Like this: <match target="font"> <edit name="pangofontfeatures" mode="append"> <string>smcp</string> <string>ss20</string> </edit> </match> Finally we are starting to see new features coming out of the HarfBuzz integration...
* 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