summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | ci: Update ci imagesMatthias Clasen2021-07-093-2/+4
| | | | | | | | | | | | | | | | | | Include llvm on the image, so that we can use llvm-symbolizer, too try and get meaningful stacktraces out of asan.
| * | Improve attribute test infrastructureMatthias Clasen2021-07-093-101/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make attribute_from_string() parse enum attribute values in the same way as PangoMarkup, and use it in the attribute tests. Still to do: Do the same for flags. The flags parsing function isn't exported, so this needs our tests to be statically linked.
| * | Fix a compiler warningMatthias Clasen2021-07-091-1/+0
| | |
| * | utils: Fix win32 buildMatthias Clasen2021-07-091-0/+1
|/ / | | | | | | We need stdlib.h for exit().
* | Merge branch 'win32-cmap-free' into 'master'Matthias Clasen2021-07-093-2/+65
|\ \ | | | | | | | | | | | | pangowin32: Clear cmap on finalize See merge request GNOME/pango!318
| * | pangowin32: Clear cmap on finalizeSeungha Yang2021-04-073-2/+65
| | | | | | | | | | | | | | | Implement copy method for format_4_cmap and format_12_cmap, and free don't leak the struct.
* | | Merge branch 'missing-zerowidth-chars' into 'master'Matthias Clasen2021-07-092-5/+22
|\ \ \ | | | | | | | | | | | | | | | | Add a few missing chars to pango_is_zero_width See merge request GNOME/pango!368
| * | | Add a few missing chars to pango_is_zero_widthmissing-zerowidth-charsMatthias Clasen2021-07-092-5/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The documentation for this function states that all bidi control chars are zero width, but it was missing the Isolate ones. Add them. Updated tests included.
* | | | Merge branch 'bump-hb' into 'master'Matthias Clasen2021-07-091-1/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Bump hb requirement to 2.2.0 See merge request GNOME/pango!367
| * | | Bump hb requirement to 2.2.0bump-hbMatthias Clasen2021-07-091-1/+1
|/ / / | | | | | | | | | | | | | | | | | | We are using hb_ot_var apis in various places. These have been introduced in harfbuzz 2.2.0. 2.2.0 is from 2018, so this should be safe.
* | | Merge branch 'woff-off' into 'master'Matthias Clasen2021-07-091-1/+9
|\ \ \ | | | | | | | | | | | | | | | | fontconfig: Ignore woff fonts See merge request GNOME/pango!366
| * | | fontconfig: Ignore woff fontswoff-offMatthias Clasen2021-07-091-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | harfbuzz creates a face, but doesn't seem to find any glyphs in woff fonts, so filter them out. Sadly, fontfonfig does not have useful format information about this, so we need to crudely filter by filename.
* | | | Merge branch 'test-for-564' into 'master'Matthias Clasen2021-07-091-0/+22
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Add a testcase for pango_attr_list_change See merge request GNOME/pango!364
| * | | | Add a testcase for pango_attr_list_changetest-for-564Matthias Clasen2021-07-091-0/+22
| | |_|/ | |/| | | | | | | | | | | | | | This recreates the scenario described in #564. It works fine.
* | | | Merge branch 'segmentation-tweaks' into 'master'Matthias Clasen2021-07-091-4/+20
|\ \ \ \ | |/ / / |/| / / | |/ / | | | pango-segmentation: Add a --text option See merge request GNOME/pango!365
| * | pango-segmentation: Add a --text optionsegmentation-tweaksMatthias Clasen2021-07-091-4/+20
|/ / | | | | | | | | | | Change pango-segmentation to interpret its argument as a filename, and add a --text=STRING option to specify the text directly. This matches what pango-view does.
* | Merge branch 'tests-and-fixes' into 'master'Matthias Clasen2021-07-0825-17/+345
|\ \ | | | | | | | | | | | | tests: Dump grapheme boundaries too See merge request GNOME/pango!362
| * | break: Fix handling of tag sequencestests-and-fixesMatthias Clasen2021-07-074-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | Correctly classify tag characters as Grapheme_Extend, so that we don't end up putting grapheme boundaries in the middle of tag sequences. Includes a test.
| * | tests: Add some more layout testsMatthias Clasen2021-07-076-0/+127
| | |
| * | tests: Dump grapheme boundaries tooMatthias Clasen2021-07-0711-5/+52
| | | | | | | | | | | | | | | | | | | | | Add grapheme boundaries to the output of test-break, so we can check those easily, too. Update expected test output for this.
| * | tests: Add some more break testcasesMatthias Clasen2021-07-074-0/+18
| | |
| * | tests: Add more glyph item iter testsMatthias Clasen2021-07-071-4/+13
| | |
| * | tests: Add more glyph item testsMatthias Clasen2021-07-061-0/+30
| | |
| * | tests: Add more font testsMatthias Clasen2021-07-061-8/+90
|/ /
* | Merge branch 'more-test-coverage2' into 'master'Matthias Clasen2021-07-0734-111/+1129
|\ \ | | | | | | | | | | | | utils: Remove leftover code See merge request GNOME/pango!360
| * | tests: Move bidi tests to their own filemore-test-coverage2Matthias Clasen2021-07-063-58/+180
| | | | | | | | | | | | Also add some tests for bidi embedding levels.
| * | tests: Add some more script iter testsMatthias Clasen2021-07-061-0/+10
| | |
| * | tests: Add tests for fallback shapingMatthias Clasen2021-07-061-0/+37
| | |
| * | tests: Make test-break output more convenientMatthias Clasen2021-07-061-6/+10
| | | | | | | | | | | | | | | Avoid g_test_init if we are just generating expected output, for easier updating.
| * | tests: Check more layout propertiesMatthias Clasen2021-07-0628-29/+867
| | | | | | | | | | | | | | | | | | | | | | | | Allow setting more layout properties in test-layout, and check their values after setting them. Also print out directions and cursor positions. Update existing tests, and add more.
| * | tests: Improve coverageMatthias Clasen2021-07-061-0/+9
| | | | | | | | | | | | Spot-check a copied layout in test-break.
| * | layout: Zero out log attrsMatthias Clasen2021-07-061-1/+1
| | | | | | | | | | | | This makes tests more reproducible.
| * | layout: Add a missing annotationMatthias Clasen2021-07-061-1/+1
| | | | | | | | | | | | pango_layout_get_tabs returns a copy.
| * | layout: Document default valuesMatthias Clasen2021-07-061-0/+8
| | | | | | | | | | | | | | | Since these are not properties, their default values aren't documented anywhere. Until now.
| * | layout: Correct a g_return_val_if_failMatthias Clasen2021-07-061-1/+1
| | | | | | | | | | | | | | | The convention is to return the initial value if the 'this' check fails. Correct this for auto_dir.
| * | layout: Explicitly initialize single_paragraphMatthias Clasen2021-07-061-0/+1
| | | | | | | | | | | | This makes it obvious what the initial value is.
| * | layout: Remove an overeager assertionMatthias Clasen2021-07-061-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pango_layout_get_direction contained an assertion that would be hit when just iterating over all chars in the text of the layout (it gets hit when you get to the final newline). Remove the assertion, so that this function is less of a trap.
| * | utils: Remove leftover codeMatthias Clasen2021-07-061-11/+0
| | | | | | | | | | | | | | | pango-segmentation is not a test, so don't call g_test_message.
| * | Fix a memory leakMatthias Clasen2021-07-061-0/+2
| | |
| * | CosmeticsMatthias Clasen2021-07-061-2/+2
|/ /
* | Merge branch 'fix-strikethrough-averaging' into 'master'Matthias Clasen2021-07-051-7/+8
|\ \ | | | | | | | | | | | | | | | | | | renderer: Fix averaging of strikethroughs Closes #574 See merge request GNOME/pango!358
| * | renderer: Fix averaging of strikethroughsfix-strikethrough-averagingMatthias Clasen2021-07-051-7/+8
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | In 85bdfead1b36945db251 I made consecutive runs average their strikeout positions, but I did handle the accounting properly, causing previous runs to influence the strikeout of later runs, if we have to draw them separately (due to color change). It would be nicer to average even across color changes and draw the line continuously in that case as well, but that would require two passes over the runs. Fixes: #574
* | 1.48.71.48.7Matthias Clasen2021-07-032-1/+6
| |
* | Merge branch 'improve-wrap-docs' into 'master'Matthias Clasen2021-07-021-0/+5
|\ \ | | | | | | | | | | | | | | | | | | docs: Add some details for PangoWrap Closes #573 See merge request GNOME/pango!355
| * | docs: Add some details for PangoWrapimprove-wrap-docsMatthias Clasen2021-07-021-0/+5
|/ / | | | | | | | | | | This clarifies things for myself. Fixes: #573
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-07-022-0/+11
|\ \ | | | | | | | | | | | | Add libthai to valgrind suppressions See merge request GNOME/pango!357
| * | Update lsan.suppMatthias Clasen2021-07-021-0/+1
| | | | | | | | | | | | | | | | | | Sometimes, asan complains about us keeping a static hb_font_funcs_t around. This seems to only affect test-pangocairo-threads. Tell it not to worry about that.
| * | Add libthai to valgrind suppressionsMatthias Clasen2021-07-021-0/+10
| | | | | | | | | | | | | | | We use the shared ThBrk object that libthai creates, and don't free it.
* | | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-07-021-0/+10
|\ \ \ | |/ / | | | | | | | | | Add forgotten NEWS See merge request GNOME/pango!356
| * | Add forgotten NEWSMatthias Clasen2021-07-021-0/+10
|/ / | | | | | | | | This should have been included in the 1.48.6 release, but wasn't.