summaryrefslogtreecommitdiff
path: root/pango
Commit message (Collapse)AuthorAgeFilesLines
* Avoid some overhead in itemize_state_process_runMatthias Clasen2015-09-131-10/+9
| | | | | Avoid determining the Unicode type repeatedly. Instead, just get the type once and filter out the classes we want.
* Avoid some overhead in pango_default_breakMatthias Clasen2015-09-131-4/+14
| | | | | We already have the Unicode type, so we can determine isspace without doing the full type determination again.
* Use g_unichar_get_script directlyMatthias Clasen2015-09-122-2/+2
| | | | Instead of going through a wrapper.
* pango/pango-renderer.c: Fix BuildChun-wei Fan2015-09-041-2/+2
| | | | | Some compilers insist on using a number for a guint16 return type, and does not like using NULL in place of 0, so fix this.
* Only use finer harfbuzz clusters when they workMatthias Clasen2015-09-011-1/+1
| | | | | | Harfbuzz 1.0.2 had errors in this area that gave us crashes in the testsuite (testiter). Therefore, only use this feature with Harfbuzz 1.0.3 or newer.
* Protect against bugs in HarfBuzz's (non-)monotone cluster valuesBehdad Esfahbod2015-09-011-4/+4
| | | | | | "Fixes" https://bugzilla.gnome.org/show_bug.cgi?id=541608 Real fix went to HarfBuzz.
* Add assertion to glyph-item-iterBehdad Esfahbod2015-09-011-0/+8
| | | | Part of https://bugzilla.gnome.org/show_bug.cgi?id=541608
* Improve justify_cluster() some moreBehdad Esfahbod2015-08-211-15/+40
| | | | | | Much better now. Now I see issues in justify_words() again :(.
* Fix bug in previous commitBehdad Esfahbod2015-08-211-1/+1
|
* Fix justify_clusters()Behdad Esfahbod2015-08-211-37/+45
| | | | Was totally b0rked. Much better now. Should be good enough...
* Remove remaining uses of g_utf8_strlen()Behdad Esfahbod2015-08-213-5/+7
|
* Fix offset calculation for justifyBehdad Esfahbod2015-08-211-6/+28
| | | | | | | Bug 753772 - Justify option inserts spaces in wrong positions https://bugzilla.gnome.org/show_bug.cgi?id=753772 Went unnoticed for 8 years...
* Fix crasher in justify codeBehdad Esfahbod2015-08-211-5/+8
| | | | Ouch!
* Port two minor bidi bug fixes from FriBidi 0.19.6Khaled Hosny2015-08-211-6/+12
|
* Serialize call to th_brk()Behdad Esfahbod2015-08-181-0/+5
| | | | | | | Libthai is not threadsafe (thought it probably can easily be made to be). As such, add mutex around th_brk() calls. test-pangocairo-threads passes again.
* Bug 753167 - Pango script crashesBehdad Esfahbod2015-08-181-10/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=753167
* Use finer HarfBuzz cluster levelKhaled Hosny2015-08-181-0/+3
| | | | | | | So that we can set attributes (e.g. colors) to the marks and their bases indecently. https://bugzilla.gnome.org/show_bug.cgi?id=541608
* Use grapheme boundaries in justify_clusters()Khaled Hosny2015-08-181-31/+46
| | | | | Instead of relying on the fact that marks have the same cluster number as their bases, which will change in the next commit.
* fix distcheck1.37.3Matthias Clasen2015-08-141-0/+4
|
* Allow rgba colors in markupMatthias Clasen2015-08-142-31/+89
| | | | | | | For foreground and background colors, allow #rrggbbaa to specify a color with alpha. This will be returned as two attributes, for color and alpha. underline_color and strikethrough_color are still limited to #rrggbb, with no alpha component.
* Support alpha in markupwip/matthiasc/alphaMatthias Clasen2015-08-111-3/+85
| | | | | | Support alpha and background_alpha attributes on span elements. The value can either be a plain integer between 1 and 65536 or a percentage like 50%.
* Add alpha support to PangoCairoRendererMatthias Clasen2015-08-111-4/+9
| | | | | | Make PangoCairoRenderer use cairo_set_source_rgba() to apply colors with alpha. Note that this means we are only using the alpha if the corresponding color has been set.
* Add alpha support to PangoRendererMatthias Clasen2015-08-112-0/+76
| | | | | | Add pango_renderer_get/set_alpha to allow associating alpha values with the various colors. The alpha is stored as a value between 0 and 65536, with 0 meaning 'unset'.
* Add attribute types for fg and bg alphaMatthias Clasen2015-08-112-1/+55
| | | | Add attributes types for foreground and background alpha.
* Document PANGO_ATTR_FONT_FEATURESMatthias Clasen2015-08-111-0/+1
|
* Fix pango_glyph_item_iter_prev() around last clusterBehdad Esfahbod2015-08-081-4/+4
| | | | | | It was combining the last two clusters. Ouch! Test added already. Passes now.
* pango: Add missing fontconfig linker flagsRico Tzschichholz2015-07-221-0/+2
|
* Don't use hb_glib_get_unicode_funcs()Behdad Esfahbod2015-06-261-13/+2
| | | | | HarfBuzz buffer comes with a properly set up Unicode funcs these days. So, trust it.
* Add new symbol to .defMatthias Clasen2015-06-221-0/+1
|
* Minor documentation updateMatthias Clasen2015-06-221-1/+1
|
* Bug 738505 - Add fontfeatures support in PangoAttributes and markupBehdad Esfahbod2015-06-185-14/+114
| | | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=738505 Patch from Matthias Clasen, based on early patch from Akira TAGOH. There's room for improvement in how this is done, but it works now for simple cases, which is what most people will be using it for. Finally!
* Bug 750463 - hexboxes broken for some combining charactersBehdad Esfahbod2015-06-071-4/+6
| | | | Round lsb.
* Bug 750463 - hexboxes broken for some combining charactersBehdad Esfahbod2015-06-051-3/+6
|
* Bug 750383 - Issue in ellipsization when line space is mentionedBehdad Esfahbod2015-06-041-0/+2
|
* coretext: handle locale set through environment variablesKristian Rietveld2015-05-291-0/+19
|
* coretext: guard for unset languageKristian Rietveld2015-05-291-10/+18
| | | | Fixes bug #750017
* Fix an error in font weight conversionMatthias Clasen2015-05-241-2/+2
| | | | | | | | The fallback code for conversion from fontconfig font weights to PangoWeight was mixing up PANGO_WEIGHT_SEMILIGHT and PANGO_WEIGHT_LIGHT. https://bugzilla.gnome.org/show_bug.cgi?id=749635
* Fix other used of “Deprecated: 1.38”Khaled Hosny2015-05-175-26/+26
| | | | Follow-up of the previous commit.
* Update deprecation versionsMatthias Clasen2015-05-161-12/+12
| | | | | | The common practice is to name the first stable version in which a function is deprecated. Following that here and mark things as deprecated in 1.38.
* Overflow, etc, fixes for pangoft2Behdad Esfahbod2015-05-111-11/+11
| | | | | Ugh. With 64-bit machines, weird things were happening inside MIN/MAX() when one of the arguments was unsigned...
* Fix PangoFc with non-identity scale matrix (again!)Behdad Esfahbod2015-05-111-29/+69
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=700592
* Deprecate much of pango-utils.hKhaled Hosny2015-05-102-0/+24
| | | | | | | | These all are general utility functions that do not belong to Pango’s public interface. Most of them are unused internally now, the few ones that are still used should be made private at some point. https://bugzilla.gnome.org/show_bug.cgi?id=682840
* coretext: ensure weight is always initializedKristian Rietveld2015-05-061-1/+1
|
* coretext: use public function to obtain cascade list if availableKristian Rietveld2015-05-061-0/+23
| | | | | | | We use a compile-time check: if compiling for platforms 10.8 or higher, use the public function, otherwise use the undocumented function. Fixes bug 737813.
* Minor doc fixBehdad Esfahbod2015-05-054-0/+12
|
* Minor doc fixBehdad Esfahbod2015-05-054-3/+6
|
* Fix a few warningsBehdad Esfahbod2015-05-054-5/+2
|
* Fix leading vs trailing grapheme edge docsBehdad Esfahbod2015-05-051-4/+4
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=748822 https://bugzilla.gnome.org/show_bug.cgi?id=744836
* Fix a copy-paste errorMatthias Clasen2015-05-041-1/+1
|
* MinorBehdad Esfahbod2015-05-011-2/+2
|