| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| | |
Make it explicit that the spliced-in attributes
are limited to the the 'gap'.
|
|\ \
| |/
|/|
| |
| | |
g-i: add since annotations to enum members
See merge request GNOME/pango!575
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Avoid an uninitialized variable warning
Closes #650
See merge request GNOME/pango!573
|
|/
|
|
| |
Fixes: #650
|
|\
| |
| |
| |
| |
| |
| | |
serializer: Serialize non-ASCII correctly if char is unsigned
Closes #652
See merge request GNOME/pango!572
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
If char is unsigned, the first byte of a non-trivial UTF-8 sequence will
be 0x80 or higher, instead of being negative. In this case we need to
process it as UTF-8, instead of printing only the first byte and then
skipping to the next UTF-8 character.
char is usually signed on x86 and some other architectures, but not on
the ARM or PowerPC families, among others.
Resolves: https://gitlab.gnome.org/GNOME/pango/-/issues/652
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|\
| |
| |
| |
| | |
layout: Make sloped carets work better
See merge request GNOME/pango!571
|
|/
|
|
|
|
|
|
| |
When the font matrix has uneven scales, we need
to factor that into the slope that we get from
the font metrics.
Tested with a condensed italic Cantarell.
|
|\
| |
| |
| |
| | |
Add a test for letterspacing
See merge request GNOME/pango!570
|
| |
| |
| |
| | |
Just for completeness.
|
| |
| |
| |
| |
| | |
This tests that we turn off ligatures when letterspacing
is enabled.
|
|\ \
| |/
|/|
| |
| | |
Pass synthetic slant to harfbuzz
See merge request GNOME/pango!474
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When our font matrix includes a slant, pass that information
to HarfBuzz, so it can adjust its mark positioning, metrics
like caret slope, etc.
This commit corrects the code that pulls the font matrix out
of fontconfig to properly take the flipped y axis between fontconfig
and pango into account.
Requires new api in HarfBuzz > 3.2
|
|/
|
|
|
| |
Add API to extract the slant ratio from a PangoMatrix.
Tests included.
|
|\
| |
| |
| |
| | |
test-ellipsize: Tweak
See merge request GNOME/pango!569
|
|/
|
|
|
| |
Best to compare precise sizes and take rounding
out of the equation.
|
|\
| |
| |
| |
| | |
fontmap: Improve docs slightly
See merge request GNOME/pango!568
|
| |
| |
| |
| |
| | |
Face names are not actually guaranteed to be unique,
so don't say that.
|
|/
|
|
| |
Mention GListModel.
|
|\
| |
| |
| |
| | |
Cosmetics
See merge request GNOME/pango!567
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
tracing: Fix the defines
Closes #648
See merge request GNOME/pango!565
|
| |
| |
| |
| | |
Fixes: #648
|
| |
| |
| |
| |
| | |
Always fall back to the base font if the fontset
has no coverage.
|
| |
| |
| |
| |
| |
| |
| |
| | |
We want to define pango_trace_mark to nothing.
This reveals that we've never compiled these
calls out before, and there are some warnings
to be fixed in that case.
|
|/ |
|
|\
| |
| |
| |
| | |
Split off PangoFontsetSimple
See merge request GNOME/pango!564
|
| |
| |
| |
| | |
This will be used in the future
|
| |
| |
| |
| | |
This was just an empty header.
|
| |
| |
| |
| |
| |
| | |
This functionality is basically unused.
Lets not keep an array of coverages around
for it.
|
|/
|
|
| |
Put PangoFontsetSimple into its own files.
|
|\
| |
| |
| |
| | |
Make missing space smaller
See merge request GNOME/pango!563
|
|/
|
|
|
|
|
| |
The Microsoft paper I was citing actually recommends
1/4 em for ASCII space. Make it so...
Update affected tests.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Add a private api to get the font size
Closes #647
See merge request GNOME/pango!561
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Follow the Microsoft Typography recommendations from
https://docs.microsoft.com/en-us/typography/develop/character-design-standards/whitespace
and use half of an em for missing space.
Update affected tests.
Fixes: #647
|
| |
| |
| |
| | |
No surprises here.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add a private vfunc to get the (absolute) size
of a font. This default implementation just
pulls it out of the font description, but we
can do implement this cheaper without copying
the font description.
|
|/ |
|
|\
| |
| |
| |
| | |
Cosmetics
See merge request GNOME/pango!560
|
|/
|
|
|
| |
Rename some variables, so we actually know
what these matrices are.
|
|\
| |
| |
| |
| |
| |
| | |
Fix line height with emulated small caps
Closes #622
See merge request GNOME/pango!543
|
| |
| |
| |
| |
| |
| |
| |
| | |
When we change font scale for emulating small caps,
keep the original font around in the analysis, and use
it for calculating the run height.
Fixes: #622
|
|/
|
|
|
|
| |
Add some api to let us store another font in
a PangoAnalysis. This will be used in the following
commits.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
serializer: Fix a typo
Closes #646
See merge request GNOME/pango!559
|
| |
| |
| |
| |
| | |
This test verifies the fixes for the
situation described in #646.
|
| |
| |
| |
| |
| |
| |
| | |
We want to avoid trading chars for hyphens
in the margin beyond the set width.
Fixes: #646
|
| |
| |
| |
| |
| | |
We don't collapse space at the very end, so we should
count such spaces towards the line width.
|