summaryrefslogtreecommitdiff
path: root/pango
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in PangoLayout: add missing backtickVictor Mireyev2021-04-081-1/+1
|
* pangowin32: Don't leak various member variables of PangoWin32Font objectSeungha Yang2021-04-051-4/+1
| | | | Fix for memory leaks around PangoWin32Font
* Expand the PANGO_UNDERLINE_ERROR docsMatthias Clasen2021-04-031-1/+4
| | | | | Clarify that the exact style of rendering is up to the PangoRenderer in use.
* docs: Add some detailsMatthias Clasen2021-04-031-0/+12
| | | | Mainly for my own education.
* Quiet a compiler warningcompiler-warningMatthias Clasen2021-03-311-1/+1
| | | | | | GLib now causes compiler warnings when passing a volatile variable to g_atomic_ apis. Drop the volatile to pacify gcc.
* Fix hangs that people have observedfix-deadlocks2Matthias Clasen2021-03-311-2/+1
| | | | | | | We were erroneously setting fc_initialized back to 1 in one place. But now 1 means 'wait for the FcInit thread that is already underway. Setting it to 2 restores the intention.
* Revert "Merge branch 'fix-deadlocks' into 'master'"revert-1fedc11aMatthias Clasen2021-03-317-316/+5
| | | This reverts merge request !309
* Merge branch 'fix-deadlocks' into 'master'Matthias Clasen2021-03-317-5/+316
|\ | | | | | | | | Fix deadlocks See merge request GNOME/pango!310
| * Fix hangs that people have observedfix-deadlocksMatthias Clasen2021-03-311-2/+1
| | | | | | | | | | | | | | We were erroneously setting fc_initialized back to 1 in one place. But now 1 means 'wait for the FcInit thread that is already underway. Setting it to 2 restores the intention.
| * Add dashed and dotted lineslinesMatthias Clasen2021-03-305-3/+291
| | | | | | | | | | | | | | Extend the PangoUnderline and PangoOverline enumerations to cover dashed and dotted variants of the various lines, add api to PangoRenderer to render such lines, and implement it in the cairo renderer.
| * Bump version to 1.49.0Matthias Clasen2021-03-301-0/+24
| | | | | | | | We are going to add new api.
* | Fix the build with msvcfix-msvc-buildMatthias Clasen2021-03-291-9/+12
| | | | | | | | | | | | | | Turns out the case ranges really just gcc extensions, and do not work with msvc. So, do things the hard way. Still keeping the early check for ASCII.
* | Small speedup to width itermisc-speedupsMatthias Clasen2021-03-291-6/+9
| |
* | Slightly speed up line breakingMatthias Clasen2021-03-291-1/+4
| | | | | | | | Make a bit more use of our types.
* | Speed up ignorable checkMatthias Clasen2021-03-291-0/+3
| | | | | | | | No need to walk to the end if we are done.
* | Slightly tweak pango_hb_font_get_nominal_glyphMatthias Clasen2021-03-291-15/+12
| |
* | Speed up Emoji classificationMatthias Clasen2021-03-291-59/+64
|/ | | | | | Open-code the bsearch here. These functions show up in profiles, since itemizations uses an Emoji iter.
* bidi: Add some deprecation noticesmisc-speedups2Matthias Clasen2021-03-291-6/+6
| | | | Just reshuffling existing docs.
* CosmeticsMatthias Clasen2021-03-291-11/+6
| | | | Some formatting fixes for default_break.
* Only initialize fontconfig oncefcinit-onceMatthias Clasen2021-03-271-13/+25
| | | | | | | When multiple fontmaps are created in quick succession, we would send off a thread to call FcInit for each one of them, which is not really necessary. Just do it once.
* Improve letterspacing with marksfix-letterspacingMatthias Clasen2021-03-211-1/+10
| | | | | | | | harfbuzz puts marks into their own clusters, so we need to work a little harder to keep non-spacing marks placed over their base character. Fixes: #541
* Use g_memdup2()memdup2Matthias Clasen2021-03-185-12/+13
| | | | | The g_memdup() function is replaced by a safer version in newer versions of GLib.
* Add compatibility shim for g_memdup2()Matthias Clasen2021-03-181-0/+8
| | | | | We don't necessarily want to depend on a newer version of GLib, given that we're not really using g_memdup() in the wrong way.
* Merge branch 'vertical-upright-glyphs' into 'master'Matthias Clasen2021-03-182-8/+4
|\ | | | | | | | | | | | | Fix placement of marks in upright vertical text for fonts without vertical metrics. Closes #454 See merge request GNOME/pango!297
| * Fix placement of marks in upright vertical text.Tavmjong Bah2021-03-172-8/+4
| |
* | context: Cache metrics for the current fontcache-context-metricsMatthias Clasen2021-03-181-0/+16
|/ | | | | | GTK calls pango_context_get_metrics() frequently to determine character widths and alignments, and does not expect this to involve expensive layout operations.
* Fix a typo in pango/pangowin32-fontmap.c which causedNaveen M K2021-03-151-1/+1
| | | | | | | the `Cursive` default fallback to not load/work on Windows It should be `comic` and not `commic`. Signed-off-by: Naveen M K <naveen@syrusdark.website>
* Merge branch 'hb-dont-fallback-too-early' into 'master'Matthias Clasen2021-03-111-2/+13
|\ | | | | | | | | build: Don't build HarfBuzz prematurely See merge request GNOME/pango!291
| * build: Don't build HarfBuzz prematurelyhb-dont-fallback-too-earlyChun-wei Fan2021-02-251-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Fix various broken linksMatthias Clasen2021-03-1112-30/+30
| | | | | | | | All these were pointed out by gi-docgen warnings.
* | docs: Remove no-longer used sectionsMatthias Clasen2021-03-114-36/+0
| | | | | | | | | | | | These don't have enough meat to warrant turning them into .md files, so just drop them. They are no longer used.
* | docs: Convert xft section to pango_xft.mdMatthias Clasen2021-03-111-30/+0
| |
* | pangoft2: Tweak docsMatthias Clasen2021-03-111-21/+27
| |
* | pangofc: Tweak docsMatthias Clasen2021-03-116-125/+139
| | | | | | | | Convert link syntax and add summaries.
* | pangocairo: Tweak docsMatthias Clasen2021-03-114-29/+64
| | | | | | | | Convert link syntax, and summaries.
* | docs: Tweak some remaining docsMatthias Clasen2021-03-111-8/+9
| | | | | | | | Add a few more summaries.
* | docs: Tweak utils docsMatthias Clasen2021-03-111-68/+60
| | | | | | | | Add summaries. Most of this really should be private.
* | docs: Tweak reorder docsMatthias Clasen2021-03-111-4/+6
| |
* | docs: Tweak tabs docsMatthias Clasen2021-03-112-23/+22
| | | | | | | | Add summaries, convert markup, etc.
* | docs: Tweak matrix docsMatthias Clasen2021-03-112-45/+48
| | | | | | | | Add summaries, convert markup, etc.
* | docs: Tweak markup docsMatthias Clasen2021-03-111-18/+25
| | | | | | | | Add summaries, convert markup, etc.
* | docs: Tweak language docsMatthias Clasen2021-03-111-16/+21
| | | | | | | | Add summaries, convert markup, etc.
* | docs: Tweak glyph item docsMatthias Clasen2021-03-114-92/+104
| | | | | | | | Add summaries, convert markup, etc.
* | docs: Tweak gravity docsMatthias Clasen2021-03-112-26/+32
| | | | | | | | Add summaries, convert markup, etc.
* | docs: Tweak script docsMatthias Clasen2021-03-112-18/+11
| | | | | | | | Add summaries, convert markup, etc.
* | docs: Tweak renderer docsMatthias Clasen2021-03-112-23/+26
| | | | | | | | Add summaries, convert markup, etc.
* | docs: Tweak layout docsMatthias Clasen2021-03-112-110/+141
| | | | | | | | Add summaries, convert markup, etc.
* | docs: Tweak fontset docsMatthias Clasen2021-03-112-26/+29
| | | | | | | | Add summaries, convert markup, etc.
* | docs: Tweak shaping docsMatthias Clasen2021-03-111-42/+36
| | | | | | | | Add summaries, convert markup, etc.
* | docs: Tweak fontmap docsMatthias Clasen2021-03-111-3/+5
| | | | | | | | Add summaries, convert markup, etc.