summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* Export pango_parse_color_with_alphaMatthias Clasen2020-07-311-0/+1
| | | | | This will be useful to make GdkRGBA support hex formats with alpha.
* Add API to compare PangoAttrListsJonas Dreßler2020-06-071-0/+1
| | | | | | | | | | | | | | Add a new `pango_attr_list_equal` API that allows comparing the attributes included in two PangoAttrLists and returns TRUE if the lists contain the same attributes and apply to the same ranges. The function avoids any copying of attributes or lists and applies a minor optimization of skipping the equality check for attributes that were already found in both lists. Other possible optimizations that could be added if necessary would be storing the length of the attributes list in the PangoAttrList class to avoid the `g_slist_length` calls or reusing the `other_iter` pointer in case all attributes from 0 to n were already found.
* build: Use correct check for pango-xft API referenceEmmanuele Bassi2020-04-141-1/+1
| | | | PangoXft depends on both Xft and fontconfig.
* build: Do not use source/build_root functionsEmmanuele Bassi2020-04-141-2/+1
| | | | | Meson has the include_directories() object to specify inclusion paths that refer to both the source and build directories.
* Add an overline attributeMatthias Clasen2019-10-311-0/+3
| | | | | | | | | | Add a new PangoOverline enum, and overline and overline_color attributes, which parallel the attributes we have for underlines and strikethrough. For now, the enum just has 'none' and 'single' values.
* Merge branch 'family-face-api' into 'master'Matthias Clasen2019-11-011-0/+4
|\ | | | | | | | | Family face api See merge request GNOME/pango!135
| * Add pango_font_get_faceMatthias Clasen2019-10-311-0/+1
| | | | | | | | | | Since we've run out of slots in PangoFontClass, this is implemented with a vfunc in PangoFontMapClass.
| * Add pango_font_face_get_familyMatthias Clasen2019-10-311-0/+1
| |
| * Add pango_font_family_get_faceMatthias Clasen2019-10-311-0/+1
| | | | | | | | This lets us get a face by name.
| * Add pango_font_map_get_familyMatthias Clasen2019-10-311-0/+1
| | | | | | | | This lets us get a PangoFontFamily by name.
* | Add pango_layout_get_directionMatthias Clasen2019-10-311-0/+1
|/ | | | | | | This lets callers access to resolved text direction of a layout. GTK needs this. Closes: https://gitlab.gnome.org/GNOME/pango/issues/14
* Add a 1.46 symbol indexMatthias Clasen2019-10-311-0/+4
|
* Doc fixupsMatthias Clasen2019-08-222-59/+42
| | | | Move TYPE macros to standard sections.
* Fix index inclusionMatthias Clasen2019-08-161-26/+22
| | | | | | At some point, the role attribute stopped being needed, and started breaking the output. Removing it makes the indexes appear again.
* docs: Add more symbol indicesMatthias Clasen2019-08-161-0/+8
|
* Improve docs buildMatthias Clasen2019-08-132-22/+67
| | | | | | | We want to include api docs for platform-specific apis. Avoid getting build failures for introspection by explictly generating a types file with only the linux types.
* docs: Add extent imagesMatthias Clasen2019-08-043-0/+2
| | | | Add an illustration of logical and ink rects.
* Add an insert-hyphens attributeMatthias Clasen2019-08-041-0/+1
| | | | | | | | | Add a text attribute that allows to suppress insertion of hyphens at intra-word line breaks. This is useful for non-paragraph-like contexts, where line breaks are needed, but hyphens are not expected.
* context: Add an option for rounding glyph positionsMatthias Clasen2019-08-031-0/+2
| | | | | | | | | | | This is a global option, similar in spirit to font options, so it makes sense to keep it in PangoContext. Default to rounding glyph positions, which preserves the pre-1.44 behavior and should help cure all the 'broken' font rendering with older cairo versions.
* Add a pango_shape variant that takes flagsMatthias Clasen2019-08-031-0/+2
| | | | | The only flag currently defined affects whether glyph positions are rounded or not.
* Add some missing symbols to docsMatthias Clasen2019-07-281-3/+3
|
* Add an attribute for showing invisible charsMatthias Clasen2019-07-251-0/+2
| | | | | Allow to opt-in to showing spaces, line breaks, and default-ignorable chars, separately.
* Merge branch 'better-hyphens' into 'master'Matthias Clasen2019-07-221-0/+2
|\ | | | | | | | | Better hyphens See merge request GNOME/pango!89
| * Add an allow-breaks attributeMatthias Clasen2019-07-201-0/+1
| | | | | | | | | | Add a new attribute type, and parse allow_breaks="false" in markup. This is useful to prevent hyphenation of words.
| * Don't insert extra runs for hyphensMatthias Clasen2019-07-201-0/+1
| | | | | | | | | | | | | | | | | | Instead, reshape the pre-break run with the soft hyphen replaced by an actual hyphen. This is unfortunately inefficient, we copy the entire text for this. The alternative (scatter-gather populating the harfbuzz buffer) is too hard to manage.
* | Add a function to update attribute listsMatthias Clasen2019-07-191-0/+1
| | | | | | | | | | | | | | | | | | 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.
* | Add pango_attr_list_get_attributesMatthias Clasen2019-07-191-0/+1
|/ | | | | This was a gap in the attribute api - no way to get attributes back out of a list.
* Remove unused remnants of shape engineKhaled Hosny2019-07-191-1/+0
|
* Update docs imageMatthias Clasen2019-07-182-0/+251
|
* Add api to get a hb_font_tMatthias Clasen2019-07-181-0/+1
| | | | | Add pango_font_get_hb_font, which will make it easier access harfbuzz features.
* Add pango_tailor_breakMatthias Clasen2019-07-161-0/+2
| | | | | | This function lets you apply language-specific tailoring on top of breaks produced by pango_default_break.
* Some more doc tweaksMatthias Clasen2019-07-142-14/+27
|
* Add some more docsMatthias Clasen2019-07-132-0/+1
|
* Documentation tweaksMatthias Clasen2019-07-132-9/+18
|
* Rename pango_font_coversMatthias Clasen2019-07-121-1/+1
| | | | | We already had a has_char api in pangofc, so use that name.
* Remove private things from the docsMatthias Clasen2019-07-121-11/+0
|
* docs: Update private header listMatthias Clasen2019-07-121-3/+8
|
* Add missing things to the docsMatthias Clasen2019-07-121-2/+25
|
* Add an api to get features of a fontMatthias Clasen2019-07-111-0/+1
|
* Add pango_font_coversMatthias Clasen2019-07-111-0/+1
| | | | | | | | | | | 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.
* Forgotten fileMatthias Clasen2019-07-051-0/+2
|
* Update docsMatthias Clasen2019-07-053-1/+498
| | | | Make a new image for layout parameters.
* Mark deprecated apis more clearlyMatthias Clasen2019-07-041-4/+8
| | | | Move them to their own section in the docs.
* Drop autotoolsMatthias Clasen2018-08-281-143/+0
| | | | We will just use meson from now on.
* meson: skip pangoxft headers for the Windows gtk-doc buildChristoph Reiter2018-04-091-0/+5
| | | | | | | The API isn't available on Windows and gtk-doc fails with a linker error otherwise. https://bugzilla.gnome.org/show_bug.cgi?id=795045
* meson: Check for HarfBuzz and FontConfig for PangoFT2Chun-wei Fan2018-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | It is possible that we can have the following situations, at least on Windows: -FreeType present, FontConfig missing -Cairo-FT present, with no FontConfig support. As gen-script-for-lang requires FontConfig, and PangoFT2 depends on HarfBuzz, FontConfig and Freetype, we need to check for them before we build PangoFT2, and so that we could include PangoFT2 support in PangoCairo. The tests and pango-view have an optional dependency on PangoFT2, so we need to also check whether we built PangoFT2 before we try to build things related to PangoFT2. For the tools, since gen-script-for-lang.c depends on FontConfig, check for it as well before we build it. https://bugzilla.gnome.org/show_bug.cgi?id=783274
* Drop mention of long gone filesKhaled Hosny2018-03-142-3/+0
|
* Modules are long goneKhaled Hosny2018-03-142-2/+0
|
* Drop now unused mini-fribidiKhaled Hosny2018-02-042-2/+0
|
* Add initial support for OpenType font variationsMatthias Clasen2018-01-031-0/+3
| | | | | | | | This commit lets PangoFontDescription carry font variation information as a string. Only pangocairo has been updated to make use of this information. We pass it to harfbuzz for shaping, and we pass it to cairo when creating scaled fonts.