| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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.
|
|/
|
|
|
|
| |
Oops, we were not serializing the height at all.
Update all affected tests.
|
|\
| |
| |
| |
| | |
pango-view: Support transforms with --serialized
See merge request GNOME/pango!558
|
| |
| |
| |
| | |
Add doc comments for some private API.
|
| |
| |
| |
| |
| |
| | |
Stop using fcfont->matrix. This is just a redundant
copy of the matrix that is already available in
the font key. Just use that.
|
|/
|
|
|
| |
We can just use the matrix from the deserialized
layout.
|
|\
| |
| |
| |
| | |
shape: More tweaks to space handling
See merge request GNOME/pango!557
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When coming up with a width for a missing space,
we were just measuring the hex digits. But in
subsetted fonts, such as the ones we use for ci,
hex digits might well be missing. Take that into
account and still provide some nonzero width
for space.
Update affected tests.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is a difficult dance between HarfBuzz and pango
which glyphs we let hb synthesize, and which ones
we need to fake ourselves.
HarfBuzz knows how to create other spaces from 0x20,
so if the font is lacking spaces, we want to tell
HarfBuzz that we don't have that glyph *except* for
0x20 where we need to fake one, and provide HarfBuzz
with a suitable width.
Update affected tests.
|
|\
| |
| |
| |
| | |
Revert "Fix advance widths with transforms"
See merge request GNOME/pango!556
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit ccb651dd2a876a4f4a4cb9351f05332173e709ba.
This broke vertical text rendering, see
https://gitlab.com/inkscape/inkscape/-/issues/2950.
Update affected tests and add a vertical test.
|
|\ \
| |/
| |
| |
| | |
pango-view: Add --serialize-to option
See merge request GNOME/pango!555
|
|/
|
|
| |
Add an option to produce a serialized output.
|
|\
| |
| |
| |
| | |
docs: Don't build pangoot bits if not enabled
See merge request GNOME/pango!554
|
|/
|
|
|
| |
PangoOT is actually a part of PangoFT2, so don't attempt to build its docs if
FontConfig is not found.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Fix handling of space-less fonts
Closes #641
See merge request GNOME/pango!552
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
HarfBuzz knows how to synthesize spaces, we just
need to tickle it in the right way.
Test included.
Update affected tests.
Fixes: #641
|
|\ \
| |/
| |
| |
| |
| |
| | |
Fix Arabic format chars
Closes #642
See merge request GNOME/pango!553
|
| |
| |
| |
| | |
This tests the fix in the previous commit.
|
| |
| |
| |
| |
| |
| |
| | |
We can't treat these like spaces, since they are visible
and need the proper font.
Fixes: #642
|
|\ \
| |/
|/|
| |
| |
| |
| | |
Add a missing include
Closes #640
See merge request GNOME/pango!551
|
|/
|
|
|
|
| |
This was breaking the build on some macOs versions.
Fixes: #640
|
|\
| |
| |
| |
| |
| |
| | |
pango-item-private.h: fix x86-64 x32 builds
Closes #637
See merge request GNOME/pango!548
|
|/
|
|
| |
Fixes: #637
|
|\
| |
| |
| |
| | |
gtkjsonparser.c: Include stdlib.h
See merge request GNOME/pango!547
|
|/
|
|
| |
It is needed for strtol()/strtoul().
|
|\
| |
| |
| |
| | |
Fix pango-view option handling
See merge request GNOME/pango!546
|
|/
|
|
|
| |
The --serialized option did not quite
work as expected.
|
|\
| |
| |
| |
| | |
docs: Various improvements
See merge request GNOME/pango!545
|