summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* NEWS: UpdatesMatthias Clasen2019-10-311-0/+10
|
* Merge branch 'line-underline' into 'master'Matthias Clasen2019-11-015-1/+53
|\ | | | | | | | | Some overline fixups See merge request GNOME/pango!155
| * tests: Add missing data filesMatthias Clasen2019-10-311-0/+7
| |
| * Add tests for new markupMatthias Clasen2019-10-312-0/+43
| |
| * tests: Handle new attribute valuesMatthias Clasen2019-10-311-0/+1
| | | | | | | | Test that new underline values work.
| * Document new underline valuesMatthias Clasen2019-10-311-1/+2
|/
* Merge branch 'tests' into 'master'Matthias Clasen2019-11-011-0/+62
|\ | | | | | | | | Add a test for new font api See merge request GNOME/pango!154
| * Add a test for new font apiMatthias Clasen2019-10-311-0/+62
| | | | | | | | This test exercises the new font enumeration apis.
* | Merge branch 'line-underline' into 'master'Matthias Clasen2019-11-0110-18/+321
|\ \ | |/ |/| | | | | | | | | Line-wide underlines Closes #62 See merge request GNOME/pango!137
| * tests: Handle new attributesMatthias Clasen2019-10-312-0/+4
| |
| * renderer: Implement overlinesMatthias Clasen2019-10-313-2/+126
| | | | | | | | | | | | | | Implement overlines in PangoRenderer. This adds a new render part, and mirrors the machinery we have for underlines and strikethrough.
| * layout: Handle overline attributesMatthias Clasen2019-10-311-3/+24
| |
| * Add an overline attributeMatthias Clasen2019-10-314-0/+119
| | | | | | | | | | | | | | | | | | | | Add a new PangoOverline enum, and overline and overline_color attributes, which parallel the attributes we have for underlines and strikethrough. For now, the enum just has 'none' and 'single' values.
| * Draw strikethrough continuouslyMatthias Clasen2019-10-311-13/+17
| | | | | | | | | | | | Average strikethrough position and thickness across consecutive struckthrough runs. This gives an OK result in common cases.
| * renderer: Handle new underline valuesMatthias Clasen2019-10-311-0/+15
| | | | | | | | | | | | | | Handle these by using the lowest position across a sequence of runs with the same underline. Closes: https://gitlab.gnome.org/GNOME/pango/issues/62
| * layout: Handle new underline valuesMatthias Clasen2019-10-311-0/+4
| |
| * Add new PangoUnderline valuesMatthias Clasen2019-10-311-1/+13
|/ | | | | | These will be used for 'line-wide' continuous underlines, as opposed to the current values, wich are per-run and jump up and down.
* Merge branch 'family-face-api' into 'master'Matthias Clasen2019-11-0110-37/+327
|\ | | | | | | | | Family face api See merge request GNOME/pango!135
| * Add pango_font_get_faceMatthias Clasen2019-10-319-7/+68
| | | | | | | | | | Since we've run out of slots in PangoFontClass, this is implemented with a vfunc in PangoFontMapClass.
| * Add pango_font_face_get_familyMatthias Clasen2019-10-317-3/+56
| |
| * Add pango_font_family_get_faceMatthias Clasen2019-10-314-13/+98
| | | | | | | | This lets us get a face by name.
| * Add pango_font_map_get_familyMatthias Clasen2019-10-315-16/+107
| | | | | | | | This lets us get a PangoFontFamily by name.
* | Merge branch 'get-direction' into 'master'Matthias Clasen2019-10-313-1/+31
|\ \ | |/ |/| | | | | | | | | Add a small api Closes #14 See merge request GNOME/pango!136
| * Add pango_layout_get_directionMatthias Clasen2019-10-313-1/+31
|/ | | | | | | This lets callers access to resolved text direction of a layout. GTK needs this. Closes: https://gitlab.gnome.org/GNOME/pango/issues/14
* Fix the buildMatthias Clasen2019-10-311-1/+0
|
* ci: Install diffMatthias Clasen2019-10-311-1/+2
| | | | Our tests are using it.
* Add a 1.46 symbol indexMatthias Clasen2019-10-311-0/+4
|
* Add 1.46 version macrosMatthias Clasen2019-10-311-0/+25
|
* Bump version to 1.45Matthias Clasen2019-10-311-1/+1
|
* Merge branch 'no-shape-attrs' into 'master'Matthias Clasen2019-10-292-38/+58
|\ | | | | | | | | | | | | No shape attrs Closes #426 See merge request GNOME/pango!153
| * Adjust expected test outputsMatthias Clasen2019-10-281-2/+2
| | | | | | | | The change is a harmless change in attribute list ordering.
| * Fix ItemProperties handlingMatthias Clasen2019-10-281-29/+54
| | | | | | | | | | | | Deal with the fact that underlines and strikethroughs are not constant across items, since we do not break runs for these properties.
| * Don't treat rise as a no-shape attributeMatthias Clasen2019-10-281-0/+1
| | | | | | | | | | | | | | | | It doesn't make sense to apply kerning between letters if they are not on the same baseline. This was not noticed so far, since it is very uncommon to have a rise without an accompanying font change, which will cause the run to be broken.
| * Drop an unused ItemProperties useMatthias Clasen2019-10-281-3/+0
| | | | | | | | | | We don't use ItemProperties in pango_layout_line_index_to_x anymore, so no need to compute them either.
| * Go back to ignoring underlines for itemizationMatthias Clasen2019-10-281-5/+2
|/ | | | | | | | | This is what we used to do, and without it, we lose kerning beween underlined and non-underlined characters, which is most noticable with mnemonic underlines. Fixes: https://gitlab.gnome.org/GNOME/pango/issues/426
* fc: remove another assertion that might triggerMatthias Clasen2019-10-251-2/+1
| | | | | Apparently, people have fonts without formats, so better don't assert, just silently skip those.
* 1.44.71.44.7Matthias Clasen2019-10-242-1/+7
|
* Merge branch 'emoji-table-opt' into 'master'Matthias Clasen2019-10-253-180/+17
|\ | | | | | | | | emoji: Optimize tables See merge request GNOME/pango!152
| * Revert "Try again to debug win32 ci segfaults"Matthias Clasen2019-10-242-6/+1
| | | | | | | | This reverts commit 154c2db37bfecc2d1c4a09b975ab6972b63bc9a8.
| * emoji: Optimize tablesMatthias Clasen2019-10-241-174/+16
| | | | | | | | | | One of the Emoji tables had many adjacent ranges. Speed up our bsearch by merging them.
* | Merge branch 'coretext-gravity' into 'master'Matthias Clasen2019-10-251-0/+1
|\ \ | | | | | | | | | | | | [coretext] make setting font gravity work See merge request GNOME/pango!150
| * | [coretext] make setting font gravity workKhaled Hosny2019-10-231-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting font gravity to anything other than PANGO_GRAVITY_SOUTH causes no fonts to be matched on Core Text backend because the code for finding best match checks for equal gravity between the requested font and the fonts in the font set, and the later always have PANGO_GRAVITY_SOUTH. Hack around this by copying the gravity from the requested font. Can be tested with: $ pango-view --gravity=east --rotate=-90 utils/test-chinese.txt Currently without this change it gives: (pango-view:2824): Pango-WARNING **: 10:59:18.683: couldn't load font "serif Rotated-Left 12", modified variant/weight/stretch as fallback, expect ugly output. (pango-view:2824): Pango-ERROR **: 10:59:18.683: Could not load fallback font, bailing out. Trace/BPT trap: 5
* | Merge branch 'font-format-crash' into 'master'Matthias Clasen2019-10-251-2/+1
|\ \ | |/ |/| | | | | | | | | fc: Be robust against missing format information Closes #431 See merge request GNOME/pango!151
| * fc: Be robust against missing format informationMatthias Clasen2019-10-241-2/+1
|/ | | | | | | | Some people have been seeing this assertion getting hit. So don't assert, simply skip fonts that don't have format information. Fixes: https://gitlab.gnome.org/GNOME/pango/issues/431
* Merge branch 'break-opt' into 'master'Matthias Clasen2019-10-121-3/+5
|\ | | | | | | | | break: Don't determine types more than once See merge request GNOME/pango!149
| * break: Don't determine types more than onceMatthias Clasen2019-10-121-3/+5
| | | | | | | | | | | | We determined the category early on, don't do the same work again later by calling isdigit or isletter wrappers.
* | Merge branch 'hyphen-cluster' into 'master'Matthias Clasen2019-10-121-2/+2
|\ \ | |/ |/| | | | | | | | | Fixes harfbuzz codepoint cluster for hyphens. Closes #429 See merge request GNOME/pango!148
| * Fixes harfbuzz codepoint cluster for hyphens.aihui zhu2019-10-081-2/+2
|/
* Merge branch 'pangowin32tobmp-typo' into 'master'Matthias Clasen2019-09-231-1/+2
|\ | | | | | | | | pangowin32tobmp: Fix typo. See merge request GNOME/pango!147
| * pangowin32tobmp: Fix typo.Werner Lemberg2019-09-181-1/+2
|/