Skip to content

Commit

Permalink
Enable Direct Write font support in Cairo and Harfbuzz
Browse files Browse the repository at this point in the history
  • Loading branch information
danyeaw authored and pbor committed Apr 28, 2024
1 parent ffe382c commit b274db6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions gvsbuild/projects/cairo.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def __init__(self):
dependencies=["freetype", "glib", "pixman", "libpng"],
patches=["0001-fix-alloca-unresolved.patch"],
)
self.add_param("-Ddwrite=enabled")
self.add_param("-Dfreetype=enabled")
self.add_param("-Dfontconfig=disabled")

Expand Down
3 changes: 3 additions & 0 deletions gvsbuild/projects/harfbuzz.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ def __init__(self):
else:
self.add_param("-Dintrospection=disabled")

self.add_param("-Ddirectwrite=enabled")
self.add_param("-Dgdi=enabled")

def build(self):
Meson.build(self)
self.install(r".\COPYING share\doc\harfbuzz")
1 change: 1 addition & 0 deletions gvsbuild/projects/librsvg.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def __init__(self):
"pango",
"gdk-pixbuf",
"libxml2",
"freetype",
],
)
if Project.opts.enable_gi:
Expand Down

0 comments on commit b274db6

Please sign in to comment.