Commit Graph

7 Commits

Author SHA1 Message Date
Anton Baskanov 2e26090838 sfnt2fon: Avoid out-of-bounds read (AddressSanitizer).
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45422
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-31 10:55:23 +02:00
Alexandre Julliard 62069b4ee8 sfnt2fon: Directly store the codepage tables for the few encodings we need.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-27 14:37:54 +01:00
Alexandre Julliard 3c29cc446b sfnt2fon: Avoid using wine/unicode.h on Windows.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-12 13:30:03 +02:00
Michael Stefaniuc 89e79d8144 tools/sfnt2fon: Just skip all glyphs below 0x20.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-28 00:39:05 +02:00
Alexandre Julliard 3712d9fdff sfnt2fon: Remove no longer needed use of libwine_static.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:09 +09:00
Alexandre Julliard 207ae9f5c2 sfnt2fon: Use getopt_long to allow arbitrary option order. 2014-02-06 17:08:04 +01:00
Alexandre Julliard 7307e2be69 tools: Move sfnt2fnt to its own directory.
Also rename to sfnt2fon to better reflect usage and avoid conflicts
with the previous binary on updates.
2014-02-06 11:23:05 +01:00