| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This version of fontconfig has all the API
we are using, and was released in 2018.
|
| |
|
| |
|
|
|
|
|
| |
Also fix CoreText detection by including its header. (Older systems have
CoreText as a private framework.)
|
| |
|
|
|
|
|
|
| |
Now that the code has been fixed, we can enable
these warnings. The flags here match what is used
in GTK.
|
|
|
|
|
|
| |
Pango uses the FRIBIDI_TYPE_RLI macro. It was not usable until fribidi
commit 46f52d588ab5 ("Fixed bug PFRIBIDI_TYPE_PDF_LRI is undefined.
Issue #69") which was first included in v1.0.6.
|
|
|
|
| |
We're going to add api.
|
|
|
|
|
|
|
| |
We are using hb_ot_var apis in various places.
These have been introduced in harfbuzz 2.2.0.
2.2.0 is from 2018, so this should be safe.
|
| |
|
| |
|
| |
|
|
|
| |
This reverts merge request !309
|
|
|
|
| |
We are going to add new api.
|
| |
|
|
|
|
|
| |
Rebuilding the project with documentation enabled will also rebuild the
documentation.
|
| |
|
|\
| |
| |
| |
| | |
build: Don't build HarfBuzz prematurely
See merge request GNOME/pango!291
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For Visual Studio builds, since HarfBuzz is built with CMake until
HarfBuzz 2.6.x yet we only require HarfBuzz 2.0.0 or later, we
aren't able to find pre-2.6.x HarfBuzz using Meson's dependency()
method as the support for CMake config files is not done in Meson.
As a result, we need to make sure that we first manually look for the
HarfBuzz/HarfBuzz-GObject libraries before we attempt to use the
fallback mechanism in Meson, so that we won't rebuild HarfBuzz
unneccesarily.
This rebuild will also cause issues for older compilers that don't
have enough support for C++11 as building Harfbuzz with Meson support
requires a C++11 compiler, which was mandated in HarfBuzz 2.5.0.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Stop using gtk-doc, and switch to gi-docgen.
The gi-docgen tool generates API references through the introspection
data, which has various benefits:
- it does not parse C code
- it does not generate and run C code to introspect types at build time
- it does not present a different API from the one we're exporting
Additionally, gi-docgen:
- does not generate DocBook XML in order to generate HTML
- does not go through xsltproc
- parses proper Markdown
Which makes it markedly faster than gtk-doc has ever been.
|
| |
|
| |
|
|
|
|
|
| |
On OS X, we need hb_coretext_font_create,
so pass coretext=enabled to harfbuzz.
|
|
|
|
|
| |
The meson versions 0.55.0 to 0.55.2 had problems
with skipped tests. Things work again with 0.55.3,
|
|
|
|
| |
It is required for g_ptr_array_copy().
|
| |
|
|\
| |
| |
| |
| | |
meson: Use meson.override_dependency()
See merge request GNOME/pango!250
|
| |
| |
| |
| |
| | |
This allows projects that use pango as a subproject to not hardcode
dependency variable names such as 'libpangocairo_dep'.
|
|/
|
|
|
|
|
| |
- Ignore disabled freetype/fontconfig option on platforms where they are
required.
- If option is enabled it should still check for system dependency with
required: false.
|
|
|
|
|
|
| |
When building with -Dcairo=enabled the first dependency('cairo', ...)
call was aborting instead of returning not-found and continue with msvc
checks and then again dependency() check with a fallback set.
|
|
|
|
| |
We are going to add new API.
|
| |
|
|
|
|
|
|
|
|
| |
Added meson features for explicitly enabling or disabling the dependencies freetype and fontconfig such that they won't be used even if present on the system.
The meson option use_fontconfig was changed to fontconfig with these possible values:
* 'enabled' (equivalent to old use_fontconfig=true)
* 'auto' (equivalent to old use_fontconfig=false)
* 'disabled' (equivalent to old use_fontconfig=false AND report an error if fontconfig is required on this system).
|
|
|
|
| |
Added meson features for disabling the dependencies libthai, cairo and xft such that they won't be used even if present on the system. Changed meson dependencies for some tests accordingly.
|
|
|
|
|
| |
There was a typo when we checked whether force-including it would be
supported. Fix that.
|
| |
|
|
|
|
|
| |
Add support for adding sysprof marks.
Strongly inspired by equivalent GLib support.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
We've been using the 1.45.0 version in git for a while,
without ever putting out a tarball. Lets bump the version
to 1.45.1 for a new release, to get avoid uncertainties.
|
|\
| |
| |
| |
| | |
Replace fallthrough comments with G_GNUC_FALLTHROUGH
See merge request GNOME/pango!177
|
| |
| |
| |
| | |
So we can use G_GNUC_FALLTHROUGH
|
| |
| |
| |
| |
| |
| | |
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.
|
|\
| |
| |
| |
| | |
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
|
|/
|
|
|
| |
Meson has the include_directories() object to specify inclusion paths
that refer to both the source and build directories.
|