|
087b9a0a
|
2019-02-18T22:30:40
|
|
Fix or document unsupported font-feature-settings
|
|
490d52f9
|
2019-01-28T17:43:42
|
|
[subset] Add retain-gids option to hb-subset executable.
|
|
e4120085
|
2018-12-17T21:31:01
|
|
Remove redundant void from C++ sources (#1486)
|
|
3f8e7a98
|
2018-12-12T11:32:57
|
|
[util/hb-subset] Add --layout to keep GDEF/GSUB/GPOS
Will become default and option removed in the future.
|
|
43ee0e4d
|
2018-11-06T09:57:17
|
|
Merge branch 'master' into cff-subset
|
|
9bddfde2
|
2018-11-06T11:03:34
|
|
[util] Fix up previous commit
|
|
3ec2e4fa
|
2018-11-06T10:49:19
|
|
[util] Don't terminate string after a a 0 in -u
Fixes https://github.com/harfbuzz/harfbuzz/issues/1361
|
|
6186dbf1
|
2018-11-01T17:25:23
|
|
added hb_subset_input_set_desubroutinize API
hooked up with CFF1 subroutinizer
a renaming
|
|
d56e338a
|
2018-10-31T22:30:34
|
|
CFF1 no-desubroutinize + no-hinting
no-desubroutinize option is disabled for now
code cleanup (esp. CFF1 width handling)
bug fixes & renaming
|
|
83a61273
|
2018-10-30T01:24:23
|
|
[util] Minor
|
|
6131fb62
|
2018-10-30T00:38:01
|
|
[util] Don't close stdin/stdout
|
|
eeddda3e
|
2018-10-18T07:38:47
|
|
[util] Better file-not-found error from hb-shape / hb-view
fixes #1266
|
|
1e8fdd28
|
2018-10-10T16:32:35
|
|
Remove HAVE_OT
We never tested compiling without it. Just kill it. We always build
our own shaper.
|
|
e42cd58c
|
2018-10-07T20:46:11
|
|
Rename invisible_codepoint to invisible_glyph in API
Deleted recently added API:
hb_buffer_set_invisible_codepoint()
hb_buffer_get_invisible_codepoint()
hb-shape / hb-view --invisible-codepoint
New API:
hb_buffer_set_invisible_glyph()
hb_buffer_get_invisible_glyph()
hb-shape / hb-view --invisible-glyph
Fixes https://github.com/harfbuzz/harfbuzz/issues/1216
|
|
71b65eb2
|
2018-10-07T18:41:52
|
|
Add API for setting invisible-codepoint
Fixes https://github.com/harfbuzz/harfbuzz/issues/1216
New API:
hb_buffer_set_invisible_codepoint()
hb_buffer_get_invisible_codepoint()
hb-shape / hb-view --invisible-codepoint
|
|
9caa432d
|
2018-09-30T05:49:08
|
|
[util] Use HB_FALLTHROUGH
Sure, gcc knows to warn about this as well:
../../util/options.cc:175:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 1: m.r = m.t;
~~~~^~~~~
../../util/options.cc:176:5: note: here
case 2: m.b = m.t;
^~~~
But HOLY SMOKES, look at clang -Weverything bot message:
options.cc:176:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 2: m.b = m.t;
^
options.cc:176:5: note: insert 'HB_FALLTHROUGH;' to silence this warning
case 2: m.b = m.t;
^
HB_FALLTHROUGH;
Right, it's telling me to insert "HB_FALLTHROUGH;" there!!!!!!!!!
|
|
2e728a7d
|
2018-09-30T05:47:36
|
|
[util] Mark var static
From clang -Weverything bot:
options.cc:39:3: warning: no previous extern declaration for non-static variable 'supported_font_funcs' [-Wmissing-variable-declarations]
|
|
606bf574
|
2018-09-16T19:33:48
|
|
Revert forcing use of single-parameter static_assert()
Some clang versions define static_assert as a macro apparently, so we cannot
redefine it...
This reverts commit 94bfea0ce6a7b4d5641c198d50751748a353df11.
This reverts commit 4e62627831e7457ed60ff87712570065b14b200a.
|
|
94bfea0c
|
2018-09-16T19:12:19
|
|
Fix build, another try
|
|
f90bab85
|
2018-09-11T14:21:15
|
|
[util] Add --ft-load-flags
Useful for performance testing.
Not hooked to cairo yet. Just changes shaping, not rasterization.
|
|
93f75962
|
2018-09-11T14:11:10
|
|
[util] Add -n shorthand for --num-iterations
Meh.
|
|
159ddb87
|
2018-06-24T23:09:16
|
|
Treat - just as /dev/stdin and remove one extra file reader (#1065)
|
|
d0c2889d
|
2018-06-18T19:59:33
|
|
Revert file blob sanitization and index checking (#1062)
As https://github.com/harfbuzz/harfbuzz/pull/1059#issuecomment-397912812 we
like to still work with blobs that harfbuzz itself can't handle directly that are failing sanitization
currently apparently.
|
|
c53697d3
|
2018-06-17T17:04:55
|
|
Verbose fail when something is wrong with hb-shape/hb-view input font file (#1059)
This checks if the blob isn't empty and uses `hb_face_count`
to see if the font file passes the simple font file sanitization
so can detect if the input is actually a font and checks also
whether input font-index is out of range.
|
|
aa0c5df4
|
2018-06-17T16:49:34
|
|
Fix reading fonts from stdin (#1060)
We were passing the font path directly to freetype so rendering
was broken when we are getting the font from stdin.
This fixes it by using FT_New_Memory_Face instead.
This fixes:
* build/util/hb-view /dev/stdin text < font.ttf
* build/util/hb-view - text < font.ttf
* cat font.ttf | build/util/hb-view - text
but doesn't work on
* cat font.ttf | build/util/hb-view /dev/stdin text
which I will try to fix separately.
|
|
ce17340b
|
2018-04-20T10:29:06
|
|
Add hb_blob_create_from_file, a new API (#926)
|
|
6fdeeb2a
|
2018-04-19T23:41:37
|
|
[util] Check all specified shapers are known (#993)
A bit brute force and requires all shapers to be known, not just one.
Fixes https://github.com/harfbuzz/harfbuzz/issues/956
|
|
82697919
|
2018-03-25T20:50:41
|
|
Allow trailing non-numeric chars in --unicodes
|
|
127096e4
|
2018-03-15T13:23:27
|
|
[util] Remove line buffering
Something weird seems to be going on. Just kill it.
Fixes https://github.com/harfbuzz/harfbuzz/issues/888
|
|
d78393b5
|
2018-02-23T17:53:26
|
|
Merge branch 'master' of https://github.com/harfbuzz/harfbuzz into drophints
|
|
4f6f7c3b
|
2018-02-23T02:54:12
|
|
[util] Implement ppem/ptem on hb-{shape,view} (#811)
|
|
74e0c13a
|
2018-02-21T11:19:18
|
|
[subset] drop hint tables if so flagged. Still need to dump glyf instructions.
|
|
0bd100e1
|
2018-02-21T10:34:00
|
|
[subset] add --hinting flag
|
|
d0f3e7f5
|
2018-02-10T12:45:28
|
|
[util] Use setlinebuf() if present
To work around mysterious bug on OS X.
Fixes https://github.com/harfbuzz/harfbuzz/issues/727
|
|
4c4a9fc8
|
2018-01-17T09:47:50
|
|
Typo
Fixes https://github.com/harfbuzz/harfbuzz/issues/711
|
|
746a37d5
|
2018-01-10T16:47:47
|
|
[util] Replace setlinebuf
|
|
ff2083c5
|
2018-01-10T13:54:36
|
|
[util] Set stdio files to line buffering
So we can stream lines to hb-shape and read output.
|
|
3b1e97f3
|
2018-01-10T03:35:20
|
|
Add HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES
New API:
HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES
hb-shape / hb-view --remove-default-ignorables
One more text-rendering-tests test passing. Eleven failing.
|
|
3f29ea91
|
2018-01-10T02:48:04
|
|
[util] Add hb-shape --ned
For not displaying extra data: no clusters, no advance. Just data pertaining
to where glyphs end up on the screen.
|
|
71fd6325
|
2018-01-10T02:20:14
|
|
Add option to buffer serialization to not output glyph advances
When advances are not printed, glyph offsets reflect absolute glyph
positions.
New API:
HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES
hb-shape --no-advances
|
|
7b837e20
|
2018-01-03T12:46:29
|
|
[util] Add TODO item
|
|
bb7cc4ea
|
2017-11-20T19:39:47
|
|
Minor
|
|
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
|
|
9355218f
|
2017-09-09T11:21:07
|
|
[util] Add a few shorthand forms for commandline options
-o, -O, -u, -v, -V
|
|
03a5a6f8
|
2017-09-01T19:09:54
|
|
[util] Add --unicodes to hb-view / hb-shape
Fixes https://github.com/behdad/harfbuzz/issues/154
|
|
a9e52a1a
|
2017-08-15T17:30:18
|
|
[util] Prefix trace lines with "trace:", and error lines with "error:"
|
|
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
|
|
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
|
|
a4290905
|
2017-01-22T19:01:07
|
|
[var] Flesh out --variations documentation
|
|
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.
|
|
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...
|
|
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.
|
|
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
|
|
16dac7ec
|
2015-06-03T12:07:46
|
|
Fix build
|
|
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
|
|
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).
|
|
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
|
|
0de25d41
|
2014-07-25T12:35:03
|
|
[util] Note CSS compatibility in --help-features
|
|
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
|
|
260a3198
|
2013-12-02T05:39:39
|
|
[util] Plug leak
|
|
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.
|
|
50067e28
|
2013-04-11T16:31:01
|
|
[util] Add --num-iterations
Useful for profiling shapers.
|
|
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.
|
|
9815a881
|
2012-12-21T16:46:53
|
|
[util] List supported output formats in --help output
|
|
9a34a50d
|
2012-12-05T19:18:18
|
|
Fix build with C++11
|
|
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.
|
|
3bc22eb7
|
2012-11-12T10:07:28
|
|
Minor
|
|
e30ebd27
|
2012-09-06T22:09:06
|
|
Add hb_feature_to/from_string()
|
|
6f3a3001
|
2012-08-07T22:13:25
|
|
Add hb_font_glyph_from/to_string
|
|
ade7459e
|
2012-08-06T19:42:47
|
|
[util] Fix leaks
|
|
bdc48a87
|
2012-08-04T17:08:38
|
|
Enlarge glyph_name buffer
Lohit Devanagari has a glyph named:
u0924_u094D.half_u0930_u094D.blwf.vatu
|
|
39b17837
|
2012-07-17T17:09:29
|
|
Add hb_buffer_normalize_glyphs() and hb-shape --normalize-glyphs
This reorders glyphs within the cluster to a nominal order. This should
have no visible effect on the output, but helps with testing, for
getting the same hb-shape output for visually-equal glyphs for each
cluster.
|
|
0594a244
|
2012-06-05T20:35:40
|
|
Cleanup TRUE/FALSE vs true/false
|
|
c1885483
|
2012-06-04T08:56:00
|
|
Add --verbose to hb-shape
Just turns all --show-* options on.
|