Commit Graph

13 Commits

Author SHA1 Message Date
Alexandre Julliard 4670846dfc sfnt2fon: Use the standard output buffer functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-10 22:00:17 +01:00
Alexandre Julliard f9ee0d2f05 tools: Avoid using wine/port.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-07 18:03:11 +02:00
Alexandre Julliard e0ef12241b sfnt2fon: Avoid using getopt_long().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-05 11:53:08 +02:00
Alexandre Julliard 9e3959bd9b tools: Add a few helper functions for file names and extensions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-29 21:38:11 +02:00
Alexandre Julliard 97ca9f8a3d tools: Add a shared header for common helper functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-28 17:38:06 +02:00
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 7626728b56 makefiles: Generate rules for building tool binaries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-27 14:47:27 +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