summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* docs: Add an example for split cursorsMatthias Clasen2021-08-095-0/+5
| | | | | | | Show how weak and strong cursors look in practice. Fixes: #77
* docs: Add one more dark mode imageMatthias Clasen2021-08-084-2/+4
|
* Add line-height attributesMatthias Clasen2021-08-081-0/+6
| | | | | | | | | | | | Add attributes for line-height, in a relative and absolute variant. This will be used to grow the logical extents of runs in a way that is compatible with CSS semantics. In markup, we support a new line_height attribute that will be interpreted as absolute if it is an integer > 1024, and as a relative factor otherwise.
* docs: Cosmetic fixeslayout-docsMatthias Clasen2021-08-082-12/+13
|
* docs: Add some more imagesMatthias Clasen2021-08-089-0/+22
| | | | Add a visual example of bidi reordering.
* docs: Add a dark mode variant of some imagesMatthias Clasen2021-08-089-6/+16
|
* docs: Improve image placementMatthias Clasen2021-08-081-5/+4
| | | | Move the vertical text example up, in the bidi docs.
* docs: Fix up deps for imagesMatthias Clasen2021-08-081-0/+13
| | | | We have two lists to keep in sync :(
* docs: More detailsMatthias Clasen2021-08-087-0/+8
| | | | Add some visualizations of gravity.
* docs: Add more detailsMatthias Clasen2021-08-087-1/+7
| | | | | Add some visualization of alignment and justification to the PangoLayout docs.
* markup: Allow specifying size as percentagemarkup-sizesMatthias Clasen2021-08-081-2/+4
| | | | | | | Accept values like 200%, in addition to other ways of specifying sizes in markup. Fixes: #23
* markup: Allow pt for rise tooMatthias Clasen2021-08-081-2/+3
|
* markup: Allow specifying size in ptMatthias Clasen2021-08-081-5/+7
| | | | | | | | Accept values like 12.5pt, in addition to the other ways of specifying font size in markup. Fixes: #67
* docs: Update branch references to mainMatthias Clasen2021-07-176-6/+6
| | | | | | | Change the source locations in the gi-docgen files to point to main instead of master. This is part of #579
* docs: Link syntax fixesdocs-link-fixesMatthias Clasen2021-05-252-3/+3
| | | | | Now that gi-docgen warns about link syntax errors, we can find and fix them.
* docs: Add missing attributes in markup docsmarkup-docsMatthias Clasen2021-03-311-0/+20
| | | | | | Some of the more recent additions did never make it into the docs, such as overline, insert_hyphens and allow_breaks.
* Add some markup examplesmarkup-examplesMatthias Clasen2021-03-244-1/+14
| | | | A little color doesn't hurt.
* build: Install documentationinstall-docsEmmanuele Bassi2021-03-121-0/+14
| | | | We are building it, but never installing it on the system.
* docs: Add variants of the Pango logoMatthias Clasen2021-03-114-0/+0
| | | | | | | Add white-on-transparent and black-on-transparent variants of this png. For now, make white-on-transparent the one we use. If somebody wants to make this work in dark mode, we need to tweak the templates.
* docs: Add search and fix crosslinksMatthias Clasen2021-03-116-10/+22
|
* Fix various broken linksMatthias Clasen2021-03-112-3/+3
| | | | All these were pointed out by gi-docgen warnings.
* docs: Convert xft section to pango_xft.mdMatthias Clasen2021-03-112-0/+29
|
* Tell gi-docgen to produce index summariesMatthias Clasen2021-03-116-0/+6
|
* docs: Convert the pangocairo section to pango_cairo.mdMatthias Clasen2021-03-113-0/+133
|
* docs: Convert bidi and vertical sections to pango_bidi.mdMatthias Clasen2021-03-113-0/+60
|
* docs: Convert fonts section to pango_fonts.mdMatthias Clasen2021-03-113-0/+67
|
* docs: Convert markup and attributes docs to pango_markup.mdMatthias Clasen2021-03-114-301/+186
|
* docs: Convert rendering section to pango_rendering.mdMatthias Clasen2021-03-113-0/+39
|
* Remove remnants of gtk-docMatthias Clasen2021-03-117-1519/+0
|
* Generate Pango API docs with gi-docgenMatthias Clasen2021-03-118-85/+146
| | | | | | | | | | | | | | | | | | | Stop using gtk-doc, and switch to gi-docgen. The gi-docgen tool generates API references through the introspection data, which has various benefits: - it does not parse C code - it does not generate and run C code to introspect types at build time - it does not present a different API from the one we're exporting Additionally, gi-docgen: - does not generate DocBook XML in order to generate HTML - does not go through xsltproc - parses proper Markdown Which makes it markedly faster than gtk-doc has ever been.
* Add configuration for gi-docgenMatthias Clasen2021-03-116-0/+225
| | | | | Add the toml files that will be used to generate docs, one for each gir file.
* docs: Add pango logoMatthias Clasen2021-03-111-0/+0
| | | | This will be used in the future.
* docs: Move PangoRenderer docs to the right fileMatthias Clasen2021-03-112-2/+2
|
* docs: Make context section ids matchMatthias Clasen2021-03-112-8/+8
| | | | | Doing this makes g-ir-scanner pick up the long description, which is more useful than the struct docs.
* docs: Move layout docs into the long descriptionMatthias Clasen2021-03-112-2/+2
| | | | | g-ir-scanner picks the long description over the struct docs, when the id matches.
* fc: Add a getter for PangoFcFont::patternfont-pattern-getterMatthias Clasen2020-09-211-0/+1
| | | | Properties are better with getters.
* Merge branch 'ch/83' into 'master'Matthias Clasen2020-09-181-0/+3
|\ | | | | | | | | | | | | Add pango_fc_font_map_set_default_substitute Closes #83 See merge request GNOME/pango!191
| * add pango_fc_font_map_set_default_substituteCaleb Hearon2020-06-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added: pango_fc_font_map_set_default_substitute pango_fc_font_map_default_substitute_changed deprecated: pango_ft2_font_map_set_default_substitute pango_ft2_font_map_changed pango_xft_font_map_set_default_substitute pango_xft_font_map_changed Now PangoCairoFcFontMap will call what is passed to pango_fc_font_map_set_default_substitute when it is time. The deprecated functions make calls to the parent (FC) class now. The user-supplied callbacks are executed in the exact same places as before.
| * single function type for FC substitute callbackCaleb Hearon2020-06-131-0/+1
| |
* | pangofc: Add pango_fc_font_get_languagespreferred-languagesMatthias Clasen2020-09-181-0/+1
| | | | | | | | | | | | | | This really belongs into PangoFont, but we're out of room in the PangoFontClass struct for vfuncs, so this will have to remain backend-specific functionality for now.
* | Add pango_language_get_preferredMatthias Clasen2020-09-181-0/+1
| | | | | | | | | | | | This returns the list of preferred languages, as determined from the PANGO_LANGUAGES or LANGUAGES environment variables.
* | 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.