| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Just so I can make a snapshot release.
|
| |
|
|
|
|
| |
This showed up as wrong slopes with font size > 60.
|
| |
|
|
|
|
| |
Our tests now require G_TEST_SRCDIR to be set.
|
|
|
|
|
|
|
|
| |
Ignore gravity and variations when matching in generic
families, since the hb families contained in there
don't have those fields in their descriptions.
This fixes display of Chinese examples in pango-view.
|
|
|
|
| |
This is enormous fiddling, and should be much simpler.
|
|
|
|
|
|
| |
To use it, call pango-view with
--userfont --font "Userfont 20"
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
There is no way to do anything useful outside
of Pango with these functions, so keep them
private.
|
|
|
|
| |
Move this to PangoHbFont.
|
|
|
|
|
| |
Using %p is not a good idea here, since its output
is platform-dependent. Thankfully, its easily avoided.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sadly, the APIs and COM types in dwrite.h that is shipped with the
Windows SDK at least is C++ only, so we can't just include it in C files
directly. No version of the Windows SDK ship dwrite.h that is
compatible with C, unlike many of the DirectX headers that at least
shipped in the past with C support.
Instead, add a C++ source file that does the work to acquire the
cairo_font_face_t that we need from the DirectWrite IDWriteFontFace that
we added whe we populated the font map, and call that function from
pangocairo-font.c. Make the definition of
create_cairo_font_face_for_hb_font() on DirectWrite builds marked with
static, as with the CoreText and FontConfig builds.
As a consequence, make sure pangocairo-private.h uses C linkage so that
things will link properly when DirectWrite is being used.
|
|
|
|
|
|
|
|
|
| |
Pango is now a single library with all its available backends built in the main
DLL, so we don't need to (nor should) build resource files for PangoWin32, plus
that file has been dropped.
Likewise, also drop the pangocairo.rc.in file template, since that is also no
longer referenced
|
|
|
|
|
|
| |
We need to extract the itemize attributes
first, or we'll miss attributes that are classified
as affecting both itemization and shaping.
|
|
|
|
|
|
| |
It turns out that using user fonts for
embedding is a bit too involved, so lets
keep the shape attribute machinery around.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to build with DirectWrite support, HarfBuzz must also be built
with DirectWrite support, which is disabled by default. Tell the
fallback build to look for DirectWrite and enabled it as a result-it
should be sufficiently present for Visual Studio with the Windows 8.0
SDK, and we are likely using a Windows 10 SDK since we require Visual
Studio 2015 or later for MSVC builds.
Remove the line in .gitlab-ci/test-msys2.sh that requests this support
since we are putting this in the main Meson build files.
|
| |
|
| |
|
|
|
|
|
|
| |
It is what the font chooser expects.
Also, make Sans an alternative to Sans-serif.
|
| |
|
|
|
|
| |
The font chooser seems to rely on this behavior.
|
| |
|
|
|
|
| |
This is needed to build HarfBuzz as a subproject.
|
|
|
|
|
|
|
|
| |
Make it possible to set a fallback fontmap on a fontmap,
that will be used for adding more results to the fontsets
we produce.
Test included.
|
|
|
|
| |
This will be used in future commits.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This option sets up a fontmap with a single
(or a few) fonts. This is for testing with
specific fonts.
|
| |
|
|
|
|
|
|
|
| |
Add dashed and wavy line style (without an implementation),
and make overline styled as well.
Update all affected callers.
|
| |
|
| |
|
|
|
|
|
| |
This one just requires pango2.pc, but it allows
consumers to be explicit in their build configuration.
|
|
|
|
| |
To check something before including pangocairo.h
|
|
|
|
| |
This is needed to fix small-caps roundtrips on MacOS.
|
| |
|
|
|
|
|
| |
Make it so that install_fonts() just works, regardless
whether it is called before or after g_test_init().
|
| |
|
| |
|
| |
|