| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
Add pango_fc_font_map_set_default_substitute
Closes #83
See merge request GNOME/pango!191
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
added:
pango_fc_font_map_set_default_substitute
pango_fc_font_map_default_substitute_changed
deprecated:
pango_ft2_font_map_set_default_substitute
pango_ft2_font_map_changed
pango_xft_font_map_set_default_substitute
pango_xft_font_map_changed
Now PangoCairoFcFontMap will call what is passed to
pango_fc_font_map_set_default_substitute when it is time.
The deprecated functions make calls to the parent (FC) class now.
The user-supplied callbacks are executed in the exact same places as
before.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This really belongs into PangoFont, but we're out of
room in the PangoFontClass struct for vfuncs, so this
will have to remain backend-specific functionality
for now.
|
| |
| |
| |
| |
| |
| | |
This returns the list of preferred languages, as
determined from the PANGO_LANGUAGES or LANGUAGES
environment variables.
|
|/
|
|
|
| |
This will be useful to make GdkRGBA support
hex formats with alpha.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new `pango_attr_list_equal` API that allows comparing the
attributes included in two PangoAttrLists and returns TRUE if the lists
contain the same attributes and apply to the same ranges.
The function avoids any copying of attributes or lists and applies a
minor optimization of skipping the equality check for attributes that
were already found in both lists. Other possible optimizations that
could be added if necessary would be storing the length of the
attributes list in the PangoAttrList class to avoid the `g_slist_length`
calls or reusing the `other_iter` pointer in case all attributes from 0
to n were already found.
|
|
|
|
| |
PangoXft depends on both Xft and fontconfig.
|
|
|
|
|
| |
Meson has the include_directories() object to specify inclusion paths
that refer to both the source and build directories.
|
|
|
|
|
|
|
|
|
|
| |
Add a new PangoOverline enum, and overline
and overline_color attributes, which parallel
the attributes we have for underlines and
strikethrough.
For now, the enum just has 'none' and 'single'
values.
|
|\
| |
| |
| |
| | |
Family face api
See merge request GNOME/pango!135
|
| |
| |
| |
| |
| | |
Since we've run out of slots in PangoFontClass,
this is implemented with a vfunc in PangoFontMapClass.
|
| | |
|
| |
| |
| |
| | |
This lets us get a face by name.
|
| |
| |
| |
| | |
This lets us get a PangoFontFamily by name.
|
|/
|
|
|
|
|
| |
This lets callers access to resolved text direction
of a layout. GTK needs this.
Closes: https://gitlab.gnome.org/GNOME/pango/issues/14
|
| |
|
|
|
|
| |
Move TYPE macros to standard sections.
|
|
|
|
|
|
| |
At some point, the role attribute stopped being
needed, and started breaking the output. Removing
it makes the indexes appear again.
|
| |
|
|
|
|
|
|
|
| |
We want to include api docs for platform-specific
apis. Avoid getting build failures for introspection
by explictly generating a types file with only
the linux types.
|
|
|
|
| |
Add an illustration of logical and ink rects.
|
|
|
|
|
|
|
|
|
| |
Add a text attribute that allows to suppress
insertion of hyphens at intra-word line breaks.
This is useful for non-paragraph-like contexts,
where line breaks are needed, but hyphens are not
expected.
|
|
|
|
|
|
|
|
|
|
|
| |
This is a global option, similar in spirit to
font options, so it makes sense to keep it in
PangoContext.
Default to rounding glyph positions, which preserves
the pre-1.44 behavior and should help cure all
the 'broken' font rendering with older cairo
versions.
|
|
|
|
|
| |
The only flag currently defined affects whether
glyph positions are rounded or not.
|
| |
|
|
|
|
|
| |
Allow to opt-in to showing spaces, line breaks,
and default-ignorable chars, separately.
|
|\
| |
| |
| |
| | |
Better hyphens
See merge request GNOME/pango!89
|
| |
| |
| |
| |
| | |
Add a new attribute type, and parse allow_breaks="false"
in markup. This is useful to prevent hyphenation of words.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead, reshape the pre-break run with the
soft hyphen replaced by an actual hyphen.
This is unfortunately inefficient, we copy
the entire text for this. The alternative
(scatter-gather populating the harfbuzz
buffer) is too hard to manage.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a function that can update positions of
attributes as the underlying text is changing.
This is meant to be used to update an attribute
list as text transformations are applied, like
capitalization.
|
|/
|
|
|
| |
This was a gap in the attribute api - no way
to get attributes back out of a list.
|
| |
|
| |
|
|
|
|
|
| |
Add pango_font_get_hb_font, which will make it easier
access harfbuzz features.
|
|
|
|
|
|
| |
This function lets you apply language-specific
tailoring on top of breaks produced by
pango_default_break.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
We already had a has_char api in pangofc,
so use that name.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Add a pango_font_covers function, which is like
pango_shape_engine_covers, without the engine.
This api is simpler than PangoCoverage in that
it does not take a language as input, and only
returns a boolean.
This matches the harfbuzz api.
|
| |
|
|
|
|
| |
Make a new image for layout parameters.
|
|
|
|
| |
Move them to their own section in the docs.
|
|
|
|
| |
We will just use meson from now on.
|
|
|
|
|
|
|
| |
The API isn't available on Windows and gtk-doc fails with a
linker error otherwise.
https://bugzilla.gnome.org/show_bug.cgi?id=795045
|