| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
These were ifdefed to an older version of GLib
than we require now, so are just dead code.
|
|
|
|
|
| |
This was done by comparing with the Bidi_Mirrored
property in Unicode 12.
|
|\
| |
| |
| |
| | |
Unicode 11 support for Thai language
See merge request GNOME/pango!20
|
| |
| |
| |
| |
| | |
According to the comments from break-thai.c, use alternative approach
for break-thai.c .
|
| |
| |
| |
| |
| |
| |
| |
| | |
Use 'gtk_doc' for documentation and 'introspection'
for, well, introspection. This matches what the rest
of the stack does.
Fixes https://gitlab.gnome.org/GNOME/pango/issues/364
|
|\ \
| | |
| | |
| | |
| | | |
Replace deprecated Harfbuzz API
See merge request GNOME/pango!39
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Harfbuzz deprecated hb_ot_tag_from_language() and
hb_ot_tags_from_script(), and replaced them both with a single call,
hb_ot_tags_from_script_and_language().
Let's move Pango to the new API, and avoid the deprecated calls.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Core text: Fix indexing into cascade list when multiple fonts are selected
Closes #352
See merge request GNOME/pango!54
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug introduced from 633fd80.
With that changeset, if multiple fonts from the provided font family
are found, they are added to the start of fontset->fonts. Space for
the cascade list (based on the 'best'/first font) then follows.
However, pango_core_text_fontset_get_font_at was not updated to
match this change. So it still assumes that there is at most only
one 'real' font in fonset->fonts. With this assumption, the
indexing into fontset->cascade_list became incorrect, leading to
an out-of-bounds access on that list, resulting in an exception
being thrown.
Track the number of fonts found in pango_core_text_fontset_new
in real_fount_count, and use this as the offset into cascade_list.
This also fixes a memory leak; when a PangoCoreTextFontSet is
initialised, fonts and coverages are pre-initialised, but this
was being discarded and re-set in pango_core_text_fontset_new
without freeing the previous initialisation.
|
|/ / /
| | |
| | |
| | | |
Closes #372
|
| | |
| | |
| | |
| | |
| | | |
This contains the updates that removes the empty arrays from the generated
code.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Explain that returned script values are, in fact,
from the GUnicodeScript enumeration.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
We were using the enum nicks in on place.
Use GUnicodeScript instead, since that is getting
updated for newer Unicode versions.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Make it clear that PangoScript is deprecated, and will
not be updated. And that all APIs are in fact returning
GUnicodeScript, and callers have to handle that.
|
| | |
| | |
| | | |
This reverts commit 3e754defc364a89b2136894399b3463976840156
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit replaces the PangoScript enum by a
typedef to GUnicodeScript, and preserves the old
enum values as defines.
This depends on adding an enum type for GUnicodeScript
in gobject.
|
| | |
| | |
| | |
| | | |
For Dependent Vowels, the grapheme needs to be deleted by character.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|/ / |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Issue #322 - Vertical text doesn't fall back to rotated versions of horizontal glyphs when necessary
Closes #322
See merge request GNOME/pango!28
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
...of horizontal glyphs when necessary
Implemented UAX#50 to determine whether characters rotate or not
in vertical layout.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Make it clear that all text input must be valid UTF-8,
except in the case pango_layout_set_text, which we now
officially document as accepting and handling invalid
input.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
PangoDirection is still used in some public apis,
so just keep it around.
Closes: #339
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
pangowin32: Read the font fallback list from the registry instead of hardcoding it for some fonts.
See merge request GNOME/pango!34
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
hardcoding it for some fonts.
We only had a fallback list for "Segoe UI" which is the default Windows font, but not on
Chinese or Korean Windows version which use "JhengHei UI" etc. and fall back to "Segoe UI".
Instead of hardcoding the fallbacks in the alias list read them from the registry
(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink)
This should allow us to use the default Windows font by default in gtk+ on Win8+,
see https://gitlab.gnome.org/GNOME/gtk/merge_requests/436 for details.
This also bumps the required Windows version to Vista for RegGetValueW().
|
|/ /
| |
| |
| | |
This ensures everything build with pre-C89 compilers.
|
|\ \
| | |
| | |
| | |
| | | |
Update Unicode Text Segmentation to Unicode 11
See merge request GNOME/pango!15
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| | |
Patch by David Corbett in HarfBuzz.
|
|\ \
| | |
| | |
| | |
| | | |
Variable face
See merge request GNOME/pango!25
|
| | |
| | |
| | |
| | |
| | |
| | | |
The variable face is somewhat special, and we don't want
to confuse things by calling it 'Regular' (since it doesn't
have a style).
|
| | |
| | |
| | |
| | |
| | | |
This is very straightforward, since fontconfig has
a field for this.
|
| | |
| | |
| | |
| | |
| | | |
pango_font_family_is_variable() return whether a font
family supports font variations.
|
|/ /
| |
| |
| |
| | |
We agreed that people should just use fribidi for this
information.
|
| |
| |
| |
| | |
We're going to add new api, so add version markers etc.
|
|\ \
| | |
| | |
| | |
| | | |
Emoji ragel
See merge request GNOME/pango!31
|