| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Following information found here:
https://docs.microsoft.com/en-us/windows/win32/gdi/string-widths-and-heights
|
|
|
|
| |
Add a getter for the line height of a font.
|
|
|
|
|
|
| |
Patch by Alan Wang.
Closes: https://gitlab.gnome.org/GNOME/pango/issues/281
|
|
|
|
| |
Move them to their own section in the docs.
|
|\
| |
| |
| |
| | |
Header cleanup
See merge request GNOME/pango!63
|
| |
| |
| |
| |
| |
| |
| | |
Abolish the PANGO_ENABLE_BACKEND and PANGO_ENABLE_ENGINE
defines. All backend-only apis are moved into private
headers, all apis that were engine-only are marked as
deprecated, since engines are.
|
|\ \
| |/
|/|
| |
| | |
pango-viewer: Optionally show line rects
See merge request GNOME/pango!62
|
|/
|
|
|
|
| |
With --annotate 3, show the logical rects
for each line. This makes the spacing between
lines easily visible.
|
|\
| |
| |
| |
| | |
pango-view: Add a --spacing option
See merge request GNOME/pango!61
|
|/ |
|
|\
| |
| |
| |
| | |
Drop g_type_init calls
See merge request GNOME/pango!60
|
|/
|
|
|
| |
These were ifdefed to an older version of GLib
than we require now, so are just dead code.
|
|\
| |
| |
| |
| | |
Update the pair table
See merge request GNOME/pango!59
|
|/
|
|
|
| |
This was done by comparing with the Bidi_Mirrored
property in Unicode 12.
|
|\
| |
| |
| |
| | |
Include more Unicode 11 test cases
See merge request GNOME/pango!33
|
| |
| |
| |
| |
| | |
Add more Unicode 11 test cases files:
WordBreakTest.txt and SentenceBreakTest.txt.
|
|\ \
| | |
| | |
| | |
| | | |
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 .
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
meson: Use 'standard' option names
Closes #364
See merge request GNOME/pango!57
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
| | | |
| | | |
| | | | |
We're going to use newer API to replace 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.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Clean up markup-test, do case-insensitive diffs
Closes #356
See merge request GNOME/pango!44
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Typically the tests don't care about the case of the characters, but
g_printf("%s", 0x0) returns "(null)" if glibc is being used and "(NULL)" if
gnulib's drop-in replacement are used. Fixes #356
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Use the functions in test-common.c instead of replicating them.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The copy of print_attribute() in markup-parse.c handles more attributes, so add
those here too.
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fix the value of PANGO_SCALE_X_SMALL
Closes #372
See merge request GNOME/pango!56
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
Closes #372
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
tools/gen-script-for-lang.c: Avoid generating code with empty arrays
See merge request GNOME/pango!53
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This contains the updates that removes the empty arrays from the generated
code.
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
Empty arrays are one of the C99 features that is not currently supported
by any Visual Studio versions. Avoid doing so.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Emoji layout test
See merge request GNOME/pango!52
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The locale is reflected in the lang field,
so the output changes due to the previous
commit.
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
We need to use a Unicode locale in order to test
Emoji and similar glyphs.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Update Croatian pangram in pango-language-sample-table.h
See merge request GNOME/pango!47
|
|/ / / / / |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Deprecate pango script
See merge request GNOME/pango!51
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Replace PangoScript by GUnicodeScript
See merge request GNOME/pango!27
|