summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update script data for Unicode 14unicode-14-updatesMatthias Clasen2021-09-191-0/+6
|
* Merge branch 'magick-comment' into 'main'Matthias Clasen2021-09-191-1/+1
|\ | | | | | | | | utils: update a comment mentioning GraphicsMagick See merge request GNOME/pango!476
| * utils: update a comment mentioning GraphicsMagickJeremy Bicha2021-09-181-1/+1
|/
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2021-09-172-5/+5
|\ | | | | | | | | renderer: Fix static analysis warnings See merge request GNOME/pango!475
| * layout: Fix static analysis warningsMatthias Clasen2021-09-171-4/+4
| | | | | | | | | | These were showing up as warnings about garbage values in the gtk static-scan build.
| * renderer: Fix static analysis warningsMatthias Clasen2021-09-171-1/+1
|/ | | | | Fix a warnings about garbage values that are showing up in the gtk static-scan build.
* Merge branch 'quartz-requires-coretext' into 'main'Matthias Clasen2021-09-091-10/+13
|\ | | | | | | | | Require CoreText for Quartz backend See merge request GNOME/pango!471
| * Require CoreText for Quartz backendEvan Miller2021-09-071-10/+13
| | | | | | | | | | Also fix CoreText detection by including its header. (Older systems have CoreText as a private framework.)
* | Merge branch 'use-gm' into 'main'Matthias Clasen2021-09-091-6/+6
|\ \ | | | | | | | | | | | | Switch to use GraphicsMagick in pango-view See merge request GNOME/pango!472
| * | Switch to use GraphicsMagick in pango-viewPeng Wu2021-09-091-6/+6
| |/
* | Merge branch 'antialias-option' into 'main'Matthias Clasen2021-09-091-0/+5
|\ \ | |/ |/| | | | | Support antialias option in pango-view with the FreeType backend See merge request GNOME/pango!473
| * Support antialias option in pango-view with the FreeType backendPeng Wu2021-09-091-0/+5
|/
* Merge branch 'README.win32' into 'main'Matthias Clasen2021-09-071-25/+25
|\ | | | | | | | | README.win32: Update Windows build instructions See merge request GNOME/pango!470
| * README.win32: Update Windows build instructionsREADME.win32Chun-wei Fan2021-09-071-25/+25
|/ | | | | | | | | We now really require HarfBuzz, and Visual Studio 2015 or later since we are using HarfBuzz 2.6.0 items and we have much more C99 items being used in the code in Pango main. Also let people know that for Visual Studio builds, Ninja builds are better supported by Meson at this point.
* 1.49.11.49.1Matthias Clasen2021-09-011-1/+1
|
* UpdatesMatthias Clasen2021-09-011-4/+14
|
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2021-09-021-5/+12
|\ | | | | | | | | Avoid a crash See merge request GNOME/pango!469
| * Avoid a crashMatthias Clasen2021-09-011-5/+12
| | | | | | | | I was carelessly not initializing prev to NULL.
* | Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2021-09-013-10/+129
|\ \ | |/ | | | | | | Be more forgiving about attribute ordering See merge request GNOME/pango!468
| * Be more forgiving about attribute orderingMatthias Clasen2021-09-013-10/+129
|/ | | | | | | | | | | | We don't really have firm control over the way attributes are ordered in the list, so the assumtion that we see proper nesting for baseline shifts was a bit optimistic. Just look through all open stack items for a match, and remove that. Test included.
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2021-09-017-0/+781
|\ | | | | | | | | Add docs for new attributes See merge request GNOME/pango!467
| * Add docs for new attributesMatthias Clasen2021-09-017-0/+781
|/
* Merge branch 'baseline-shift' into 'main'Matthias Clasen2021-09-0113-269/+515
|\ | | | | | | | | Implement baseline shifts See merge request GNOME/pango!462
| * test-layout: Add a --show-fonts optionbaseline-shiftMatthias Clasen2021-08-311-0/+15
| | | | | | | | A bit more natural than the environment variable.
| * test-layout: Disable fragile checksMatthias Clasen2021-08-311-175/+0
| | | | | | | | | | | | | | I added these for improved coverage, but they get in the way, Should probably just move these kind of checks to another place and leave this test focused on dumps.
| * Add horizontal displacementMatthias Clasen2021-08-315-39/+78
| | | | | | | | | | | | | | | | | | | | | | Apply horizontal displacements for superscripts and subscripts that are provided in font metrics. This noticably improves the placement of superscripts in italics. Currently, we only apply these displacements in post-processing, and ignore the width changes during line-breaking. This could be improved by moving the baseline handling into the line-breaking proper.
| * markup: Change <sup> and <sub>Matthias Clasen2021-08-312-22/+8
| | | | | | | | | | | | | | | | Use the new baseline-shift and font-scale attributes to reimplement <sup> and <sub>. Now they take font metrics into account and nest properly.
| * Implement font-dependent scalingMatthias Clasen2021-08-316-21/+217
| | | | | | | | | | | | | | Add a new font-scale attribute to indicate font size changes due to super- and subscript shifts, and handle it during item post-processing to find the right font sizes.
| * Implement baseline shiftsMatthias Clasen2021-08-318-45/+231
| | | | | | | | | | | | | | | | | | | | | | Add a new baseline-shift attribute, which is similar to rise, but accumulates. In addition, it supports font- relative values such as superscript and subscript. We implement support for this by computing baseline shifts for run during line post-processing, and storing them in the runs. The renderer now takes these shifts into account when rendering layout lines.
| * Make ellipsize code saferMatthias Clasen2021-08-311-2/+1
| | | | | | | | | | | | We are going to add new fields to PangoGlyphItem, so zero-initialize the one we are allocating here in ellipsize.c.
* | Merge branch 'color-glyph' into 'main'Matthias Clasen2021-09-013-4/+58
|\ \ | | | | | | | | | | | | shape: Mark color glyphs in glyphstrings See merge request GNOME/pango!466
| * | test-shape: Show color glyph informationcolor-glyphMatthias Clasen2021-09-011-2/+11
| | |
| * | shape: Mark color glyphs in glyphstringsMatthias Clasen2021-09-012-2/+47
|/ / | | | | | | | | GTK needs this information to decide how to render the glyphs, so provide it.
* | Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2021-08-313-2/+14
|\ \ | |/ |/| | | | | fonts: Redo the get_face implementation See merge request GNOME/pango!465
| * font: Add more autoptr cleanupMatthias Clasen2021-08-311-0/+2
| |
| * fonts: Redo the get_face implementationMatthias Clasen2021-08-312-2/+12
|/ | | | | Now that we have a private class, we can retire the misplaced vfunc in the fontmap class.
* Merge branch 'coretext-font-describe' into 'main'Matthias Clasen2021-08-313-14/+17
|\ | | | | | | | | | | | | coretext: Set size on font descriptions Closes #610 See merge request GNOME/pango!464
| * tests: Test font roundtrips on MacOscoretext-font-describeMatthias Clasen2021-08-311-12/+5
| | | | | | | | | | | | We were skipping the test that would have found the brokenness in the previous fix. Lets see if we can get the test working on MacOs.
| * coretext: Set size on font descriptionsMatthias Clasen2021-08-312-2/+12
|/ | | | | | | | Set a size on the font description returned by pango_font_describe(). Otherwise, scaling it doesn't work. Fixes: #610
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2021-08-301-1/+1
|\ | | | | | | | | Cosmetics See merge request GNOME/pango!463
| * CosmeticsMatthias Clasen2021-08-301-1/+1
| |
* | Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2021-08-303-30/+76
|\ \ | |/ | | | | | | test-shape: Print out glyph classes See merge request GNOME/pango!460
| * CosmeticsMatthias Clasen2021-08-301-1/+1
| |
| * test-break: Fix legend formattingMatthias Clasen2021-08-301-1/+1
| |
| * test-break: Add a --hex-chars optionMatthias Clasen2021-08-301-27/+44
| |
| * test-shape: Print out glyph classesMatthias Clasen2021-08-291-2/+31
|/ | | | | | These are not very reliable for things other than marks, but even that is useful for debugging cluster handling.
* Merge branch 'more-rtl-cluster-fixes' into 'main'Matthias Clasen2021-08-304-48/+121
|\ | | | | | | | | Try harder to disect clusters See merge request GNOME/pango!450
| * pango-view: Use pango_glyph_string_index_to_x_fullmore-rtl-cluster-fixesMatthias Clasen2021-08-291-7/+8
| |
| * layout: Use pango_glyph_string_index_to_x_fullMatthias Clasen2021-08-291-18/+35
| |
| * Don't compute log attrs on demandMatthias Clasen2021-08-291-15/+3
| | | | | | | | If we don't have them, just do the fallback.