| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This is not used by anything yet.
|
|
|
|
|
| |
This will be used in the implementation of emulated
Small Caps.
|
| |
|
|
|
|
|
|
| |
Add a helper function that used to live with the Harfbuzz
shaping code in shape.c. It will be used in the itemize code
too, in the future.
|
|\
| |
| |
| |
| | |
fc: Implement PANGO_VARIANT_SMALL_CAPS
See merge request GNOME/pango!496
|
| |
| |
| |
| |
| |
| |
| | |
Add a test that verifies that PANGO_VARIANT_SMALL_CAPS
survives a roundtrip from font description to font and
back, and that it shows up in the font as smcp=1 in
the OpenType features.
|
|/
|
|
|
|
|
| |
Arrange for PANGO_VARIANT_SMALL_CAPS to be translated
into the OpenType feature smcp=1 and back. This makes
small caps survive a roundtrip from font description
to font and back.
|
|\
| |
| |
| |
| |
| |
| | |
Fix advance widths with transforms
Closes #620
See merge request GNOME/pango!495
|
|/
|
|
|
|
|
|
|
|
| |
The hb_font_t we were passing to Harfbuzz
for shaping was not taking context transforms
into account, and therefore was not scaling
advance widths as necessary. Always go through
pangos glyph extents to fix this.
Fixes: #620
|
|\
| |
| |
| |
| | |
Add a few more default-ignorables
See merge request GNOME/pango!494
|
|/
|
|
|
|
| |
Add some more directional formatting characters
to the list of default-ignorables that we make
visible when requested: ALM, LRI, RLI, FSI, PDI.
|
|\
| |
| |
| |
| | |
Revert "ci: Allow macos to fail"
See merge request GNOME/pango!493
|
| |
| |
| |
| |
| |
| | |
This reverts commit e46a0fb53e92f359e739a818f0e0ce0d2fbf6c18.
We welcome the macos runner back.
|
|/
|
|
|
| |
I can't debug this using just the ci runner,
so skip it until somebody can.
|
|\
| |
| |
| |
| | |
fontset: Add a missing annotation
See merge request GNOME/pango!492
|
|/
|
|
|
| |
pango_fontset_simple_append consumes the font
that it is given.
|
|\
| |
| |
| |
| | |
Make logical glyph extents better
See merge request GNOME/pango!491
|
| | |
|
|/
|
|
|
| |
For east and west gravity, the logical glyph extents
were still misaligned with the ink extents.
|
|\
| |
| |
| |
| | |
cairo: Produce meaningful logical glyph extents
See merge request GNOME/pango!490
|
| |
| |
| |
| |
| |
| | |
cf_priv->scaled_font is initialized on demand, it may
be NULL. So better call the getter. This was showing
up as failure in the asan test in ci.
|
| |
| |
| |
| | |
This reverts commit 7a4af7a052e7e4187955aad9c4c60853bad806f9.
|
| |
| |
| |
| |
| | |
Without this, we end up with differences in
metrics of empty runs.
|
| |
| |
| |
| |
| |
| |
| | |
We were looking at the wrong font options here,
causing metrics to not be hinted when they should
be. This was causing some of the empty line height
tests to fail.
|
| |
| |
| |
| |
| | |
Depending on gravity, our logical glyph extents
were empty and mis-aligned. Fix that.
|
| | |
|
|\ \
| |/
|/|
| |
| | |
gi: add array annotations to get_languages
See merge request GNOME/pango!489
|
|/
|
|
| |
Also drops the null-terminated doc comment as gi-docgen shows that already
if the function is annotated properly
|
| |
|
|\
| |
| |
| |
| | |
pango: backport an old since annotation
See merge request GNOME/pango!488
|
| |
| |
| |
| |
| | |
Add some missing details about new enumerations
and run baselines.
|
| |
| |
| |
| | |
from a manual override in gtk-rs
|
|/ |
|
|\
| |
| |
| |
| | |
Revert "Use harfbuzz metrics for cairo fonts"
See merge request GNOME/pango!487
|
| |
| |
| |
| |
| | |
These need to wait until 20ec670e124e4461075
can be reapplied.
|
|/
|
|
|
|
| |
This broke glyph extents with gravity north or west.
This reverts commit 20ec670e124e4461075a2967faa29603d25106cc.
|
|\
| |
| |
| |
| | |
Support for Catalan middle dot in word start and end
See merge request GNOME/pango!485
|
|/ |
|
|\
| |
| |
| |
| | |
Cosmetics
See merge request GNOME/pango!486
|
|/
|
|
| |
Fold markers always just use 3 {, even when nested.
|
|\
| |
| |
| |
| | |
Cosmetics
See merge request GNOME/pango!483
|
|/
|
|
| |
Add default implementations for is_monospace and is_variable.
|
|\
| |
| |
| |
| | |
Fix a typo
See merge request GNOME/pango!482
|
| |
| |
| |
| | |
The macos runner is out of commission atm
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Fix empty line heights
Closes #421
See merge request GNOME/pango!481
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
For empty runs, we were sometimes using line height,
which may be scaled up by the line-height attribute.
Fix that.
|
| |
| |
| |
| |
| |
| | |
Fix the calculation of line height for empty lines
to take the line-height attributes into account like
we do for non-empty lines.
|
| |
| |
| |
| |
| |
| |
| | |
Without this, we end up with differences in
metrics of empty runs.
Fixes: #421
|