~vcs-imports/pango/+git/pango:font-size-formatting

Last commit made on 2024-02-24
Get this branch:
git clone -b font-size-formatting https://git.launchpad.net/~vcs-imports/pango/+git/pango

Branch merges

Branch information

Name:
font-size-formatting
Repository:
lp:~vcs-imports/pango/+git/pango

Recent commits

d489fc8... by Matthias Clasen <email address hidden>

Improve formatting of font sizes

When serializing font descriptions, format the font size only
to the number of decimals needed to reconstruct the same Pango
units.

Code inspired by similar facilities in fonttools.

Affected tests have be updated.

54c5f4e... by Matthias Clasen <email address hidden>

1.51.2

5379faf... by Matthias Clasen <email address hidden>

Merge branch 'zbrown/family-props' into 'main'

family: expose name etc as properties

See merge request GNOME/pango!699

3f7c37b... by Matthias Clasen <email address hidden>

Merge branch 'meson-win32' into 'main'

Clean up build files

See merge request GNOME/pango!709

7ed2934... by Matthias Clasen <email address hidden>

Merge branch 'fix-hint-metrics-option' into 'main'

viewer: Make hint-metrics values match cairo

See merge request GNOME/pango!714

e31d396... by Matthias Clasen <email address hidden>

viewer: Make hint-metrics values match cairo

Make the order of the enum values match the order in cairo,
otherwise casting goes badly. This bug must have been around
for decades :(

14c499a... by Chun-wei Fan <email address hidden>

README.win32.md: Update build documentation

Building FontConfig support with Cairo, HarfBuzz and FreeType as subprojects
has been simplified in the build files, so let people know that options for
building these will no longer need to be specified for configuring the build.

c62aba8... by Chun-wei Fan <email address hidden>

build: Sort out HarfBuzz and FreeType build options

...when one or more of them is being built as subproject(s). This will:

* Ensure that FreeType support is enabled for HarfBuzz if building PangoFt2
* Ensure that FreeType does not build with HarfBuzz support if HarfBuzz is
  also built as a subproject, so that things will build and link properly.

0b48833... by Chun-wei Fan <email address hidden>

build: Use hb-directwrite more on Windows

As we are using more of DirectWrite in PangoWin32, it makes sense for us to use
hb-directwrite also when we are (unlikely) not enabling Cairo support for the
build, to reduce differences that may arise when we use GDI interop in this
process.

So, from this point, we use hb-gdi (or its raw form) only when we are enabling
Cairo support and do not have DirectWrite enabled in the Cairo build, or
HarfBuzz is built without DirectWrite support.

debf78c... by Chun-wei Fan <email address hidden>

build: Clean up Cairo dependency search and checks

Cairo 1.17.x is now built on Visual Studio using Meson, meaning that pkg-config
files are always around, plus 1.17.x contained many improvements, fixes and
features for Windows, so let's just limit looking for Cairo using pkg-config or
subprojects.

If we are building PangoFt2, also always check that Cairo contains FreeType and
FontConfig support (cairo-ft may or may not contain FontConfig support), or
if building Cairo as a subproject, build it with FreeType and FontConfig
enabled.

Consequently, this will simplify our checks on features that are enabled in
Cairo.