Commit Graph

15463 Commits

Author SHA1 Message Date
Behdad Esfahbod 68a73e436a [hb-cairo] Macro hygiene 2023-01-20 15:30:07 -07:00
Behdad Esfahbod 574d9344dc [hb-cairo] Fix build with old cairo 2023-01-20 15:22:50 -07:00
Behdad Esfahbod 4f19c3b3be [hb-cairo] Move color-cache to scaled-font 2023-01-20 15:15:52 -07:00
Behdad Esfahbod beba43eebe [hb-cairo] Fix color cache on not-found 2023-01-20 15:02:24 -07:00
Behdad Esfahbod cc9b55c794 [hb-cairo] Add a color cache 2023-01-20 14:57:57 -07:00
Behdad Esfahbod 10def9b3df meson fix 2023-01-20 14:06:18 -07:00
Behdad Esfahbod eb00088bcf [paint] Docs 2023-01-20 13:57:39 -07:00
Behdad Esfahbod f21b15dcc3 [hb-view] Update to alternative cairo custom-palette API 2023-01-20 13:57:39 -07:00
Behdad Esfahbod 638e0ed4fd [paint] Overlay custom-palette on top of chosen palette
Got to agree this is more ergonomic.
2023-01-20 13:57:39 -07:00
Behdad Esfahbod 03e2e58642 [hb-view] Improve color parsing
Now supports 3, 4, 6, 8 digit colors.
2023-01-20 13:57:39 -07:00
Behdad Esfahbod dc4af478d1 [hb-view] Default background to white when parsing 2023-01-20 13:57:39 -07:00
Matthias Clasen b81db8d3d8 Avoid a compiler warning 2023-01-20 13:57:39 -07:00
Behdad Esfahbod e998cec1d9 [hb-view] Move palette options to --help-view 2023-01-20 13:57:39 -07:00
Behdad Esfahbod 253b4cecae [hb-view] Simplify palette format 2023-01-20 13:57:39 -07:00
Behdad Esfahbod 52b78d526b [hb-view] Fix leak 2023-01-20 13:57:39 -07:00
Behdad Esfahbod 5847ec24ff Fix bots 2023-01-20 13:57:39 -07:00
Behdad Esfahbod 4fe6ece425 [cairo] Don't fallback to CPAL if cairo doesn't support custom palette 2023-01-20 13:57:39 -07:00
Behdad Esfahbod 0bff570491 [hb-view] Use custom palette if any set 2023-01-20 13:57:39 -07:00
Matthias Clasen c41892a012 hb-view: Add a --custom-palette option 2023-01-20 13:57:39 -07:00
Matthias Clasen ab37ade7e4 Hook up custom palettes for cairo 2023-01-20 13:57:39 -07:00
Behdad Esfahbod cce7c441eb [name] Fix doc
That's part of an enum now.
2023-01-20 13:57:05 -07:00
Behdad Esfahbod 3711455154 [hb-info] Minor set parse hooks
Unused.
2023-01-20 12:32:41 -07:00
Behdad Esfahbod 89371419a9 [hb-info] Move code around 2023-01-20 12:20:38 -07:00
Behdad Esfahbod 32b42eb568 [hb-info] Add --show-face-count 2023-01-20 12:18:04 -07:00
Behdad Esfahbod fd84605b58 [hb-info] Add --show-technology 2023-01-20 12:10:03 -07:00
Behdad Esfahbod c05230256d [util] Add -y for --face-index
Ala ttx.
2023-01-20 12:08:31 -07:00
Behdad Esfahbod 6bf9237e5f [hb-info] Format --list-palettes 2023-01-20 11:54:08 -07:00
Behdad Esfahbod 64625ed85d [hb-info] Write palette flags 2023-01-20 11:48:01 -07:00
Behdad Esfahbod d811dcdbde [hb-info] Add --list-palettes 2023-01-20 11:42:51 -07:00
Behdad Esfahbod 2590578162 [hb-info] Add --get-baseline 2023-01-20 11:04:22 -07:00
Behdad Esfahbod b77baa31c3 [hb-info] Show whether --get-metric value is fallback 2023-01-20 10:13:21 -07:00
Behdad Esfahbod 2a8df82aca [hb-info] Add --get-metric 2023-01-20 09:57:28 -07:00
Behdad Esfahbod ba4f5e9f22 [hb-info] Add --ot-script and --ot-language 2023-01-20 09:29:39 -07:00
Behdad Esfahbod edec8946ed New API: hb_ot_layout_script_select_language2()
Variant that outputs chosen_language.

Not sure why the original API didn't have this. The script
counterpart has.
2023-01-20 09:28:59 -07:00
Behdad Esfahbod 2fd8e36ea5 [layout] Fix return value of chosen_script when matching fails 2023-01-20 09:09:14 -07:00
Behdad Esfahbod d06976e68f [glyf] Add an edge-count limit
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=55246
2023-01-20 08:21:43 -07:00
Behdad Esfahbod 2cfd4133fb [hb-info] Print Zyyy for DFLT script 2023-01-20 07:11:33 -07:00
Khaled Hosny 178c5bed39 [ci] Use unique ccache cache keys per job 2023-01-20 10:28:44 +02:00
Khaled Hosny a0afde70c5 [ci] Re-enable coverage reporting on macOS 2023-01-20 10:28:44 +02:00
Khaled Hosny 8785d515d0 [ci] Don’t install glib-utils on macOS
Homebrew can’t make up their mind, they seem to have merged the glib
packages again.
2023-01-20 10:28:44 +02:00
Khaled Hosny 5ddb5fb847 [ci] Don’t install gtk-doc on macOS
We are not building the documentation here.
2023-01-20 10:28:44 +02:00
Khaled Hosny 48df846a41 [ci] Make homebrew do less work 2023-01-20 10:28:44 +02:00
Khaled Hosny 35f0184bfd [ci] Clean a bit and add some consistency 2023-01-20 10:28:44 +02:00
Behdad Esfahbod edd5a37e79 [hb-info] Implement script/language-sensitive --list-features
I'm not very confident in the implementation.
2023-01-19 18:39:32 -07:00
Behdad Esfahbod a67b6aad92 [hb-info] Format 2023-01-19 18:07:05 -07:00
Behdad Esfahbod 4927e215a4 [hb-info] Format 2023-01-19 18:03:31 -07:00
Behdad Esfahbod 9ca320d69e [hb-info] Format 2023-01-19 17:56:06 -07:00
Behdad Esfahbod b24c7add80 [hb-info] Write ISO/BCP script/language in --scripts 2023-01-19 17:53:07 -07:00
Behdad Esfahbod b8dacd46f5 [hb-info] Format 2023-01-19 17:46:24 -07:00
Behdad Esfahbod b9a2917c2e [hb-info] Simplify direction/script/language handling 2023-01-19 17:38:05 -07:00