Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cairo: enable FreeType #1131

Merged
merged 1 commit into from
Nov 10, 2023
Merged

Conversation

AlessandroBono
Copy link
Contributor

Since 1.18.0 cairo disables fontconfig and FreeType by default on Windows and macOS[1][2]. For a successful build libgxps requires cairo-ft.h. Enable FreeType for cairo.

../libgxps/gxps-fonts.c(25): fatal error C1083: Cannot open include file: 'cairo-ft.h': No such file or directory

It is not clear to me if we should enable also fontconfig. Leave it disabled for now.

[1] https://gitlab.freedesktop.org/cairo/cairo/-/commit/f6a3f6d8add98bf5f15d6fbdc4cd887a0936b531
[2] https://gitlab.freedesktop.org/cairo/cairo/-/commit/a3a7ca452f38413f567a502b97497af0aff0128d

Since 1.18.0 cairo disables fontconfig and FreeType by default on
Windows and macOS[1][2]. For a successful build libgxps requires
cairo-ft.h. Enable FreeType for cairo.

```
../libgxps/gxps-fonts.c(25): fatal error C1083: Cannot open include file: 'cairo-ft.h': No such file or directory
```

It is not clear to me if we should enable also fontconfig. Leave it disabled for now.

[1] https://gitlab.freedesktop.org/cairo/cairo/-/commit/f6a3f6d8add98bf5f15d6fbdc4cd887a0936b531
[2] https://gitlab.freedesktop.org/cairo/cairo/-/commit/a3a7ca452f38413f567a502b97497af0aff0128d
@nacho nacho merged commit 3564b89 into wingtk:main Nov 10, 2023
12 checks passed
@AlessandroBono AlessandroBono deleted the wip/abono/cairo-freetype branch November 17, 2023 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants