1. 31 Aug, 2021 2 commits
    • Matthias Clasen's avatar
      Implement font-dependent scaling · fd51b468
      Matthias Clasen authored
      Add a new font-scale attribute to indicate font size
      changes due to super- and subscript shifts, and handle
      it during item post-processing to find the right font
      sizes.
      fd51b468
    • Matthias Clasen's avatar
      Implement baseline shifts · 303b4fb7
      Matthias Clasen authored
      Add a new baseline-shift attribute, which is similar to
      rise, but accumulates. In addition, it supports font-
      relative values such as superscript and subscript.
      
      We implement support for this by computing baseline
      shifts for run during line post-processing, and storing
      them in the runs. The renderer now takes these shifts
      into account when rendering layout lines.
      303b4fb7
  2. 25 Aug, 2021 1 commit
  3. 22 Aug, 2021 1 commit
  4. 21 Aug, 2021 1 commit
  5. 20 Aug, 2021 3 commits
  6. 10 Aug, 2021 1 commit
  7. 09 Aug, 2021 1 commit
    • Matthias Clasen's avatar
      Add line-height attributes · 623134f4
      Matthias Clasen authored
      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.
      623134f4
  8. 02 Aug, 2021 1 commit
  9. 25 May, 2021 1 commit
  10. 19 May, 2021 1 commit
  11. 03 Apr, 2021 1 commit
  12. 31 Mar, 2021 2 commits
  13. 11 Mar, 2021 3 commits
  14. 16 Feb, 2021 2 commits
  15. 31 Jul, 2020 1 commit
  16. 07 Jun, 2020 1 commit
    • Jonas Dreßler's avatar
      Add API to compare PangoAttrLists · f1ad2308
      Jonas Dreßler authored
      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.
      f1ad2308
  17. 21 Mar, 2020 1 commit
  18. 01 Nov, 2019 2 commits
    • Matthias Clasen's avatar
      Add an overline attribute · 27ede8c4
      Matthias Clasen authored
      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.
      27ede8c4
    • Matthias Clasen's avatar
      Add new PangoUnderline values · 58cb52a5
      Matthias Clasen authored
      These will be used for 'line-wide' continuous underlines,
      as opposed to the current values, wich are per-run and
      jump up and down.
      58cb52a5
  19. 14 Aug, 2019 1 commit
  20. 04 Aug, 2019 1 commit
    • Matthias Clasen's avatar
      Add an insert-hyphens attribute · 2e6f2eb8
      Matthias Clasen authored
      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.
      2e6f2eb8
  21. 02 Aug, 2019 1 commit
    • Emmanuele Bassi's avatar
      Add a boxed type for PangoAttrIterator · f5cd8b93
      Emmanuele Bassi authored
      Makes it usable by language bindings, and avoids warnings when
      generating introspection data.
      
      We already have the necessary public API, we're just missing a GType for
      it.
      f5cd8b93
  22. 25 Jul, 2019 1 commit
  23. 20 Jul, 2019 1 commit
  24. 19 Jul, 2019 2 commits
  25. 11 Jul, 2019 1 commit
  26. 29 Jun, 2016 1 commit
  27. 12 Aug, 2015 2 commits
  28. 18 Jun, 2015 1 commit
  29. 27 Sep, 2013 1 commit
  30. 04 Apr, 2013 1 commit