| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
So we can use G_GNUC_FALLTHROUGH
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Update Unicode Text Segmentation and Line Breaking to Unicode 13
See merge request GNOME/pango!174
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | |
| | | | | | |
| | | | | | | |
Win32 font corruption
See merge request GNOME/pango!186
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Currently, because of the g_once_init*, only the very first font map
that is created will get the correct list of aliases. With these changes
the fontmap class loads the aliases once, and this hash table is used
by all fontmap objects.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
HarfBuzz may be found manually instead of via pkg-config, so only add it to
Pango's pkg-config file if it is really found via pkg-config.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This avoids the build erroring out on C4819 (Unicode handling issue in Visual
Studio compilers), notably when running on Chinese, Japanese and Korean
locales.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Defer using the FreeType fallback until:
-We need to really build FontConfig support
-FreeType is not found even after checking the headers and lib's.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The document of [CreateDCA][1] says:
> If lpszDriver or lpszDevice is DISPLAY, the thread that calls
> CreateDC owns the HDC that is created. When this thread is
> destroyed, the HDC is no longer valid. Thus, if you create the HDC
> and pass it to another thread, then exit the first thread,
> the second thread will not be able to use the HDC.
So this change introduces GPrivate to fix potential problem.
This also fixes the problem caused by accessing the global
variable DC directly, which makes some early call to Pango functions
fail.
(e.g., failure of calling pango_win32_font_description_from_logfontw
from _get_system_font_name in GTK.)
[1]: https://docs.microsoft.com/windows/win32/api/wingdi/nf-wingdi-createdca
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Some improvement on Windows builds (notably Visual Studio builds)
See merge request GNOME/pango!173
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
HarfBuzz may be found manually instead of via pkg-config, so only add it to
Pango's pkg-config file if it is really found via pkg-config.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This avoids the build erroring out on C4819 (Unicode handling issue in Visual
Studio compilers), notably when running on Chinese, Japanese and Korean
locales.
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Defer using the FreeType fallback until:
-We need to really build FontConfig support
-FreeType is not found even after checking the headers and lib's.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | |
| | | | | | |
| | | | | | | |
win32: Use GPrivate-managed display device context
See merge request GNOME/pango!179
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The document of [CreateDCA][1] says:
> If lpszDriver or lpszDevice is DISPLAY, the thread that calls
> CreateDC owns the HDC that is created. When this thread is
> destroyed, the HDC is no longer valid. Thus, if you create the HDC
> and pass it to another thread, then exit the first thread,
> the second thread will not be able to use the HDC.
So this change introduces GPrivate to fix potential problem.
This also fixes the problem caused by accessing the global
variable DC directly, which makes some early call to Pango functions
fail.
(e.g., failure of calling pango_win32_font_description_from_logfontw
from _get_system_font_name in GTK.)
[1]: https://docs.microsoft.com/windows/win32/api/wingdi/nf-wingdi-createdca
|
|\ \ \ \ \ \ \
| |_|_|_|/ / /
|/| | | | | |
| | | | | | |
| | | | | | | |
build: add a wrap file for harfbuzz
See merge request GNOME/pango!185
|
| | |_|/ / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | | |
harfbuzz master has meson support now. The fallback code is already
in the pango meson code, so this is all that is needed.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
CI: Switch to new Windows runners
See merge request GNOME/pango!187
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
win32 gets replaced with win32-ps which uses powershell
|
|/ / / / / |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Both fontconfig and libXft are needed to build pango-xft, which is
needed to generate the API reference.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
meson: Fix check for builtype arguments
See merge request GNOME/pango!181
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
`get_option('buildtype')` will return `'custom'` for most combinations
of `-Doptimization` and `-Ddebug`, but those two will always be set
correctly if only `-Dbuildtype` is set. So we should look at those
options directly.
For the two-way mapping between `buildtype` and `optimization`
+ `debug`, see this table:
https://mesonbuild.com/Builtin-options.html#build-type-options
|
|\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | | |
Improve the Pango CI pipeline on Linux
See merge request GNOME/pango!183
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Use a scaled down version of the GTK and GLib CI set ups, with a custom
Docker image and multiple stages. The CI pipeline now generates a JUnit
report, which integrates with the GitLab merge requests; builds the
documentation as a separate stage; and publishes the API reference for
the master branch at the end.
|
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Switch to an environment() object, to allow for proper escaping
- Use the TAP protocol with GTest
- Put all tests under the Pango suite
|
| | | | |
| | | | |
| | | | |
| | | | | |
Works just as well.
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Do not use homegrown assertion and failure macros, when GTest has
perfectly functional API to deal with all the cases Pango covers.
Using GTest also allows us to rely on appropriate formatting for
results and logging.
|
|/ / / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use correct c:include and distinct package in PangoFc-1.0 and PangoOT-1.0
Closes #456
See merge request GNOME/pango!175
|
|/ / /
| | |
| | |
| | | |
Fixes: #456
|
| | |
| | |
| | |
| | | |
This should stop our hooks from complaining.
|
| | |
| | |
| | |
| | | |
We need to get different docker images in place.
|
| | |
| | |
| | |
| | | |
[skip ci]
|
| |/
|/|
| | |
This reverts commit 7cfef2b4604ceb64d9022e02a11e6963c7f1289d
|
|\ \
| | |
| | |
| | |
| | | |
Fix build reproducibility
See merge request GNOME/pango!159
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Changes the comment in pango-enum-types.c to reference the file basename
instead of the full path. This ensures that the generated file is
reproducible when it is included in source packages meant for debugging.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Update pango-emoji-table.h to Unicode Emoji Data 13.0 (was released on January 29, 2020)
See merge request GNOME/pango!169
|
| | | |
| | | |
| | | |
| | | | |
January 29, 2020)
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
Include HarfBuzz when generating introspection data
Closes #458
See merge request GNOME/pango!170
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
The Pango API exposes harfbuzz types, and so we need to depend on
HarfBuzz-0.0 when generating our introspection data.
Fixes: #458
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
build: Move C-only warning flags to right place
See merge request GNOME/pango!166
|
| | | |
| | | |
| | | |
| | | | |
The build was complaining about those and that broke -Werror builds.
|