summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Small speedupmisc-optMatthias Clasen2023-01-301-1/+4
| | | | Optimize the ASCII case here.
* shape: Avoid some overheadMatthias Clasen2023-01-302-1/+37
| | | | | Most fonts are not color, no need to check that for every glyph.
* Avoid some small allocationsMatthias Clasen2023-01-175-26/+78
|
* Merge branch 'pango-segmentation-work' into 'main'Matthias Clasen2023-01-151-13/+66
|\ | | | | | | | | pango-segmentation: Some tweaks See merge request GNOME/pango!671
| * pango-segmentation: Some tweakspango-segmentation-workMatthias Clasen2023-01-151-13/+66
| | | | | | | | Allow showing word and sentence start/end too.
* | Merge branch 'dwrite-cleanups' into 'main'Matthias Clasen2023-01-153-55/+39
|\ \ | | | | | | | | | | | | PangoWin32: Cleanup DirectWrite code a bit See merge request GNOME/pango!667
| * | pangocairo-win32font.c: Drop an unused variableChun-wei Fan2022-12-231-1/+0
| | |
| * | pangowin32-dwrite-fontmap.cpp: Clean up code a bitChun-wei Fan2022-12-231-45/+27
| | | | | | | | | | | | | | | | | | We can just insert the IDWriteFont into our PangoWin32FontMap if we do need to create one. Just bail out if the IDWriteFont could not be created, which should be unlikely.
| * | PangoWin32: Avoid initializing DirectWrite repeatedlyChun-wei Fan2022-12-232-9/+12
| | | | | | | | | | | | | | | | | | Make sure that we use the GPrivate to grab the DirectWrite boilerplate items that we might have setup, and only attempt to initialize DirectWrite if the items have not been previously setup.
* | | Merge branch 'fix-word-start' into 'main'Matthias Clasen2023-01-151-1/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fix word start for Japanese Closes #721 See merge request GNOME/pango!669
| * | | Fix word start for JapanesePeng Wu2023-01-101-1/+4
| |/ / | | | | | | | | | Closes #721
* | | Merge branch 'wip/corey/fix-docs' into 'main'Matthias Clasen2023-01-145-9/+11
|\ \ \ | |_|/ |/| | | | | | | | docs: Fix dependency names See merge request GNOME/pango!670
| * | docs: Fix dependency namesCorey Berla2023-01-135-9/+11
|/ / | | | | | | | | | | | | | | Dependency names need to match the namespace name exactly (including capitalization) otherwise they won't be shown as dependencies. Related libraries which are not dependencies should use the related key.
* | Merge branch 'sshil-main-patch-67684' into 'main'Matthias Clasen2023-01-111-0/+36
|\ \ | |/ |/| | | | | Added indic Languages See merge request GNOME/pango!668
| * Added Indic LanguagesSudip Shil2023-01-091-0/+36
|/
* Merge branch 'improve-subproj-usage' into 'main'Nirbheek Chauhan2022-12-2211-70/+83
|\ | | | | | | | | Various fixes for using pango as a meson subproject See merge request GNOME/pango!666
| * meson: Stop using fallback: kwarg for deps that don't need itNirbheek Chauhan2022-12-198-39/+56
| | | | | | | | | | | | | | | | | | | | Subprojects that use meson.override_dependency() do not require the caller to provide the subproject name and dependency variable name inside the subproject. All the dependencies we use can be switched in this way; including gi-docgen which is now automatically executed by the find_program() invocation thanks to `program_names` in the wrap file.
| * meson: Always look for both cmake and pkgconfig namesNirbheek Chauhan2022-12-191-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The is_msvc_like change is wrong; it used a false correlation between "compiler being used" and "dependency method" by saying that on Windows, when building with MSVC, you will only use CMake to find freetype. You can use pkgconfig to find freetype on Windows with MSVC -- when it has been built with meson (msvc). You can also find freetype using CMake on other platforms like macOS or Linux. The solution is simple: just search for both names on all platforms, and just search for the pkgconfig name first. This requires Meson 0.60
| * meson: Update gitlab.gnome.org SSH server namesNirbheek Chauhan2022-12-195-26/+25
|/ | | | | Also switch the wrap file style to use spaces around `=` which is the canonical style used by wrapdb now.
* Merge branch 'fix-pcfile-generation-internal' into 'main'Nirbheek Chauhan2022-12-192-6/+8
|\ | | | | | | | | meson: Fix pangoft2.pc when using freetype and fontconfig subprojects See merge request GNOME/pango!665
| * meson: Fix pangoft2.pc when using freetype and fontconfig subprojectsNirbheek Chauhan2022-12-172-6/+8
|/ | | | | | | | | | | | This is the same change that was made for pangocairo earlier. Without this, the pc file contains the following requires line: ``` Requires: pango, ``` Which is incorrect, and also invalid.
* Merge branch 'fix-718' into 'main'Luca Bacci2022-12-161-5/+87
|\ | | | | | | | | | | | | PangoWin32: Bring back fallback fontmap support (was: pangowin32-fontmap.c: Check more carefully for monospaced fonts) Closes #719 See merge request GNOME/pango!664
| * PangoWin32FontMap: Re-add empty fontset fallbackLuca Bacci2022-12-161-5/+87
| | | | | | | | Fixes https://gitlab.gnome.org/GNOME/pango/-/issues/719
* | Merge branch 'update-ci-image' into 'main'Matthias Clasen2022-12-133-6/+6
|\ \ | | | | | | | | | | | | ci: Update the Fedora image to F37 See merge request GNOME/pango!662
| * | Update test resultsupdate-ci-imageMatthias Clasen2022-12-131-4/+4
| | | | | | | | | | | | Newer harfbuzz in F37 changes this.
| * | ci: Update the Fedora image to F37Matthias Clasen2022-12-132-2/+2
| | | | | | | | | | | | gi-docgen is unhappy on older Fedoras.
* | | Merge branch 'harfbuzz-dep' into 'main'Matthias Clasen2022-12-131-1/+1
|\ \ \ | |/ / | | | | | | | | | build: Use a stable harfbuzz See merge request GNOME/pango!661
| * | build: Use a stable harfbuzzharfbuzz-depMatthias Clasen2022-12-131-1/+1
| | | | | | | | | | | | | | | We don't need the latest harfbuzz. Stick to 4.0 for now.
* | | Merge branch 'ebassi/layout-annotation-fix' into 'main'Matthias Clasen2022-11-211-1/+1
|\ \ \ | |/ / |/| / | |/ | | Fix out argument annotation See merge request GNOME/pango!659
| * Fix out argument annotationEmmanuele Bassi2022-11-211-1/+1
|/ | | | | A gunichar is a scalar value, and it doesn't get allocated when used as an out argument.
* Post-release version bumpMatthias Clasen2022-11-182-2/+5
|
* 1.50.121.50.12Matthias Clasen2022-11-181-0/+6
|
* Merge branch 'fix-char-offset' into 'main'Matthias Clasen2022-11-182-5/+9
|\ | | | | | | | | | | | | Fix char offset calculations Closes #716 See merge request GNOME/pango!658
| * Fix char offset calculationsfix-char-offsetMatthias Clasen2022-11-182-5/+9
|/ | | | | | | | | | | | When dealing with multi-paragraph layouts, the char offsets of the items are expected to be relative to the beginning of the text, not relative to the beginning of the current paragraph. This error was introduced in a03bf5bc6b07ba6e. Fixes: #716
* Merge branch 'fix-nofonts' into 'main'Matthias Clasen2022-11-181-0/+5
|\ | | | | | | | | | | | | tests/meson.build: install nofonts/fonts.conf as it is required by tests Closes #713 See merge request GNOME/pango!654
| * tests/meson.build: install nofonts/fonts.conf as it is required by testsAlexander Kanavin2022-11-081-0/+5
| | | | | | | | Fixes: https://gitlab.gnome.org/GNOME/pango/-/issues/713
* | Merge branch 'array-annotations' into 'main'Matthias Clasen2022-11-182-5/+4
|\ \ | | | | | | | | | | | | Fix some g-i annotations related to arrays See merge request GNOME/pango!655
| * | Fix some g-i annotations related to arraysSebastian Dröge2022-11-172-5/+4
| |/
* | Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-11-185-17/+79
|\ \ | |/ |/| | | | | Improve PangoAttrList serialization See merge request GNOME/pango!656
| * Improve PangoAttrList serializationMatthias Clasen2022-11-184-15/+77
| | | | | | | | | | | | | | Document the format, and improve the parser a bit, so we can use this format in GtkBuilder. Update affected tests.
| * CosmeticsMatthias Clasen2022-11-081-2/+2
|/
* Merge branch 'fix-707' into 'main'Matthias Clasen2022-10-184-66/+5
|\ | | | | | | | | | | | | Windows: Fix builds using HarfBuzz as subproject Closes #707 See merge request GNOME/pango!649
| * Revert "meson.build: Check for GDI and DirectWrite support in HarfBuzz"Chun-wei Fan2022-10-171-18/+0
| | | | | | | | | | | | | | This caused issues when buliding HarfBuzz as a fallback subproject, as mentioned in issue #707, so don't use platform APIs in HarfBuzz on Windows as a result. This reverts commit 3ab3e076665d0722d6f12938f3bddf263322539b.
| * Revert "PangoWin32: Use HarfBuzz platform APIs if available"Chun-wei Fan2022-10-173-48/+5
| | | | | | | | | | | | | | | | | | | | | | It turned out that there were issues in regards to building HarfBuzz as a fallback dependency, so we retain using only the former method to create the hb_face_t using only raw data, which does not depend on platform API usage in HarfBuzz. Hence, reduce the clutter in the build files a bit, which was a necessary evil back in time. This reverts commit 6b0aa77d23ac969c12eab00b178957a63befe5bd.
* | Merge branch 'fix-gir-annotations' into 'main'Matthias Clasen2022-10-171-4/+4
|\ \ | | | | | | | | | | | | Fix GIR annotations See merge request GNOME/pango!651
| * | Fix GIR annotationsGuillaume Gomez2022-10-171-4/+4
| | |
* | | Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-10-174-35/+6
|\ \ \ | |/ / |/| / | |/ | | Fix the build See merge request GNOME/pango!652
| * meson: Drop some unused checksMatthias Clasen2022-10-161-27/+0
| | | | | | | | | | We are not using these HAVE_FOO defines anymore. So no need to produce them.
| * utils: Drop flockfile checkMatthias Clasen2022-10-161-6/+4
| | | | | | | | | | | | In practice, only Windows doesn't have these, so simplify our meson.build file by dropping the check for flockfile.
| * examples: Stop using HAVE_UNISTD_HMatthias Clasen2022-10-161-1/+1
| | | | | | | | | | | | | | | | | | We include that header in many other places without this check. The only check we use elsewhere is for G_OS_WIN32. This will let us clean up our meson.build file a little.