summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ci: We need verbose outputMatthias Clasen2019-07-162-0/+3
|
* Fix the buildMatthias Clasen2019-07-161-1/+1
|
* ci: Use an existing fontMatthias Clasen2019-07-161-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 useMatthias Clasen2019-07-162-2/+2
| | | | Know the environment.
* pango-list: Add a --verbose optionMatthias Clasen2019-07-161-0/+23
|
* ci: Use a file extensionMatthias Clasen2019-07-163-4/+4
|
* ci: produce a font listMatthias Clasen2019-07-162-0/+9
| | | | Know the environment.
* Add a test that prints out font metricsMatthias Clasen2019-07-161-1/+44
| | | | | This is to confirm whether fonts report a nonzero height on Windows.
* ci: Render without line spacingMatthias Clasen2019-07-161-1/+1
| | | | To confirm whether this is the problem on win32.
* pango-view: Make it possible to turn line-spacing offMatthias Clasen2019-07-161-4/+6
|
* Fix a typoMatthias Clasen2019-07-161-1/+1
|
* ci: Try to make pango-view work on win32Matthias Clasen2019-07-161-1/+1
|
* ci: Install cantarell on win32Matthias Clasen2019-07-161-1/+2
|
* Add rendering for windows ci tooMatthias Clasen2019-07-162-1/+8
|
* Fix up meson syntaxMatthias Clasen2019-07-161-1/+1
|
* Get the paths rightMatthias Clasen2019-07-161-2/+2
|
* Collect the artifact tooMatthias Clasen2019-07-162-0/+1
|
* Try to get rendered output from ciMatthias Clasen2019-07-161-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 testMatthias Clasen2019-07-162-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 prematurelyMatthias Clasen2019-07-161-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 Clasen2019-07-151-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 compilersChun-wei Fan2019-07-151-2/+2
|/ | | | Make sure we declare variables at the top of the block.
* Merge branch 'use-hb-fallback-only-when-needed' into 'master'Matthias Clasen2019-07-151-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 neededChun-wei Fan2019-07-151-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-freeMatthias Clasen2019-07-151-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 hyphensMatthias Clasen2019-07-142-0/+42
|
* test-layout: Be robust against odd runsMatthias Clasen2019-07-141-16/+4
| | | | | This causes some changes in the output. Update expected output.
* layout: Improve soft hyphen handlingMatthias Clasen2019-07-141-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 confusionMatthias Clasen2019-07-141-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 typeMatthias Clasen2019-07-141-1/+1
| | | | | We had a boolean member in ParaBreakState that was used as an int. Oops
* Some test updatesMatthias Clasen2019-07-1421-353/+245
| | | | | Share the attribute printing code between all the tests, update expected output to match.
* test-itemize: Introspect attribute namesMatthias Clasen2019-07-141-61/+28
|
* Some more doc tweaksMatthias Clasen2019-07-146-17/+41
|
* Clean up docs a bitMatthias Clasen2019-07-133-53/+15
| | | | Avoid duplicate comments in struct defintions.
* Add some more docsMatthias Clasen2019-07-134-1/+5
|
* Documentation tweaksMatthias Clasen2019-07-138-16/+190
|
* Deprecate pango_fc_font_has_charMatthias Clasen2019-07-122-3/+2
| | | | We have pango_font_has_char now.
* Rename pango_font_coversMatthias Clasen2019-07-125-10/+8
| | | | | We already had a has_char api in pangofc, so use that name.
* Revert "utils: Link against libpangocairo"Matthias Clasen2019-07-121-1/+1
| | | | This reverts commit 37fd3ce13b643d1743ae8b69c453a2cfcb0e3eb0.
* Revert "Reduce overlinking"Matthias Clasen2019-07-122-8/+8
| | | | This reverts commit f972ba0562823a8d55ad02ff9609481a884c79f8.
* Revert "Move pangofc to libpango"Matthias Clasen2019-07-121-22/+8
| | | | This reverts commit 8b85815f1b122842d915e7fc29cc68d228a64dbb.
* Add some tests for coverageMatthias Clasen2019-07-122-0/+84
|
* coverage: Fix the copy implementationMatthias Clasen2019-07-121-1/+10
| | | | This should do a deep copy.
* coverage: Fix the implementationMatthias Clasen2019-07-121-2/+8
| | | | We never created the set. Oops.
* NEWS: Some updatesMatthias Clasen2019-07-121-0/+13
|
* Remove private things from the docsMatthias Clasen2019-07-121-11/+0
|
* docs: Update private header listMatthias Clasen2019-07-121-3/+8
|
* Document pango_item_apply_attrsMatthias Clasen2019-07-121-0/+18
|
* Add missing things to the docsMatthias Clasen2019-07-121-2/+25
|
* docs: Fix parameter name mismatchesMatthias Clasen2019-07-122-4/+4
| | | | gtk-doc doesn't like these.