| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Underline spaces again
Closes #613
See merge request GNOME/pango!478
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
in ada1bc9385d638e4c42, I switched to using ink rects
for horizontal underline extents, to improve the placement
of single-character underlines in the presence of
kerning. I overlooked the fact that spaces don't have ink,
so the change caused leading and trailing whitespace to
not be underlined anymore. Fix this by using the union
of ink and logical rectangles.
Fixes: #613
|
|\ \
| |/
|/|
| |
| | |
Update script data for Unicode 14
See merge request GNOME/pango!477
|
|/ |
|
|\
| |
| |
| |
| | |
utils: update a comment mentioning GraphicsMagick
See merge request GNOME/pango!476
|
|/ |
|
|\
| |
| |
| |
| | |
renderer: Fix static analysis warnings
See merge request GNOME/pango!475
|
| |
| |
| |
| |
| | |
These were showing up as warnings about garbage
values in the gtk static-scan build.
|
|/
|
|
|
| |
Fix a warnings about garbage values that are
showing up in the gtk static-scan build.
|
|\
| |
| |
| |
| | |
Require CoreText for Quartz backend
See merge request GNOME/pango!471
|
| |
| |
| |
| |
| | |
Also fix CoreText detection by including its header. (Older systems have
CoreText as a private framework.)
|
|\ \
| | |
| | |
| | |
| | | |
Switch to use GraphicsMagick in pango-view
See merge request GNOME/pango!472
|
| |/ |
|
|\ \
| |/
|/|
| |
| | |
Support antialias option in pango-view with the FreeType backend
See merge request GNOME/pango!473
|
|/ |
|
|\
| |
| |
| |
| | |
README.win32: Update Windows build instructions
See merge request GNOME/pango!470
|
|/
|
|
|
|
|
|
|
| |
We now really require HarfBuzz, and Visual Studio 2015 or later since we are
using HarfBuzz 2.6.0 items and we have much more C99 items being used in the
code in Pango main.
Also let people know that for Visual Studio builds, Ninja builds are better
supported by Meson at this point.
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Avoid a crash
See merge request GNOME/pango!469
|
| |
| |
| |
| | |
I was carelessly not initializing prev to NULL.
|
|\ \
| |/
| |
| |
| | |
Be more forgiving about attribute ordering
See merge request GNOME/pango!468
|
|/
|
|
|
|
|
|
|
|
|
|
| |
We don't really have firm control over the way
attributes are ordered in the list, so the
assumtion that we see proper nesting for baseline
shifts was a bit optimistic.
Just look through all open stack items for a match,
and remove that.
Test included.
|
|\
| |
| |
| |
| | |
Add docs for new attributes
See merge request GNOME/pango!467
|
|/ |
|
|\
| |
| |
| |
| | |
Implement baseline shifts
See merge request GNOME/pango!462
|
| |
| |
| |
| | |
A bit more natural than the environment variable.
|
| |
| |
| |
| |
| |
| |
| | |
I added these for improved coverage, but they
get in the way, Should probably just move these
kind of checks to another place and leave this
test focused on dumps.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Apply horizontal displacements for superscripts and subscripts
that are provided in font metrics. This noticably improves the
placement of superscripts in italics.
Currently, we only apply these displacements in post-processing,
and ignore the width changes during line-breaking. This could
be improved by moving the baseline handling into the line-breaking
proper.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Use the new baseline-shift and font-scale attributes
to reimplement <sup> and <sub>.
Now they take font metrics into account and nest
properly.
|
| |
| |
| |
| |
| |
| |
| | |
Add a new font-scale attribute to indicate font size
changes due to super- and subscript shifts, and handle
it during item post-processing to find the right font
sizes.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a new baseline-shift attribute, which is similar to
rise, but accumulates. In addition, it supports font-
relative values such as superscript and subscript.
We implement support for this by computing baseline
shifts for run during line post-processing, and storing
them in the runs. The renderer now takes these shifts
into account when rendering layout lines.
|
| |
| |
| |
| |
| |
| | |
We are going to add new fields to PangoGlyphItem,
so zero-initialize the one we are allocating here
in ellipsize.c.
|
|\ \
| | |
| | |
| | |
| | | |
shape: Mark color glyphs in glyphstrings
See merge request GNOME/pango!466
|
| | | |
|
|/ /
| |
| |
| |
| | |
GTK needs this information to decide how to
render the glyphs, so provide it.
|
|\ \
| |/
|/|
| |
| | |
fonts: Redo the get_face implementation
See merge request GNOME/pango!465
|
| | |
|
|/
|
|
|
| |
Now that we have a private class, we can retire
the misplaced vfunc in the fontmap class.
|
|\
| |
| |
| |
| |
| |
| | |
coretext: Set size on font descriptions
Closes #610
See merge request GNOME/pango!464
|
| |
| |
| |
| |
| |
| | |
We were skipping the test that would have found
the brokenness in the previous fix. Lets see if
we can get the test working on MacOs.
|
|/
|
|
|
|
|
|
| |
Set a size on the font description returned by
pango_font_describe(). Otherwise, scaling it
doesn't work.
Fixes: #610
|
|\
| |
| |
| |
| | |
Cosmetics
See merge request GNOME/pango!463
|
| | |
|
|\ \
| |/
| |
| |
| | |
test-shape: Print out glyph classes
See merge request GNOME/pango!460
|
| | |
|