| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Kill shape engines
See merge request GNOME/pango!75
|
| |
| |
| |
| |
| | |
We don't have any testcases for this yet,
no reason to fail the testsuite.
|
| |
| |
| |
| | |
It is all harfbuzz now, so call it pango_hb_shape.
|
| |
| |
| |
| | |
It is no longer used in libpangoft2.
|
| | |
|
| |
| |
| |
| |
| | |
Deprecate pango_font_find_shaper, make it return
NULL, and remove the find_shaper vfunc.
|
| |
| |
| |
| | |
It is no longer used.
|
| |
| |
| |
| | |
It is no longer used.
|
| |
| |
| |
| | |
It is no longer used.
|
| |
| |
| |
| | |
This field is unused now.
|
| |
| |
| |
| |
| |
| | |
Drop internal shape engine uses and call
_pango_fc_shape directly. This makes us
use harfbuzz for shaping, on all backends.
|
| |
| |
| |
| |
| |
| |
| | |
We temporarily export it since it is still
used for the shape engine in libpangoft2.
This will be undone when we drop the shape
engine.
|
| |
| |
| |
| | |
pangofc-shape.c does not use any pangofc api anymore.
|
| |
| |
| |
| |
| |
| |
| | |
As we move towards subpixel positioning and
unhinted rendering, rounding the glyph positions
and widths between shaping and rendering is
counterproductive. So stop doing that.
|
| | |
|
|/
|
|
|
|
| |
It makes more sense to do this in the frontend
that hands the objects out, rather than in each
backend implementation.
|
|\
| |
| |
| |
| | |
Use harfbuzz for font metrics and glyph lookup
See merge request GNOME/pango!58
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This renders correctly in ci.
This attempts to acquire the hb_font_t from the HFont that we acquire
from the Windows HFONT that we use, so that we can pass things to
HarfBuzz, which will handle the shaping for us.
win32: Set scale on hb font
|
| |
| |
| |
| | |
This has been tested and renders correctly.
|
| |
| |
| |
| |
| | |
For now, just check that we get a non-NULL
hb_font_t that has a space glyph.
|
| |
| |
| |
| |
| | |
Stop using FT_Face here, so we can stop
including freetype headers.
|
| | |
|
| |
| |
| |
| |
| | |
We are moving away from a freetype dependency,
so these will be going away at some point.
|
| |
| |
| |
| | |
Harfbuzz has the api, no need to use freetype.
|
| |
| |
| |
| |
| |
| | |
Note that some of the harfbuzz api we use here
has not landed yet.
See https://github.com/harfbuzz/harfbuzz/pull/1432
|
| |
| |
| |
| | |
This is now unused.
|
| |
| |
| |
| | |
We don't need our own caching here.
|
| |
| |
| |
| |
| | |
Use typechecks for the two remaining bits of
code that use PangoFcFont.
|
| |
| |
| |
| |
| |
| | |
The frontend is caching this object, and we are giving
it out to applications. We really can't allow them to
modify it in any way.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Move all the code that sets up the hb_font_t to
pango_fc_font_create_hb_font, and use it from
the shaper. This is the second step towards
taking over font management.
Even better, harfbuzz has a ready-made function
for this. We can drop a lot of FT_Face-using code
this way. We assume unhinted rendering for now,
so we can set ppem to 0.
|
| | |
|
| |
| |
| |
| |
| | |
Add pango_font_get_hb_font, which will make it easier
access harfbuzz features.
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
| |
These are clang warnings.
|
| |
|
|
|
|
|
| |
create_base_metrics is not meant to fill in widths.
That is done in _pango_cairo_font_get_metrics.
|
| |
|
|
|
|
|
|
|
| |
This has quite a few soft hyphens, some explicit hyphens,
and some hyphenation point characters. Try it with
pango-view --width=330 --wrap=word --justify test-hyphens.txt
|
|
|
|
| |
No need to dump core because somebody typoed an option.
|
|
|
|
|
|
| |
With the inserted hyphens we end up in a situation
where we have start_char == end_char at the end
of an item. It seems to be otherwise harmless.
|
|
|
|
|
| |
Some of the hyphenation fixes affected line
breaks in the layout tests.
|
|
|
|
|
|
|
| |
This is similar in spirit to hb-shape. Take an
input and produce a sequence of glyphs as output.
There are no testcases yet.
|
|
|
|
|
|
| |
When we are uninserting a hyphen run, we need
to undo the modifications of the item we split
it off from.
|