summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* itemize: Use pango_font_get_variantstrdup-avoidanceMatthias Clasen2022-08-271-9/+2
| | | | | This avoids the unnecessary copy of the fonts font description, just to extract the variant.
* font: Add private api to get the variantMatthias Clasen2022-08-272-0/+31
| | | | | | Add a private pango_font_get_variant, and implement it for PangoFcFont. This will let us avoid many pointless font description copies.
* fc: Avoid extra copies of family namesMatthias Clasen2022-08-273-21/+38
| | | | | | | | When we create a PangoFcFont from an FcPattern, we know that the pattern will live as long as the font and the font description we create at the same time. So there is no need to copy the strings we get out of the pattern.
* 1.50.91.50.9Matthias Clasen2022-08-092-1/+6
|
* Merge branch 'thread_safety_problem' into 'main'Matthias Clasen2022-07-311-7/+8
|\ | | | | | | | | | | | | fix thread safety problem Closes #689 See merge request GNOME/pango!634
| * fix thread safety problemmisos12022-07-311-7/+8
|/
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-07-284-6/+8
|\ | | | | | | | | docs: Remove an oddity See merge request GNOME/pango!633
| * ci: Fix the test buildMatthias Clasen2022-07-283-5/+7
| |
| * docs: Remove an oddityMatthias Clasen2022-07-141-1/+1
| | | | | | | | | | It seems odd to document PANGO_WEIGHT_MEDIUM as the 'normal' weight, when we also have PANGO_WEIGHT_NORMAL.
* | Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-07-031-2/+26
|\ \ | |/ | | | | | | layout: Apply show flags to line separators See merge request GNOME/pango!632
| * layout: Apply show flags to line separatorsMatthias Clasen2022-07-031-2/+26
|/ | | | | | | We only want line separators at the line end to be visible when the show flags say so. This was not working before, because the shaping always marks LS as unknown glyph.
* 1.50.81.50.8Matthias Clasen2022-07-022-1/+6
|
* Disable testrandomMatthias Clasen2022-07-021-0/+2
| | | | | This test is known to fail, and mesons xfail support is unfortunately broken.
* Merge branch 'typo-PangoEngineShape' into 'main'Matthias Clasen2022-06-281-1/+1
|\ | | | | | | | | Fix typo in declaration of PangoEngineShape See merge request GNOME/pango!629
| * Fix typo in declaration of PangoEngineShapeAki Sakurai2022-06-251-1/+1
| |
* | Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-06-271-1/+1
|\ \ | | | | | | | | | | | | Update gir dependencies See merge request GNOME/pango!631
| * | Update gir dependenciesMatthias Clasen2022-06-271-1/+1
|/ / | | | | | | | | This is necessary to make GListModel show up as implemented interface in the docs.
* | Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-06-272-27/+1
|\ \ | |/ |/| | | | | Revert "Add a check for mixed linkage" See merge request GNOME/pango!630
| * Revert "Add a check for mixed linkage"Matthias Clasen2022-06-272-27/+1
|/ | | | | | | This reverts commit e5b62c8c27599699fa583a18e5346138799d9f50. No longer needed. We've renamed everything to avoid conflicts, instead.
* Merge branch 'fix-lig-carets-sinhala' into 'main'Matthias Clasen2022-06-242-1/+40
|\ | | | | | | | | | | | | Fix handling of ligature carets in some cases Closes #684 See merge request GNOME/pango!628
| * Fix handling of ligature carets in some casesfix-lig-carets-sinhalaMatthias Clasen2022-06-242-1/+40
|/ | | | | | | | | | With a text of "ර් ", we were accidentally producing a cursor position outside of the [start_xpos, end_xpos] range, which clearly makes no sense. Test included. Fixes: #684
* Merge branch 'prevent-mixed-linkage' into 'main'Matthias Clasen2022-06-232-1/+27
|\ | | | | | | | | Add a check for mixed linkage See merge request GNOME/pango!627
| * Add a check for mixed linkageprevent-mixed-linkageMatthias Clasen2022-06-232-1/+27
|/ | | | | | | | Having both pango 1.x and pango 2 linked into the same process will cause trouble, because the type and function names conflict. Error out if we detect this situation.
* Merge branch 'GitS7-main-patch-22994' into 'main'Matthias Clasen2022-06-221-1/+2
|\ | | | | | | | | Update pango/pangowin32-fontmap.c, Do not enum Type-1-fonts See merge request GNOME/pango!625
| * Update pango/pangowin32-fontmap.cGitS72022-06-201-6/+1
| |
| * Update pango/pangowin32-fontmap.cGitS72022-06-171-0/+6
| |
* | Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-06-221-1/+1
|\ \ | |/ |/| | | | | Avoid overflow when calculating caret slope See merge request GNOME/pango!626
| * Avoid overflow when calculating caret slopeMatthias Clasen2022-06-211-1/+1
|/ | | | This showed up as wrong slopes with font size > 60.
* Merge branch 'example-cflags' into 'main'Matthias Clasen2022-06-102-3/+5
|\ | | | | | | | | Example cflags See merge request GNOME/pango!621
| * cairotwisted: Fix another compiler warningexample-cflagsMatthias Clasen2022-06-101-3/+3
| |
| * cairotwisted: Fix a compiler warningMatthias Clasen2022-06-101-0/+1
| |
| * examples: Use common cflagsMatthias Clasen2022-06-101-0/+1
|/
* Merge branch 'fix-ci-again2' into 'main'Matthias Clasen2022-06-104-5/+121
|\ | | | | | | | | Add listmodel properties to PangoFontFamily See merge request GNOME/pango!620
| * Try again to fix cifix-ci-again2Matthias Clasen2022-06-101-4/+4
| | | | | | | | The rounding, it hurts...
| * fc: Notify :n-items when neededlistmodel-propertiesMatthias Clasen2022-06-101-0/+2
| | | | | | | | | | Notify :n-items when reloading the configuration, since that may change the number of families.
| * Add listmodel properties to PangoFontMapMatthias Clasen2022-06-101-0/+59
| | | | | | | | | | Add :item-type and :n-items properties, which make the list model implementation more useful.
| * Add listmodel properties to PangoFontFamilyMatthias Clasen2022-06-101-1/+56
|/ | | | | Add :item-type and :n-items properties, which make the list model implementation more useful.
* Merge branch 'update-ci' into 'main'Matthias Clasen2022-06-104-10/+10
|\ | | | | | | | | ci: Update the Fedora image See merge request GNOME/pango!618
| * ci: Use meson 0.60 on MacOSMatthias Clasen2022-06-101-1/+1
| | | | | | | | GLib requires this version of meson now.
| * ci: Update the Fedora imageMatthias Clasen2022-06-102-2/+2
| | | | | | | | Use Fedora 36. 34 is EOL now.
| * Update tests to pass on F36fix-ci-againMatthias Clasen2022-06-102-7/+7
|/ | | | Rounding differences are our downfall :(
* 1.50.71.50.7Matthias Clasen2022-04-144-17/+25
|
* Merge branch 'survive-without-fonts' into 'main'Matthias Clasen2022-04-131-1/+6
|\ | | | | | | | | | | | | layout: Try harder to survive without fonts Closes #680 See merge request GNOME/pango!610
| * Apply 1 suggestion(s) to 1 file(s)survive-without-fontsMiloš Komarčević2022-04-111-1/+1
| |
| * layout: Try harder to survive without fontsMatthias Clasen2022-04-081-1/+6
| | | | | | | | | | | | | | | | No great typography can be expected without fonts, but we should try not to crash, since this situation can apparently happen on Windows. Fixes: #680
* | Merge branch 'null-fonts' into 'main'Matthias Clasen2022-04-131-4/+10
|\ \ | | | | | | | | | | | | itemize: Be more defensive See merge request GNOME/pango!615
| * | itemize: Be more defensivenull-fontsMatthias Clasen2022-04-121-4/+10
|/ / | | | | | | | | Let them have their NULL fonts. Produce hexboxes without criticals.
* | Merge branch 'win32-sans-serif' into 'main'Matthias Clasen2022-04-111-1/+2
|\ \ | | | | | | | | | | | | pangowin32: register a "Sans-Serif" font See merge request GNOME/pango!613
| * | pangowin32: register a "Sans-Serif" fontChristoph Reiter2022-04-111-1/+2
| |/ | | | | | | | | | | | | | | | | | | | | This creates a fake font family which will fall back to the first available font in the alias list and as a result pango_win32_font_map_load_font() will no longer fail for "sans-serif". This was already done for other aliases, but for some reason not for "sans-serif". See #680
* | Merge branch 'sync-load-font-fontset' into 'main'Matthias Clasen2022-04-111-1/+44
|\ \ | | | | | | | | | | | | pangowin32: try harder to load a font See merge request GNOME/pango!614