util/view-cairo.hh

Branch


Log

Author Commit Date CI Message
Khaled Hosny af1b9acc 2025-07-02T16:55:48 [glib] Drop fallback code for versions we don’t support We require Glib 2.30.0, so drop checks for older versions.
Behdad Esfahbod 59001aa9 2025-03-26T12:33:06 [util] Add brief --help descriptions Part of https://github.com/harfbuzz/harfbuzz/issues/5208
Behdad Esfahbod 7612ec44 2025-03-23T13:10:12 [util] Show glyph extents only if available
Behdad Esfahbod c7f2d440 2023-08-16T09:55:23 [hb-view] Better cairo version check
Behdad Esfahbod e714e7d4 2023-08-16T09:54:08 [hb-view] Work around old cairo Fixes https://github.com/harfbuzz/harfbuzz/issues/4378
Behdad Esfahbod 91a174f1 2023-01-24T11:27:35 [hb-view] Hide --annotate and make it alias for --show-extents
Behdad Esfahbod 20fcf5c5 2023-01-24T11:22:55 [hb-view] Add --show-extents
Behdad Esfahbod e998cec1 2023-01-18T23:33:21 [hb-view] Move palette options to --help-view
Behdad Esfahbod 228a4154 2022-12-29T18:19:06 [view-cairo] Minor subpixel-bits
Behdad Esfahbod 74d29cd1 2022-12-29T18:11:41 [helper-cairo] Remove a method
Behdad Esfahbod dc9ca637 2022-12-27T17:49:02 [hb-view] Remove stale disabled code path With color rendering that code path is wrong anyway. And cairo now supports subpixel text positioning.
Behdad Esfahbod c45d2a9c 2021-08-12T11:17:26 [util] Allow setting cli summary / description
Behdad Esfahbod c98773eb 2021-08-11T20:22:03 [util/hb-subset] Move output-file validation code into post_parse
Behdad Esfahbod ba418cfc 2021-08-11T19:29:07 [util] Use automatic casts
Behdad Esfahbod 24a9d8c7 2021-08-11T18:47:06 [util] Use post_parse in font_options_t
Behdad Esfahbod 93bc62e9 2021-08-07T13:13:58 [util] Move output options into output-options.hh
Behdad Esfahbod af9d2495 2021-08-07T12:29:52 [util] Use inheritance for output_options_t
Behdad Esfahbod cfb2d6ad 2021-08-06T23:14:30 [util] Move view options into view-options.hh
Behdad Esfahbod 4e97678e 2021-08-06T22:53:44 [util] Use inheritence to embed inherent options of objects
Behdad Esfahbod b1db0e4a 2021-08-06T18:55:40 [util] Fold view-cairo.cc into view-cairo.hh
Behdad Esfahbod 09e4d7dd 2021-08-05T11:21:20 [util] Simplify output_options_t
Behdad Esfahbod e109f9a6 2021-08-05T11:05:51 [util] Collect cmdline arg options outside of constructor
Behdad Esfahbod e57dd668 2021-08-05T10:33:31 [util] Initialize struct members inline
Ebrahim Byagowi e4120085 2018-12-17T21:31:01 Remove redundant void from C++ sources (#1486)
Michiharu Ariza 55942ad5 2018-10-06T14:49:44 Merge branch 'master' into cff-subset
Behdad Esfahbod 310bdac4 2018-10-04T16:31:14 Fix a warning
Behdad Esfahbod c77ae408 2018-08-25T22:36:36 Rename hb-*private.hh to hb-*.hh Sorry for the noise, downstream custom builders. Please adjust.
Ebrahim Byagowi ce17340b 2018-04-20T10:29:06 Add hb_blob_create_from_file, a new API (#926)
Behdad Esfahbod 17f40b7c 2017-10-27T09:22:30 Include hb-private.hh more consistently Part of fixing https://github.com/behdad/harfbuzz/issues/585
Behdad Esfahbod 69d701b0 2017-08-30T17:07:29 [util] When --verify fails, return reconstructed shape results
Behdad Esfahbod d2052278 2017-08-11T15:12:25 [util] Add --verify to hb-shape / hb-view that verifies shape results Right now it checks for monotone cluster values. Other checks to be added.
Behdad Esfahbod e6035055 2017-07-18T19:14:19 [hb-shape] Improve shaping-debug output Before, that was printed using --debug (and in both hb-shape and hb-view). Changed it, now hb-shape has a new command-line argument called --show-messages. When invoked, it also respects other output formatting options. The messages are better formatted and printed to te same place that hb-shape output is directed to. Previously they were written to stderr. Fixes https://github.com/behdad/harfbuzz/issues/506
Behdad Esfahbod e8fd8393 2015-04-09T15:52:26 [util/hb-view] Fix rendering with all combinations of negative scales
Behdad Esfahbod cd4eb96a 2015-01-20T12:30:45 [util] Add --font-size to hb-shape Also makes hb-view to use 8 bits of subpixel precision and shape at requested size, instead of always shaping at upem and scaling results.
Behdad Esfahbod adb03955 2013-12-04T20:10:02 Minor
Behdad Esfahbod c704a870 2013-12-02T05:42:04 [util] Fix uninitialized memory access
Behdad Esfahbod c2bc8187 2013-10-27T23:36:35 Work with old and new glib Avoids "deprecated" warnings.
Behdad Esfahbod 078de49c 2013-09-26T18:26:43 [util] Don't use g_array_unref() Was introduced in glib 2.22.
Behdad Esfahbod 7235f33f 2013-06-10T14:39:51 Fix misc warnings reported by cppcheck https://bugs.freedesktop.org/show_bug.cgi?id=65544
Behdad Esfahbod 9815a881 2012-12-21T16:46:53 [util] List supported output formats in --help output
Behdad Esfahbod 0594a244 2012-06-05T20:35:40 Cleanup TRUE/FALSE vs true/false
Behdad Esfahbod 4a8a5290 2012-06-05T19:17:02 Make hb-view err if all shapers failed
Behdad Esfahbod 5db0683a 2012-06-02T12:13:08 [util] Make hb-shape continue shaping other lines if shapers failed
Behdad Esfahbod 95cefdf9 2012-04-16T18:08:20 Add --utf8-clusters Also fix cairo cluster generation.
Behdad Esfahbod 69b84a8f 2012-04-12T15:50:40 Fix hb-view surface size calc for vertical text For some reason it doesn't quite work with IranianNastaliq, but that looks like a font issue.
Behdad Esfahbod 8b8b1905 2011-09-19T16:41:17 [util] Add hb-shape utility Like hb-view, but prints out buffer contents. The output format is kinda cryptic. Suggestions welcome.
Behdad Esfahbod 7bf6ecd3 2011-09-16T01:11:30 Always shape at size=upem Fixes bug with uniscribe not handling GIGANTIC sizes.
Behdad Esfahbod b9b10ad7 2011-09-13T13:30:39 [util] Refactor hb-view completely Now we can use the same code to do other utils...