summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 1.901.90Matthias Clasen2022-06-222-0/+115
|
* Update userfont example for changesMatthias Clasen2022-06-221-2/+2
|
* Disable known-broken testsMatthias Clasen2022-06-222-2/+11
| | | | Just so I can make a snapshot release.
* update make-release.sh script for option changesMatthias Clasen2022-06-221-1/+1
|
* Avoid overflow when calculating caret slopeMatthias Clasen2022-06-221-1/+2
| | | | This showed up as wrong slopes with font size > 60.
* Remove an erroneous assertionMatthias Clasen2022-06-221-2/+1
|
* ci: Fix running tests manuallyMatthias Clasen2022-06-221-2/+2
| | | | Our tests now require G_TEST_SRCDIR to be set.
* fontset: Ignore gravity and variationsMatthias Clasen2022-06-221-4/+8
| | | | | | | | 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.
* Fix gravities for user fontsMatthias Clasen2022-06-225-35/+101
| | | | This is enormous fiddling, and should be much simpler.
* Add a userfont to pango-viewMatthias Clasen2022-06-224-0/+192
| | | | | | To use it, call pango-view with --userfont --font "Userfont 20"
* docs: Add a migration guideMatthias Clasen2022-06-223-0/+184
|
* CosmeticsMatthias Clasen2022-06-221-1/+1
|
* Make PangoGlyphItem privateMatthias Clasen2022-06-2216-373/+307
|
* Document attribute binding helpersMatthias Clasen2022-06-2217-230/+259
|
* Clean up PangoRenderer apiMatthias Clasen2022-06-222-132/+165
|
* Drop more PangoItem apiMatthias Clasen2022-06-227-335/+249
| | | | | | There is no way to do anything useful outside of Pango with these functions, so keep them private.
* font: Redo feature apiMatthias Clasen2022-06-229-121/+51
| | | | Move this to PangoHbFont.
* Make testattributes work on WindowsMatthias Clasen2022-06-221-1/+1
| | | | | Using %p is not a good idea here, since its output is platform-dependent. Thankfully, its easily avoided.
* pangocairo-font.c: Fix Windows DirectWrite buildChun-wei Fan2022-06-224-20/+71
| | | | | | | | | | | | | | | | | | 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.
* build: Drop pangowin32.rc.in from buildMatthias Clasen2022-06-223-70/+0
| | | | | | | | | 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
* line-breaker: Filter attributes properlyMatthias Clasen2022-06-221-1/+1
| | | | | | We need to extract the itemize attributes first, or we'll miss attributes that are classified as affecting both itemization and shaping.
* Bring back shape attributesMatthias Clasen2022-06-2212-58/+315
| | | | | | It turns out that using user fonts for embedding is a bit too involved, so lets keep the shape attribute machinery around.
* CosmeticsMatthias Clasen2022-06-221-9/+6
|
* build: Fix HarfBuzz fallback for WindowsChun-wei Fan2022-06-222-2/+2
| | | | | | | | | | | | 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.
* directwrite: Make cairo support workMatthias Clasen2022-06-221-74/+102
|
* pango-list: Print some more infoMatthias Clasen2022-06-221-3/+15
|
* Capitalize generic namesMatthias Clasen2022-06-223-20/+22
| | | | | | It is what the font chooser expects. Also, make Sans an alternative to Sans-serif.
* CosmeticsMatthias Clasen2022-06-221-1/+1
|
* hbfont: Silently accept lack of sizeMatthias Clasen2022-06-221-2/+3
| | | | The font chooser seems to rely on this behavior.
* coretext: Make cairo support workMatthias Clasen2022-06-221-2/+37
|
* Use modern C++Matthias Clasen2022-06-221-0/+1
| | | | This is needed to build HarfBuzz as a subproject.
* Allow cascading fontmapsMatthias Clasen2022-06-224-19/+226
| | | | | | | | 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.
* Add a way to merge fontsetsMatthias Clasen2022-06-222-10/+21
| | | | This will be used in future commits.
* Use test font setup for the thread testMatthias Clasen2022-06-222-1/+7
|
* Make test-font use our test fontsMatthias Clasen2022-06-222-2/+6
|
* CosmeticsMatthias Clasen2022-06-221-1/+1
|
* renderer: Fix drawing of backgroundsMatthias Clasen2022-06-221-4/+4
|
* pango-view: Add a --font-file optionMatthias Clasen2022-06-221-1/+36
| | | | | | This option sets up a fontmap with a single (or a few) fonts. This is for testing with specific fonts.
* Add a test for numeric stretchMatthias Clasen2022-06-222-3/+3
|
* Complete line style changesMatthias Clasen2022-06-2227-155/+144
| | | | | | | Add dashed and wavy line style (without an implementation), and make overline styled as well. Update all affected callers.
* ci: Fix the documentation buildMatthias Clasen2022-06-221-5/+0
|
* build: Fix build without cairoMatthias Clasen2022-06-221-18/+13
|
* Generate a pangocairo2.pc file againMatthias Clasen2022-06-221-0/+10
| | | | | This one just requires pango2.pc, but it allows consumers to be explicit in their build configuration.
* Add PANGO_RENDERING_CAIROMatthias Clasen2022-06-223-1/+12
| | | | To check something before including pangocairo.h
* Allow variant information in face descriptionsMatthias Clasen2022-06-223-6/+7
| | | | This is needed to fix small-caps roundtrips on MacOS.
* Run all tests on MacOsMatthias Clasen2022-06-222-24/+0
|
* Improve test font setup codeMatthias Clasen2022-06-227-77/+23
| | | | | Make it so that install_fonts() just works, regardless whether it is called before or after g_test_init().
* Update itemize testsMatthias Clasen2022-06-221-1/+1
|
* coretext: Fix font creationMatthias Clasen2022-06-221-0/+3
|
* Fix some compiler warningsMatthias Clasen2022-06-221-3/+3
|