summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* pango-viewer: Use layout text transformtext-transformMatthias Clasen2019-07-141-32/+5
|
* layout: Add a text transformMatthias Clasen2019-07-143-21/+78
|
* pango-view: Support text transformsMatthias Clasen2019-07-131-3/+52
|
* Add a utility for text transformsMatthias Clasen2019-07-132-0/+147
| | | | | | This is related to Pango's text segmentation functionality, and thus makes sense to provide as part of Pango.
* Use the language we are givenMatthias Clasen2019-07-131-0/+1
| | | | | | pango_get_log_attrs was not using its language argument at all. Pass it into pango_default_break as part of the PangoAnalysis struct.
* Add a function to update attribute listsMatthias Clasen2019-07-133-0/+48
| | | | | | | | | Add a function that can update positions of attributes as the underlying text is changing. This is meant to be used to update an attribute list as text transformations are applied, like capitalization.
* Clean up docs a bitMatthias Clasen2019-07-133-53/+15
| | | | Avoid duplicate comments in struct defintions.
* Add some more docsMatthias Clasen2019-07-134-1/+5
|
* Documentation tweaksMatthias Clasen2019-07-138-16/+190
|
* Deprecate pango_fc_font_has_charMatthias Clasen2019-07-122-3/+2
| | | | We have pango_font_has_char now.
* Rename pango_font_coversMatthias Clasen2019-07-125-10/+8
| | | | | We already had a has_char api in pangofc, so use that name.
* Revert "utils: Link against libpangocairo"Matthias Clasen2019-07-121-1/+1
| | | | This reverts commit 37fd3ce13b643d1743ae8b69c453a2cfcb0e3eb0.
* Revert "Reduce overlinking"Matthias Clasen2019-07-122-8/+8
| | | | This reverts commit f972ba0562823a8d55ad02ff9609481a884c79f8.
* Revert "Move pangofc to libpango"Matthias Clasen2019-07-121-22/+8
| | | | This reverts commit 8b85815f1b122842d915e7fc29cc68d228a64dbb.
* Add some tests for coverageMatthias Clasen2019-07-122-0/+84
|
* coverage: Fix the copy implementationMatthias Clasen2019-07-121-1/+10
| | | | This should do a deep copy.
* coverage: Fix the implementationMatthias Clasen2019-07-121-2/+8
| | | | We never created the set. Oops.
* NEWS: Some updatesMatthias Clasen2019-07-121-0/+13
|
* Remove private things from the docsMatthias Clasen2019-07-121-11/+0
|
* docs: Update private header listMatthias Clasen2019-07-121-3/+8
|
* Document pango_item_apply_attrsMatthias Clasen2019-07-121-0/+18
|
* Add missing things to the docsMatthias Clasen2019-07-121-2/+25
|
* docs: Fix parameter name mismatchesMatthias Clasen2019-07-122-4/+4
| | | | gtk-doc doesn't like these.
* ot: Avoid deprecated harfbuzz apiMatthias Clasen2019-07-121-4/+6
| | | | Don't use deprecated api to implement deprecated api!
* Better docs for pango_font_get_featuresMatthias Clasen2019-07-121-3/+5
| | | | | Clarify that the default features of the rendering system are not included.
* Merge branch 'no-kerning' into 'master'Matthias Clasen2019-07-125-89/+11
|\ | | | | | | | | Drop kerning function See merge request GNOME/pango!83
| * Add freetype includes where they belongMatthias Clasen2019-07-122-0/+6
| | | | | | | | | | Include freetype.h in headers where freetype types are used.
| * Drop an unused functionMatthias Clasen2019-07-122-32/+0
| | | | | | | | | | We don't use _pango_cairo_fc_font_map_get_library anymore.
| * fc: Make pango_fc_font_kern_glyphs emptyMatthias Clasen2019-07-121-57/+5
|/ | | | | | This function has long been deprecated; and it is is using freetype. So drop the implementation.
* Merge branch 'font-features-getter' into 'master'Matthias Clasen2019-07-126-58/+111
|\ | | | | | | | | Font features getter See merge request GNOME/pango!82
| * Use pango_font_get_featuresMatthias Clasen2019-07-111-56/+45
| |
| * fc: Implement get_features for fc fontsMatthias Clasen2019-07-111-1/+30
| | | | | | | | | | We take features out of the FcPattern and translate them into harfbuzz features.
| * Add an api to get features of a fontMatthias Clasen2019-07-114-1/+36
|/
* Merge branch 'coverage-redo' into 'master'Matthias Clasen2019-07-1210-392/+258
|\ | | | | | | | | Redo coverage See merge request GNOME/pango!81
| * Turn PangoCoverage into an objectMatthias Clasen2019-07-113-86/+215
| | | | | | | | | | | | Make PangoCoverage a GObject, and subclass it in pangofcfontmap.c. This lets us use the FcCharSet without copying the data.
| * Reimplement PangoCoverage on top of hb_set_tMatthias Clasen2019-07-113-320/+35
| | | | | | | | | | | | This drops the language dependency and coverage levels, both of which are not used in pango.
| * Use pango_font_coversMatthias Clasen2019-07-112-6/+4
| | | | | | | | This replaces all uses of _pango_engine_shape_covers.
| * Add pango_font_coversMatthias Clasen2019-07-114-1/+25
|/ | | | | | | | | | | Add a pango_font_covers function, which is like pango_shape_engine_covers, without the engine. This api is simpler than PangoCoverage in that it does not take a language as input, and only returns a boolean. This matches the harfbuzz api.
* Merge branch 'non-breaking-attrs' into 'master'Matthias Clasen2019-07-116-40/+150
|\ | | | | | | | | | | | | itemize: Don't break runs for font_features Closes #242 See merge request GNOME/pango!79
| * Set ranges on featuresMatthias Clasen2019-07-111-21/+25
| | | | | | | | | | | | Before passing the features to hb_shape(), set their ranges, since they are no longer always for the full length of the item.
| * Add a test for itemization with attributesMatthias Clasen2019-07-112-0/+11
| | | | | | | | This tests that font_fatures don't break runs anymore.
| * layout: Don't break runs for font_featuresMatthias Clasen2019-07-111-19/+65
| | | | | | | | | | | | | | | | | | | | Don't pass font_features attributes into the itemize run, since we don't need to break runs for this. Split them off, and reapply them after itemization. We rapply them before line breaking, since we want them to affect the shaping. Closes: https://gitlab.gnome.org/GNOME/pango/issues/242
| * Add pango_item_apply_attrsMatthias Clasen2019-07-112-0/+49
|/ | | | | This adds attrs that are overlapping the range of the item to the extra_attrs in the analysis.
* Merge branch 'no-shape-alpha' into 'master'Matthias Clasen2019-07-111-0/+2
|\ | | | | | | | | Leave some more attributes out of shaping See merge request GNOME/pango!80
| * Leave some more attributes out of shapingMatthias Clasen2019-07-111-0/+2
|/ | | | | | We already count foreground and background color as no-shape attributes, so it makes sense to treat alpha the same.
* test-itemize: Print out attributes tooMatthias Clasen2019-07-112-7/+125
| | | | Update existing tests.
* Merge branch 'attribute-boxes' into 'master'Matthias Clasen2019-07-112-0/+7
|\ | | | | | | | | | | | | Make PangoAttribute a boxed type Closes #259 See merge request GNOME/pango!78
| * Make PangoAttribute a boxed typeMatthias Clasen2019-07-112-0/+7
|/ | | | | | Based on a patch by Matijs van Zuijlen <matijs@matijs.net>. Closes https://gitlab.gnome.org/GNOME/pango/issues/259
* bidi: Be safer against bad inputMatthias Clasen2019-07-101-2/+5
| | | | | | | Don't run off the end of an array that we allocated to certain length. Closes: https://gitlab.gnome.org/GNOME/pango/issues/342
* Merge branch 'line-separator-font' into 'master'Matthias Clasen2019-07-101-0/+4
|\ | | | | | | | | itemize: Don't change font for line separator See merge request GNOME/pango!71