| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
gravity: Add missing Multani script
Closes #597
See merge request GNOME/pango!408
|
|/
|
|
|
|
|
| |
An unfortunate oversight in 709af063 omitted Multani,
and threw the rest of the table off.
Fixes: #597
|
|\
| |
| |
| |
| | |
build: Raise required fribidi version
See merge request GNOME/pango!407
|
|/
|
|
|
|
| |
Pango uses the FRIBIDI_TYPE_RLI macro. It was not usable until fribidi
commit 46f52d588ab5 ("Fixed bug PFRIBIDI_TYPE_PDF_LRI is undefined.
Issue #69") which was first included in v1.0.6.
|
|\
| |
| |
| |
| |
| |
| | |
Add check for a NULL font in PangoAnalysis structure
Closes #592
See merge request GNOME/pango!405
|
|/
|
|
| |
Fixes: https://gitlab.gnome.org/GNOME/pango/-/issues/592
|
|\
| |
| |
| |
| |
| |
| | |
Remove some check from test-layout
Closes #576
See merge request GNOME/pango!404
|
| |
| |
| |
| |
| | |
Test that we can round-trip with
pango_layout_x_index (most of the time).
|
| |
| |
| |
| |
| |
| |
| | |
Some of these aren't reliable, and were only
added for test coverage.
Fixes: #576
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Add pango_justify_last_line
Closes #74
See merge request GNOME/pango!403
|
| | |
| | |
| | |
| | |
| | | |
Give pango-view a --justify-last-line option
to test the new PangoLayout option for this.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add a way to justify the last line in a justified
paragraph.
Fixes: #74
|
|\ \ \
| |/ /
| | /
| |/
|/| |
Add some forgotten documentation
See merge request GNOME/pango!402
|
|/ |
|
|\
| |
| |
| |
| | |
Fix corner cases around line ends
See merge request GNOME/pango!401
|
| |
| |
| |
| |
| | |
These cover more of the corner cases fixed in the
previous commits.
|
| |
| |
| |
| |
| |
| | |
We were miscounting the cursor positions in a line,
causing us to jump down to the next line when moving
backwards towards the start of the line.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
pango_layout_index_to_line_and_extents needs to
return a run rect even if the line has no non-empty
runs. Failing to do so was causing cursors at the
end of lines to have a height of 0 or 1, which is
not what we want.
Add a testcase.
|
|\ \
| |/
|/|
| |
| | |
CODING_STYLE: Fence code samples, fix tab breakage
See merge request GNOME/pango!400
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Attempt to fix some Win32-related issues
Closes #583 and #578
See merge request GNOME/pango!399
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When we look up our font from the list of fonts that we enumerated from
the system, follow what the CoreText backend does, so that if the font
gravity in the font description is getting in our way to find the font,
look for it again without the gravity.
This will enable us to find the font that really exists but was not found
due to FontDescription attributes.
Partially fixes #583.
|
| | |
| | |
| | |
| | |
| | | |
Some tests used items from PangoFT2, which may not have been enabled on
platforms where that was optionally built.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The careful rounding code that was brought back as a result of commit
d4356779 only had effect if we are using a backend that supported font
hinting, so on other backends, use the former rounding code that was
dropped in favor of the careful rounding code that unfortunately did not
apply for all backends.
Should fix #578.
|
| | |
| | |
| | |
| | | |
The strchr() call's second parameter is a char, not a string.
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | | |
docs: Cosmetics
Closes #77
See merge request GNOME/pango!398
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Show how weak and strong cursors look in
practice.
Fixes: #77
|
| | | |
|
| | |
| | |
| | |
| | | |
No need to link a function to itself.
|
|\ \ \
| |/ /
| | /
| |/
|/| |
docs: Add one more dark mode image
See merge request GNOME/pango!397
|
|/ |
|
|\
| |
| |
| |
| | |
Implement css-like line-height
See merge request GNOME/pango!390
|
| |
| |
| |
| |
| |
| | |
Now that we are using run extents for cursor positions,
the vertical extents aren't necessarily constant across
a line anymore. Adapt our assertions.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix up the various apis that are reporting logical
rects to follow these rules:
Logical rectangles of lines are affected by the
line-height attribute, logical rectangles of smaller
units (runs, clusters, chars, cursors, etc) are not.
This fixes the text cursors and block cursors in
GTK to be 'normal' height, even when applying
line-height for double-spacing.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Modify the height and vertical origin of logical
extents according to the line height attributes.
We currently apply half the leading above and
half below the content (i.e., lines are vertically
centered in their modified height).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add attributes for line-height, in a relative and
absolute variant.
This will be used to grow the logical extents of
runs in a way that is compatible with CSS semantics.
In markup, we support a new line_height attribute
that will be interpreted as absolute if it is an
integer > 1024, and as a relative factor otherwise.
|
|\ \
| |/
|/|
| |
| | |
docs: Cosmetic change
See merge request GNOME/pango!396
|
| |
| |
| |
| |
| | |
Unversioned deprecations come out odd in
gi-docgen. Add a version to avoid that.
|
| |
| |
| |
| | |
Shorten the first line of the PangoBidiType docs.
|
|\ \
| | |
| | |
| | |
| | | |
docs: Fix up deps for images
See merge request GNOME/pango!395
|
| | | |
|
| | |
| | |
| | |
| | | |
Add a visual example of bidi reordering.
|
| | | |
|
| | |
| | |
| | |
| | | |
Move the vertical text example up, in the bidi docs.
|
| | |
| | |
| | |
| | |
| | | |
There was a cw vs ccw mixup here.
Adding example images made it obvious.
|
|/ /
| |
| |
| | |
We have two lists to keep in sync :(
|
|\ \
| | |
| | |
| | |
| | | |
docs: More details
See merge request GNOME/pango!394
|
|/ /
| |
| |
| | |
Add some visualizations of gravity.
|
|\ \
| | |
| | |
| | |
| | | |
docs: Add more details
See merge request GNOME/pango!393
|
|/ /
| |
| |
| |
| | |
Add some visualization of alignment and justification
to the PangoLayout docs.
|