summaryrefslogtreecommitdiff
path: root/pango
Commit message (Collapse)AuthorAgeFilesLines
* Avoid deprecation warningsMatthias Clasen2016-08-297-8/+85
| | | | | Now that we're using new-style deprecations, we have to fight a little harder to get rid of them inside pango.
* pango/pango-version-macros.h: Update copyright noticeChun-wei Fan2016-08-221-3/+5
| | | | | | | Update the copyright notice of this file, to reflect things more accurately and to give more proper acknowledgement. Please see: https://bugzilla.gnome.org/show_bug.cgi?id=767587#c16
* Export symbols with compiler directives if possibleChun-wei Fan2016-06-297-643/+13
| | | | | | | | | | Add a configure check to see whether compiler directives are available for exporting symbols, and use them if so. Likewise, update the Visual Studio projects and config.h.win32.in to do likewise for Windows builds. We can then drop the .def files that were used to export symbols on Windows builds, which should clean up things a bit.
* pango/pango-enum-types.c.template: Include config.h firstChun-wei Fan2016-06-291-0/+2
| | | | | This is to ensure that we can override the verion macros to export the symbols later.
* Decorate the symbols in the headers with version macrosChun-wei Fan2016-06-2943-75/+601
| | | | | | | From the last commit, decorate all the symbols with the version macros. Also add the version macros in the docs. https://bugzilla.gnome.org/show_bug.cgi?id=767587
* Add a header for versioning macrosChun-wei Fan2016-06-292-24/+652
| | | | | | | | | | | This header is used for: -Indicating what stable versions an API is introduced at and after 1.30.0. -Indicating what APIs are deprecated, and which stable release series they are deprecated if the deprecation is done after 1.30.0. This replaces the use of G_DEPRECATED* in Pango. -Use in a later commit to be used to export symbols directly via compiler directives instead of doing so over .def files, for compilers that do not support exporting via regex expressions.
* Bug 766148 - CT font weights do not map correctly to PangoWeightBehdad Esfahbod2016-05-191-33/+43
|
* colors: Add rebeccapurpleBenjamin Otte2016-05-051-110/+112
| | | | | | http://lists.w3.org/Archives/Public/www-style/2014Jun/0312.html Thanks Lapo for pointing out this omission!
* coretext: implement obtaining coverage of supplementary planesKristian Rietveld2016-04-241-4/+28
|
* coretext: remove useless calls to pango_coverage_set()Kristian Rietveld2016-04-241-3/+2
| | | | | | Since Pango coverage is initialized to PANGO_COVERAGE_NONE, it makes no sense to perform calls to pango_coverage_set for characters that will be set (or rather left) to none.
* coretext: properly handle UTF32 characters in CFStringsKristian Rietveld2016-04-241-9/+63
|
* MSVC Builds: Use Autotools Module for IntrospectionChun-wei Fan2016-04-131-1/+46
| | | | | | | | | | | | This uses the newly-added autotools module so that the file list for introspection using Visual Studio is now generated during 'make dist', along with the g-ir-scanner command line to generate the .gir files and the compilation of the .typelib files. This would help to simplify maintenance of the introspection builds in Visual Studio, which is done using NMake. https://bugzilla.gnome.org/show_bug.cgi?id=764984
* Bug 764089 - PangoWin32FontMap Memory LeakBehdad Esfahbod2016-03-261-3/+53
| | | | | | | | Add finalizers to PangoWin32FontMap Patch from Geoffrey Yerem. Part of https://bugzilla.gnome.org/show_bug.cgi?id=764089
* Don't treat U+1680 OGHAM SPACE MARK as whitespaceBehdad Esfahbod2016-03-111-1/+1
| | | | | Unicode says: "U+1680 ogham space mark is unusual in that it is generally rendered with a visible horizontal line, rather than being blank."
* Fix typo in pango_layout_xy_to_index() docsKhaled Hosny2016-02-141-1/+1
| | | | | It was referring to itself for further description, but I assume the intent was to refer to pango_layout_line_x_to_index().
* Fix copy-paste mistakeKrzesimir Nowak2015-12-141-29/+29
|
* Update PangoScript to Unicode 8.0Matthias Clasen2015-12-141-1/+63
| | | | This brings us back in sync with GUnicodeScript.
* Update pango-script-lang-table.hpango-1-38Matthias Clasen2015-12-141-3/+3
| | | | No changes here.
* Add note re threadsafe libthaiBehdad Esfahbod2015-10-221-0/+5
|
* 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!