|
7b837e20
|
2018-01-03T12:46:29
|
|
[util] Add TODO item
|
|
0fd89dc6
|
2017-12-04T18:58:41
|
|
[hb-ft] Fix build when Multiple Master font support is disabled in freetype
FT_Set_Var_Blend_Coordinates() is not available when "Multiple Master
font interface" is disabled in freetype's modules.cfg
|
|
bb7cc4ea
|
2017-11-20T19:39:47
|
|
Minor
|
|
17f40b7c
|
2017-10-27T09:22:30
|
|
Include hb-private.hh more consistently
Part of fixing https://github.com/behdad/harfbuzz/issues/585
|
|
dbdbfe3d
|
2017-10-15T12:11:08
|
|
Use nullptr instead of NULL
|
|
c3448e8d
|
2017-10-15T12:02:00
|
|
Use static_assert instead of custom ASSERT_STATIC
|
|
dad431e7
|
2017-10-15T10:55:32
|
|
[util] Include hb-private.hh
Simplifies compatibility issues by centralizing all boilerplate code
in hb-private.hh.
|
|
9355218f
|
2017-09-09T11:21:07
|
|
[util] Add a few shorthand forms for commandline options
-o, -O, -u, -v, -V
|
|
d03f11f2
|
2017-09-04T20:14:13
|
|
Fix buffer_diff for empty buffers
If buffers are empty, content type should be ignored.
This fixes last of the failing tests: fuzzed.tests. Green again!
|
|
03a5a6f8
|
2017-09-01T19:09:54
|
|
[util] Add --unicodes to hb-view / hb-shape
Fixes https://github.com/behdad/harfbuzz/issues/154
|
|
b262ebcc
|
2017-08-30T17:25:10
|
|
[util] Fix cluster sweeping during --verify
If *I* get this wrong in 2017, I have no idea how others get their head around
cluster math...
Fixes tests/arabic-fallback-shaping.tests
|
|
69d701b0
|
2017-08-30T17:07:29
|
|
[util] When --verify fails, return reconstructed shape results
|
|
099472e0
|
2017-08-30T16:45:06
|
|
hb_buffer_diff() tweak
I like to have a mode where CONTAINS_NOTDEF and CONTAINS_DOTTEDCIRCLE are not
returned. Abused a value of -1 for that. hb-shape now uses it. Fixes two
of the six tests failing with --verify in test/shaping/run-tests.sh.
|
|
a9e52a1a
|
2017-08-15T17:30:18
|
|
[util] Prefix trace lines with "trace:", and error lines with "error:"
|
|
7ea10c35
|
2017-08-15T17:12:28
|
|
[util] Respect eot/bot in safe-to-break test; hook up hb_buffer_diff()
|
|
a88e2a73
|
2017-08-14T14:49:21
|
|
[util] Fix leaks
|
|
05fabbd0
|
2017-08-11T19:51:06
|
|
[unsafe-to-break] Towards verifying unsafe-to-break in --verify
We break and shape fragments and reconstruct shape result from them.
Remains to compare to original buffer. Going to add some buffer
comparison API and use here, instead of open-coding.
|
|
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.
|
|
40bd7e9a
|
2016-05-02T14:47:45
|
|
[unsafe-to-break] Add UNSAFE_TO_BREAK flag
Not all shapers code is updated to set this properly.
GSUB and Arabic shaper are updated.
GPOS and other shapers are NOT.
Fixes https://github.com/behdad/harfbuzz/issues/224
|
|
3e44748e
|
2017-08-09T22:09:01
|
|
[util] Fix two other Coverity warnings
|
|
356f93b6
|
2017-08-09T22:06:53
|
|
[util] Fix warning
|
|
6f38845d
|
2017-07-19T17:20:55
|
|
[hb-shape] Rename --show-messages to --trace
https://github.com/behdad/harfbuzz/issues/506
|
|
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
|
|
925ceacf
|
2017-02-08T02:17:48
|
|
util: Add missing field initialisers in constructor (#410)
Coverity ID: 141042
|
|
a4290905
|
2017-01-22T19:01:07
|
|
[var] Flesh out --variations documentation
|
|
7647a05a
|
2017-01-22T17:47:49
|
|
Minor
|
|
47ee34e8
|
2017-01-21T18:10:08
|
|
[var] Hook up variations to FreeType face
hb-view correctly renders variations with ft font-funcs now.
hb-ot-font needs HVAR implementation.
|
|
111f3e55
|
2017-01-21T17:51:41
|
|
[util] Add --variations
Is hooked up to the font, but not to FreeType, so raster doesn't show yet.
Documentation needs to be done.
|
|
de508516
|
2016-04-26T11:28:37
|
|
[util] Print out --debug buffer to stderr
|
|
35ded3af
|
2015-11-03T16:56:27
|
|
build: Move source listings into separate Makefile snippets
This moves all the source listings in src/Makefile.am,
src/hb-ucdn/Makefile.am and util/Makefile.am into separate Makefile
snippets, so that they may be shared between different Makefile-based
build systems, such as NMake for Visual Studio.
|
|
0475ef2f
|
2015-12-18T18:17:07
|
|
[buffer] Add debugging, aka, message, API
Currently just announces lookup applications. Message-API *will* change.
hb-shape / hb-view are updated to print-out messages to stder if --debug
is specified.
|
|
21e5d7ed
|
2015-12-17T16:28:38
|
|
[util] Use O_BINARY instead of _O_BINARY
The latter doesn't seem to be available in Cygwin. I'm surprised it
compiled before...
|
|
808d3fc0
|
2015-12-10T16:55:16
|
|
[util] Port hb-view to use font metrics from HarfBuzz instead of cairo
|
|
a49e7b7e
|
2015-11-03T18:49:34
|
|
MSVC builds: Add fallback implementation for pre-2013 MSVC
Pre-2013 MSVC does not have scalbn() and scalbnf(), which are used in the
utility programs. Add fallback implementations for these, which can be
used when necessary.
|
|
998e8dda
|
2015-11-02T16:55:29
|
|
util: Fix build on Visual Studio
Use the fallback implementation for lround() only on pre-2013 Visual
Studio, and ensure we are clear about the types of the parameters for
lround() and scalbnf(), since Visual Studio can be quite picky on
ambiguous parameter types. Also, use g_ascii_strcasecmp() rather than
strcasecmp() as we are already using GLib for this code and we are
assured that g_ascii_strcasemp() is available.
For scalbnf() on pre-2013 Visaul Studio, a fallback implementation is
needed, but use another forced-included header for those compilers, which
will be added later.
Also use (char)27 on Visual Studio builds as '\e' is not a recognized
escape sequence, which will do the same thing.
|
|
e97835ad
|
2015-11-10T11:37:01
|
|
[util] Fix crash when --output-file is specified but not --output-format
|
|
6c0ebd02
|
2015-11-05T11:37:48
|
|
[util] If font has color, generate PNG with color
|
|
3530cc2d
|
2015-11-03T11:34:47
|
|
[util] Fix option-parsing leaks
|
|
642135f3
|
2015-11-03T11:26:34
|
|
[util] In --debug mode, duplicate font data
This has the effect that the font data will end up in a memory
section malloc()ed exactly to its size. This gives us better
valgrind detection of out-of-bounds access.
Previously, the font data was placed in a mmap()ed section or
GString-allocated area, which didn't have proper protections
at the end when running under valgrind.
|
|
fdd1770e
|
2015-08-24T13:49:55
|
|
Add API/cmdline to show glyph extents when serializing buffer
New API: HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS
hb-shape now accepts --show-extents.
Patch from Simon Cozens.
|
|
376d587f
|
2015-07-22T16:51:12
|
|
Implement more granular cluster-merging
TODO: Documentation.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=71445
|
|
cd042fc8
|
2015-06-18T10:55:13
|
|
[util] Disable hb-fc-list for now
Until I figure out what to do about the API, and finalize
the tool.
|
|
16dac7ec
|
2015-06-03T12:07:46
|
|
Fix build
|
|
ff0f2105
|
2015-05-18T14:16:28
|
|
[util] Minor
|
|
820505a1
|
2015-04-13T23:51:45
|
|
Whitespace
|
|
76d57331
|
2015-04-13T23:40:35
|
|
Merge pull request #86 from cpfair/hb-shape-output-help-improvement
Improve hb-shape/hb-view's help text w.r.t. output options
|
|
fe97b65a
|
2014-08-06T16:49:51
|
|
[utils] Add hb-fc-list
This is a tool that lists all fonts that can render a given string.
It uses hb_shape() to do so, and as such is aware of HarfBuzz's
normalizer.
|
|
e8fd8393
|
2015-04-09T15:52:26
|
|
[util/hb-view] Fix rendering with all combinations of negative scales
|
|
69d5af93
|
2015-04-09T15:17:16
|
|
[util] Minor
|
|
a664810e
|
2015-04-09T15:04:42
|
|
[util] Accept comma as well as space when separating components of args
Applies to --font-size and --margin.
Hopefully the scanf usage here doesn't have compatibility issues
(star being counted in the return value, etc).
|
|
e2d4e848
|
2015-01-28T20:29:48
|
|
[util] Add convenience "make lib" target
|
|
9ee176ee
|
2015-02-14T09:59:44
|
|
Stop hb-shape docs leaking into hb-view
|
|
952b8dbd
|
2015-02-14T09:44:00
|
|
'All' of the above, not 'each'
|
|
9e867b64
|
2015-02-14T09:32:04
|
|
Remove reference to --help-output-content in --help-output (as --help-output-format's options aren't available in hb-view)
|
|
1d55ffeb
|
2015-02-14T09:29:35
|
|
Add serialization syntax documentation. Clarify naming and wording in --help-output/--help-format
|
|
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.
|
|
5789ca69
|
2015-01-09T14:22:01
|
|
[util] Minor
|
|
c36c4a99
|
2015-01-02T14:09:23
|
|
Add missing va_end()
Fixes https://github.com/behdad/harfbuzz/pull/74
|
|
80f77282
|
2014-09-25T17:59:46
|
|
[util] Fix ansi output when surface is empty
|
|
0de25d41
|
2014-07-25T12:35:03
|
|
[util] Note CSS compatibility in --help-features
|
|
0afedaa9
|
2014-07-09T17:00:48
|
|
[util/hb-shape] Fix crash; oops
|
|
9109f1e9
|
2014-07-08T20:02:29
|
|
[util/hb-shape] Accept an empty output-format that would skip output
Useful for benchmarking, to avoid buffer serialization overhead (which
seems to by far dominate shaping!)
|
|
86564085
|
2014-07-08T18:10:20
|
|
[util] Fix hb-view rendering with --font-funcs=ot
|
|
8650def7
|
2014-07-05T15:50:18
|
|
[util] Add option to set font function implementation to use
Supports ft and ot right now. hb-view currently not rendering with ot.
Will fix after some clean up.
|
|
2306ad46
|
2014-07-04T18:09:29
|
|
[util] Fix memory issue
|
|
90364843
|
2014-03-24T14:26:36
|
|
Start fleshing out builtin font functions
|
|
ea5e8a02
|
2014-03-19T15:38:02
|
|
[util] Plug minor leak
|
|
d688475e
|
2013-12-12T13:21:57
|
|
Minor
|
|
adb03955
|
2013-12-04T20:10:02
|
|
Minor
|
|
c704a870
|
2013-12-02T05:42:04
|
|
[util] Fix uninitialized memory access
|
|
260a3198
|
2013-12-02T05:39:39
|
|
[util] Plug leak
|
|
c77d1ade
|
2013-10-27T23:52:26
|
|
Fix warnings
|
|
c2bc8187
|
2013-10-27T23:36:35
|
|
Work with old and new glib
Avoids "deprecated" warnings.
|
|
9326d48e
|
2013-10-10T20:04:42
|
|
Don't use g_mapped_file_unref()
Was introduced in glib 2.22.
|
|
078de49c
|
2013-09-26T18:26:43
|
|
[util] Don't use g_array_unref()
Was introduced in glib 2.22.
|
|
4dc798de
|
2013-08-26T20:39:00
|
|
Add hb-deprecated.h, and rename a couple enum values
Add deprecated alias for old name.
|
|
5fbc9525
|
2013-07-29T14:34:40
|
|
Fix glyph name printing in hb-ot-shape-closure
|
|
7235f33f
|
2013-06-10T14:39:51
|
|
Fix misc warnings reported by cppcheck
https://bugs.freedesktop.org/show_bug.cgi?id=65544
|
|
b4c5c529
|
2013-06-03T17:55:29
|
|
util/ansi-print.cc: Use fallback implementation for lround on MSVC
Unfortuately Visual Studio (still) does not support the C99 function
lround, so provide a fallback implementation for it.
|
|
e4046080
|
2013-04-17T23:49:54
|
|
[util] Unbreak --show-text / --show-unicode
|
|
50067e28
|
2013-04-11T16:31:01
|
|
[util] Add --num-iterations
Useful for profiling shapers.
|
|
c462b32d
|
2013-02-15T07:51:47
|
|
Disable automatic segment properties guessing
Before, if one called hb_shape() without setting script, language, and
direction on the buffer, hb_shape() was calling
hb_buffer_guess_segment_properties() on the user's behalf to guess
these.
This is very dangerous, since any serious user of HarfBuzz must set
these properly (specially important is direction). So now, we don't
guess properties by default. People not setting direction will get
an abort() now. If the old behavior is desired (fragile, good for
simple testing only), users can call
hb_buffer_guess_segment_properties() on the buffer just before calling
hb_shape().
|
|
e2aab4b5
|
2013-02-12T15:35:32
|
|
Improve checks for setmode()
As reported by Jonathan, OS X has setmode() that is something other
than what setmode() is on Win32. So, limit invocation to Windows
platforms only.
|
|
ceeae30f
|
2013-01-31T19:27:36
|
|
Really fix setmode this time
Thanks to Khaled for spotting it.
|
|
7cba8a67
|
2013-01-31T18:37:10
|
|
Fixup previous commit
Now, it looks like this breaks Cygwin again. Have to figure out what's
going on.
|
|
bc76449f
|
2013-01-31T18:18:05
|
|
Use setmode() instead of _setmode()
Looks like Cygwin / MSVC declare it that way, and it still works on
MinGW32 cross.
|
|
1172dc73
|
2013-01-07T16:46:37
|
|
Rename hb_buffer_clear() to hb_buffer_clear_contents()
The previous name was clashing with harfbuzz.old. There are systems
that need to link both...
Clash-free now again.
|
|
4a765f09
|
2012-12-21T16:48:47
|
|
Minor
|
|
9815a881
|
2012-12-21T16:46:53
|
|
[util] List supported output formats in --help output
|
|
f95a87b7
|
2012-12-21T16:35:28
|
|
[util] List supported output formats in hb-view
|
|
6bad092a
|
2012-12-21T16:01:52
|
|
[util] Default to "text" output format in hb-shape
If you say:
hb-shape font.ttf text --output-file out.txt
This was previously failing:
Unknown output format `txt'; supported formats are: TEXT / JSON
Now we simply fallback to TEXT if no explicit format was requested.
|
|
9a34a50d
|
2012-12-05T19:18:18
|
|
Fix build with C++11
|
|
75da37dc
|
2012-11-15T18:39:23
|
|
Minor
|
|
aec89de5
|
2012-11-15T16:15:42
|
|
Add / modify set API a bit
|
|
a4bef84e
|
2012-11-15T13:29:51
|
|
[util] Make hb-shape err if output-format is not understood
And list supported formats.
|
|
f9edf167
|
2012-11-15T12:14:09
|
|
Add buffer serialization / deserialization API
Two output formats for now: TEXT, and JSON. For example:
hb-shape --output-format=json
Deserialization API is added, but not implemented yet.
|
|
407f80d6
|
2012-11-13T15:33:27
|
|
[util] Add --bot / --eot / --preserve-default-ignorables
|
|
78d41d8d
|
2012-11-13T15:15:09
|
|
Minor
|
|
321f73c1
|
2012-11-13T15:12:24
|
|
[util] Add --text-before and --text-after to hb-shape / hb-view
Use with Arabic, for example, to see the effect on joining.
|
|
c8149ca8
|
2012-11-13T11:07:20
|
|
[hb-shape] Adjust postioning output format
1. If there is any offset (x or y), print out both x and y offsets.
2. Always print out the advance in the major direction of the buffer.
Ie. even for zero-advance glyphs, print a "+0". This is more intuitive.
|