summarylogtreecommitdiffstats
path: root/unbundle-add-enable_freetype.patch
blob: 1fd94c25c55ae8b87da9967c9014b022ffc28880 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 88676c640928fd2dce56a46c1c3adb62ac349697 Mon Sep 17 00:00:00 2001
From: "lauren n. liberda" <lauren@selfisekai.rocks>
Date: Thu, 24 Oct 2024 17:54:35 +0000
Subject: [PATCH] [unbundle] add enable_freetype

fixes freetype unbundle after https://crrev.com/c/5832411

Bug: none
Change-Id: If5573d2c0e833ef3c18b505c004b3fa997f903a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5952222
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373430}
---
 build/linux/unbundle/freetype.gn | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/build/linux/unbundle/freetype.gn b/build/linux/unbundle/freetype.gn
index 73f9666833e5..c780c630d55b 100644
--- a/build/linux/unbundle/freetype.gn
+++ b/build/linux/unbundle/freetype.gn
@@ -11,4 +11,9 @@ declare_args() {
   # System FreeType configurations other than as described WILL INTRODUCE TEXT
   # RENDERING AND SECURITY REGRESSIONS.
   use_system_freetype = true
+
+  # Use FreeType for font rendering. If this is set to false, FreeType is
+  # replaced with the Rust-based Fontations set of libraries plus Skia
+  # path rendering.
+  enable_freetype = true
 }