summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Another attemptMatthias Clasen2019-08-021-1/+3
|
* Last attemptMatthias Clasen2019-08-021-1/+1
|
* Another warning fixMatthias Clasen2019-08-021-4/+1
|
* Merge branch 'introspection-fixes' into 'master'Matthias Clasen2019-08-0212-22/+52
|\ | | | | | | | | Various introspection fixes See merge request GNOME/pango!117
| * Skip Harfbuzz type getterEmmanuele Bassi2019-08-021-1/+1
| | | | | | | | | | Since Harfbuzz does not generate introspection data, we cannot use it for our introspected ABI.
| * Skip some deprecated symbolsEmmanuele Bassi2019-08-021-7/+7
| | | | | | | | | | These symbols are generating warnings because of missing type information, but since they are deprecated we can just skip them.
| * Add a boxed type for PangoAttrIteratorEmmanuele Bassi2019-08-022-0/+8
| | | | | | | | | | | | | | | | Makes it usable by language bindings, and avoids warnings when generating introspection data. We already have the necessary public API, we're just missing a GType for it.
| * Add a boxed type for PangoScriptIterEmmanuele Bassi2019-08-022-1/+17
| | | | | | | | | | Makes it usable by language bindings, and avoids a warning when introspecting the source code.
| * Add PangoCoverage GType getter to the public headerEmmanuele Bassi2019-08-023-8/+7
| | | | | | | | | | | | The `pango_coverage_get_type()` symbol is already public, but declared in a private header. Unless we move it to a public header the introspection scanner can't know that the C type maps to a GType.
| * Ensure arguments name match the documentationEmmanuele Bassi2019-08-023-5/+5
| | | | | | | | Otherwise the introspection scanner will be majorly confused.
| * Ignore unprefixed symbolsEmmanuele Bassi2019-08-021-0/+7
| | | | | | | | | | | | The unprefixed `script_*` symbols are marked as `skip`, but the introspection scanner will still warn about them because the annotations are resolved after parsing the C code.
* | One more warning fixMatthias Clasen2019-08-021-3/+6
| |
* | examples: Avoid deprecated apiMatthias Clasen2019-08-021-2/+1
|/
* Fix a C99 strftime incantationMatthias Clasen2019-08-011-1/+1
| | | | | This is problematic when building pango as subproject of gtk on the win32 ci.
* Merge branch 'compiler-warnings' into 'master'Matthias Clasen2019-08-025-4/+79
|\ | | | | | | | | Compiler warnings See merge request GNOME/pango!116
| * Revert "shape: Simplify font function"Matthias Clasen2019-08-011-0/+74
| | | | | | | | | | | | This reverts commit 315e3d4f6182e4cefde3538ede222e53c000f3e8. This made pango-view segfault in win32 ci.
| * Add a few more warning flagsMatthias Clasen2019-08-011-0/+2
| | | | | | | | | | | | Add warning flags for the just fixed warnings to the build. This is in order to ensure that pango builds in ci as a subproject of gtk.
| * Avoid another compiler warningMatthias Clasen2019-08-011-4/+1
| | | | | | | | Unused-but-set-variable.
| * Avoid an implicit fallthroughMatthias Clasen2019-08-011-0/+1
| | | | | | | | This was pretty clearly unintentional.
| * Annotate implicit fallthroughMatthias Clasen2019-08-011-0/+1
|/ | | | This triggers compiler warnings.
* Merge branch 'simplify-font-funcs' into 'master'Matthias Clasen2019-08-011-75/+1
|\ | | | | | | | | shape: Simplify font function See merge request GNOME/pango!115
| * shape: use hb_font_get_nominal_glyph()Khaled Hosny2019-08-011-1/+1
| | | | | | | | Instead of setting variation selector to 0.
| * shape: Simplify font functionKhaled Hosny2019-08-011-74/+0
|/ | | | | If a function is not set, HarfBuzz will default to the parent’s, so no need to set functions we don’t customize.
* Merge branch 'missing-hex-boxes' into 'master'Matthias Clasen2019-08-011-4/+5
|\ | | | | | | | | Missing hex boxes See merge request GNOME/pango!114
| * Always use our font funcsMatthias Clasen2019-08-011-2/+1
| | | | | | | | | | | | If we don't use our own font funcs, hex boxes don't work, since harfbuzz just replaces missing glyphs with 0.
| * Initialize the context structMatthias Clasen2019-08-011-1/+1
| | | | | | | | | | | | It is misleading to see uninitialized pointers in gdb, so set them to NULL, even if they are not used.
| * Make our font funcs immutableMatthias Clasen2019-08-011-1/+3
|/ | | | | While of no immediate consequence, it is the right thing to do.
* Merge branch 'pangofc-api' into 'master'Matthias Clasen2019-08-012-15/+15
|\ | | | | | | | | | | | | Keep deprecated pango_fc apis in pango-fc-font.h Closes #394 See merge request GNOME/pango!113
| * Keep deprecated pango_fc apis in pango-fc-font.hMatthias Clasen2019-08-012-15/+15
| | | | | | | | | | | | Turns out these are in use. Closes: https://gitlab.gnome.org/GNOME/pango/issues/394
* | Merge branch 'coretext-system-ui-font' into 'master'Matthias Clasen2019-08-011-16/+15
|\ \ | |/ |/| | | | | coretext: Make “system-ui” alias work See merge request GNOME/pango!112
| * coretext: Make “system-ui” alias workKhaled Hosny2019-08-011-16/+15
| | | | | | | | | | | | | | | | | | Alias names need to be inserted into the font map or otherwise will be ignored and mapped to Sans (in pango_core_text_font_map_load_fontset()). Furthermore, there is no font named ”San Francisco” on macOS, the actual UI font is a hidden font called ”.SF NS Text” or something like that, and there an “.AppleSystemUIFont” alias that should be used instead.
* | pango-view: Add font optionsMatthias Clasen2019-07-313-2/+132
|/ | | | | | | Add commandline options for antialiasing, subpixel order and metrics hinting, so we can reproduce font rendering issues with pango-view.
* Merge branch 'hb-named-instance' into 'master'Matthias Clasen2019-07-301-84/+47
|\ | | | | | | | | Set design coords for named instances See merge request GNOME/pango!110
| * Set design coords for named instancesMatthias Clasen2019-07-291-84/+47
|/ | | | | | | | | Fontconfig has FC_INDEX, and harfbuzz has hb_ot_var_named_instance_get_design_coords. We can combine the two to set coords for variable fonts, while taking overridden variations from both the fontconfig configuration and the font description into account.
* Merge branch 'wip/lantw/pango-list-call-setlocale-in-main-function' into ↵Matthias Clasen2019-07-291-0/+2
|\ | | | | | | | | | | | | 'master' pango-list: Call setlocale in main function See merge request GNOME/pango!109
| * pango-list: Call setlocale in main functionTing-Wei Lan2019-07-291-0/+2
|/ | | | | | If it isn't called, GLib will try to convert non-ASCII characters to ASCII because LC_CTYPE locale is C. Therefore, all non-ASCII characters are displayed as question marks because the conversion always fails.
* Merge branch 'letterspacing-liga' into 'master'Matthias Clasen2019-07-291-0/+23
|\ | | | | | | | | | | | | Turn off ligatures when letterspacing Closes #182 See merge request GNOME/pango!108
| * Turn off ligatures when letterspacingMatthias Clasen2019-07-291-0/+23
|/ | | | | | | | | When letterspacing, we don't want the letters making up ligatures to 'stick together', so turn off OpenType features that request optional ligatures (liga, clig, dlig). Closes: https://gitlab.gnome.org/GNOME/pango/issues/182
* 1.44.1Matthias Clasen2019-07-282-1/+10
|
* Add some missing symbols to docsMatthias Clasen2019-07-281-3/+3
|
* Merge branch 'fix-1' into 'master'Matthias Clasen2019-07-291-0/+10
|\ | | | | | | | | Add freetype2 wrap file See merge request GNOME/pango!106
| * meson: Add freetype2 wrap fileNicholas Harvey2019-07-281-0/+10
| | | | | | | | | | | | | | | | | | The freetype2.wrap file was downloaded using "meson wrap install freetype2". This adds a wrap dependency that had already been declared in meson.build as a fallback for freetype2. Signed-off-by: Nicholas Harvey <727-FrostyPenguin@users.noreply.gitlab.gnome.org>
* | Merge branch 'fix-emoji-scaling' into 'master'Matthias Clasen2019-07-281-0/+19
|\ \ | |/ |/| | | | | Take font matrix into account See merge request GNOME/pango!107
| * Take font matrix into accountMatthias Clasen2019-07-281-0/+19
|/ | | | | | | | | | | | | When setting up the scale of the hb_font_t, we need to take both the pango ctm and the font matrix into account - this used to come for free when we were calling into cairo for getting glyph metrics. Now, we use harfbuzz for glyph metrics, so we need to give it the proper scale info. The symptom of this was Emoji getting an enormous width. Curiously, cairo would still render them at the expected size.
* pkgconfig: Make harfbuzz a RequiresMatthias Clasen2019-07-281-1/+1
| | | | | It used to be Requires.private, but we expose harfbuzz types in public headers now.
* Fix up harfbuzz includesMatthias Clasen2019-07-285-5/+5
| | | | | | The correct include is without harfbuzz/. Closes: https://gitlab.gnome.org/GNOME/pango/issues/387
* Fix harfbuzz includesMatthias Clasen2019-07-281-1/+1
| | | | | Until we move harfbuzz from Requires.private to Requires, public headers should include harfbuzz/hb.h.
* Merge branch 'darwin-versions-fix' into 'master'Khaled Hosny2019-07-271-1/+2
|\ | | | | | | | | meson: fix darwin_versions See merge request GNOME/pango!105
| * meson: fix darwin_versionsTom Schoonjans2019-07-271-1/+2
| | | | | | | | The darwin_versions argument should take into account the interface_age
* | Fix some issues with hyphensMatthias Clasen2019-07-271-18/+37
| | | | | | | | | | | | | | | | | | We were inserting hyphens after spaces, and in some other places where they are not desirable. Fix this by looking at the characters on both sides of the break when deciding whether to insert a hyphen.