Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ci: We need verbose output | Matthias Clasen | 2019-07-16 | 2 | -0/+3 |
| | |||||
* | Fix the build | Matthias Clasen | 2019-07-16 | 1 | -1/+1 |
| | |||||
* | ci: Use an existing font | Matthias Clasen | 2019-07-16 | 1 | -2/+7 |
| | | | | | We don't care about the particular font here, we just want to list font metrics of an existing font. | ||||
* | ci: Print fontmap implementation in use | Matthias Clasen | 2019-07-16 | 2 | -2/+2 |
| | | | | Know the environment. | ||||
* | pango-list: Add a --verbose option | Matthias Clasen | 2019-07-16 | 1 | -0/+23 |
| | |||||
* | ci: Use a file extension | Matthias Clasen | 2019-07-16 | 3 | -4/+4 |
| | |||||
* | ci: produce a font list | Matthias Clasen | 2019-07-16 | 2 | -0/+9 |
| | | | | Know the environment. | ||||
* | Add a test that prints out font metrics | Matthias Clasen | 2019-07-16 | 1 | -1/+44 |
| | | | | | This is to confirm whether fonts report a nonzero height on Windows. | ||||
* | ci: Render without line spacing | Matthias Clasen | 2019-07-16 | 1 | -1/+1 |
| | | | | To confirm whether this is the problem on win32. | ||||
* | pango-view: Make it possible to turn line-spacing off | Matthias Clasen | 2019-07-16 | 1 | -4/+6 |
| | |||||
* | Fix a typo | Matthias Clasen | 2019-07-16 | 1 | -1/+1 |
| | |||||
* | ci: Try to make pango-view work on win32 | Matthias Clasen | 2019-07-16 | 1 | -1/+1 |
| | |||||
* | ci: Install cantarell on win32 | Matthias Clasen | 2019-07-16 | 1 | -1/+2 |
| | |||||
* | Add rendering for windows ci too | Matthias Clasen | 2019-07-16 | 2 | -1/+8 |
| | |||||
* | Fix up meson syntax | Matthias Clasen | 2019-07-16 | 1 | -1/+1 |
| | |||||
* | Get the paths right | Matthias Clasen | 2019-07-16 | 1 | -2/+2 |
| | |||||
* | Collect the artifact too | Matthias Clasen | 2019-07-16 | 2 | -0/+1 |
| | |||||
* | Try to get rendered output from ci | Matthias Clasen | 2019-07-16 | 1 | -0/+1 |
| | | | | | | The eventual goal is to have a quick way of seeing whether rendering is broken on other platforms. For starters, do this for linux. | ||||
* | Add another layout test | Matthias Clasen | 2019-07-16 | 2 | -0/+51 |
| | | | | | | | This tests a situation in which we had a crash until recently: Multiple paragraphs, with no-break attributes. We used to free the no-break attribute list prematurely. | ||||
* | layout: Don't free no_break_attributes prematurely | Matthias Clasen | 2019-07-16 | 1 | -4/+4 |
| | | | | | We use them in a loop. Don't free them before the loop is done. | ||||
* | Merge branch 'trivial-pre-c99-fix' into 'master' | Matthias Clasen | 2019-07-15 | 1 | -2/+2 |
|\ | | | | | | | | | pangofc-font.c: Trivial fix on pre-C99 compilers See merge request GNOME/pango!88 | ||||
| * | pangofc-font.c: Trivial fix on pre-C99 compilers | Chun-wei Fan | 2019-07-15 | 1 | -2/+2 |
|/ | | | | Make sure we declare variables at the top of the block. | ||||
* | Merge branch 'use-hb-fallback-only-when-needed' into 'master' | Matthias Clasen | 2019-07-15 | 1 | -7/+16 |
|\ | | | | | | | | | build: Only use fallback dependency for HarfBuzz when needed See merge request GNOME/pango!87 | ||||
| * | build: Only use fallback dependency for HarfBuzz when needed | Chun-wei Fan | 2019-07-15 | 1 | -7/+16 |
| | | | | | | | | | | | | | | | | | | | | Unfortunately the CMake dependency discovery mechanism is broken in Meson, so on MSVC builds we still look first for the HarfBuzz headers and .lib's, and ensure that they are 2.0.0 or later, before we try to use the fallback dependency. We do, however, want to make use of the fallback if HarfBuzz cannot be found since HarfBuzz is now a hard dependency of Pango for all builds. | ||||
* | | layout: Avoid access-after-free | Matthias Clasen | 2019-07-15 | 1 | -2/+4 |
|/ | | | | | insert_run (... TRUE) frees the need_hyphen array, so we need to check for the hyphen beforehand. | ||||
* | Add a layout test with soft hyphens | Matthias Clasen | 2019-07-14 | 2 | -0/+42 |
| | |||||
* | test-layout: Be robust against odd runs | Matthias Clasen | 2019-07-14 | 1 | -16/+4 |
| | | | | | This causes some changes in the output. Update expected output. | ||||
* | layout: Improve soft hyphen handling | Matthias Clasen | 2019-07-14 | 1 | -1/+8 |
| | | | | | | | | | | | Point the item that we create for the inserted hyphen at the SHY in the paragraph text, shortening the previous run by one character. It would be nicer to not insert an extra run at all and just reshape the previous one in a way that maps the SHY to a hyphen, but that is more difficult to do as long as we are going through the shape engine API. | ||||
* | layout: Fix some offset-vs-index confusion | Matthias Clasen | 2019-07-14 | 1 | -32/+54 |
| | | | | | | | | | | | | | | | | | We had some sad cases where we used a char offset as a byte index, with the expected bad results once there are multibyte characters in the mix. Instead of poking at the text in the middle of line-breaking, go back to keeping a plain array of positions that need a hyphen inserted. We maintain this array in parallel to the existing log_widths array, so hopefully the offset math is working out now. It is tempting to look at log_attrs.is_white for this, but that gives us double hyphens when breaks are taken at explicit hyphens. So, keep this information separately. | ||||
* | layout: Correct a field type | Matthias Clasen | 2019-07-14 | 1 | -1/+1 |
| | | | | | We had a boolean member in ParaBreakState that was used as an int. Oops | ||||
* | Some test updates | Matthias Clasen | 2019-07-14 | 21 | -353/+245 |
| | | | | | Share the attribute printing code between all the tests, update expected output to match. | ||||
* | test-itemize: Introspect attribute names | Matthias Clasen | 2019-07-14 | 1 | -61/+28 |
| | |||||
* | Some more doc tweaks | Matthias Clasen | 2019-07-14 | 6 | -17/+41 |
| | |||||
* | Clean up docs a bit | Matthias Clasen | 2019-07-13 | 3 | -53/+15 |
| | | | | Avoid duplicate comments in struct defintions. | ||||
* | Add some more docs | Matthias Clasen | 2019-07-13 | 4 | -1/+5 |
| | |||||
* | Documentation tweaks | Matthias Clasen | 2019-07-13 | 8 | -16/+190 |
| | |||||
* | Deprecate pango_fc_font_has_char | Matthias Clasen | 2019-07-12 | 2 | -3/+2 |
| | | | | We have pango_font_has_char now. | ||||
* | Rename pango_font_covers | Matthias Clasen | 2019-07-12 | 5 | -10/+8 |
| | | | | | We already had a has_char api in pangofc, so use that name. | ||||
* | Revert "utils: Link against libpangocairo" | Matthias Clasen | 2019-07-12 | 1 | -1/+1 |
| | | | | This reverts commit 37fd3ce13b643d1743ae8b69c453a2cfcb0e3eb0. | ||||
* | Revert "Reduce overlinking" | Matthias Clasen | 2019-07-12 | 2 | -8/+8 |
| | | | | This reverts commit f972ba0562823a8d55ad02ff9609481a884c79f8. | ||||
* | Revert "Move pangofc to libpango" | Matthias Clasen | 2019-07-12 | 1 | -22/+8 |
| | | | | This reverts commit 8b85815f1b122842d915e7fc29cc68d228a64dbb. | ||||
* | Add some tests for coverage | Matthias Clasen | 2019-07-12 | 2 | -0/+84 |
| | |||||
* | coverage: Fix the copy implementation | Matthias Clasen | 2019-07-12 | 1 | -1/+10 |
| | | | | This should do a deep copy. | ||||
* | coverage: Fix the implementation | Matthias Clasen | 2019-07-12 | 1 | -2/+8 |
| | | | | We never created the set. Oops. | ||||
* | NEWS: Some updates | Matthias Clasen | 2019-07-12 | 1 | -0/+13 |
| | |||||
* | Remove private things from the docs | Matthias Clasen | 2019-07-12 | 1 | -11/+0 |
| | |||||
* | docs: Update private header list | Matthias Clasen | 2019-07-12 | 1 | -3/+8 |
| | |||||
* | Document pango_item_apply_attrs | Matthias Clasen | 2019-07-12 | 1 | -0/+18 |
| | |||||
* | Add missing things to the docs | Matthias Clasen | 2019-07-12 | 1 | -2/+25 |
| | |||||
* | docs: Fix parameter name mismatches | Matthias Clasen | 2019-07-12 | 2 | -4/+4 |
| | | | | gtk-doc doesn't like these. |