Codebase list bdf2sfd / bf679aa
New upstream release. Debian Janitor 1 year, 1 month ago
16 changed file(s) with 117 addition(s) and 102 deletion(s). Raw diff Collapse all Expand all
00 #
1 # bdf2sfd 1.1.7
2 # Copyright (c) 2019-2021, Frederic Cambus
1 # bdf2sfd 1.1.8
2 # Copyright (c) 2019-2023, Frederic Cambus
33 # https://github.com/fcambus/bdf2sfd
44 #
55 # Created: 2019-11-21
6 # Last Updated: 2021-10-18
6 # Last Updated: 2023-03-13
77 #
88 # bdf2sfd is released under the BSD 2-Clause license.
99 # See LICENSE file for details.
5959 add_executable(bdf2sfd ${SRC})
6060
6161 install(TARGETS bdf2sfd DESTINATION ${CMAKE_INSTALL_BINDIR})
62 install(FILES bdf2sfd.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1/)
62 install(FILES man/bdf2sfd.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1/)
6363
6464 enable_testing()
6565 add_test(bdf2sfd bdf2sfd)
0 bdf2sfd 1.1.8 (2023-03-30)
1
2 - Remove unneeded <sys/types.h> include
3 - Add missing void to the usage() function definition
4 - Move manual page to the man directory
5
6
7
08 bdf2sfd 1.1.7 (2021-11-16)
19
210 - Rename the "glyphes" variable to "glyphs"
0 Copyright (c) 2019-2021, Frederic Cambus
0 Copyright (c) 2019-2023, Frederic Cambus
11 All rights reserved.
22
33 Redistribution and use in source and binary forms, with or without
3636
3737 ## Packages
3838
39 Packages are available for the following operating systems:
39 bdf2sfd packages are available for:
4040
4141 - [OpenBSD][5]
4242 - [NetBSD][6]
43 - [Void Linux][7]
44 - [Debian][8]
45 - [Ubuntu][9]
46 - [Nix][10]
43 - [FreeBSD][7]
44 - [Void Linux][8]
45 - [Debian][9]
46 - [Ubuntu][10]
47 - [Nix][11]
4748
4849 ## Usage
4950
106107 [2]: https://fontforge.org/en-US/documentation/developers/sfdformat/
107108 [3]: https://fontforge.org
108109 [4]: https://github.com/fcambus/spleen
109 [5]: https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/converters/bdf2sfd
110 [5]: https://openports.pl/path/converters/bdf2sfd
110111 [6]: https://pkgsrc.se/converters/bdf2sfd
111 [7]: https://github.com/void-linux/void-packages/tree/master/srcpkgs/bdf2sfd
112 [8]: https://packages.debian.org/search?keywords=bdf2sfd
113 [9]: https://packages.ubuntu.com/bdf2sfd
114 [10]: https://github.com/NixOS/nixpkgs/tree/master/pkgs/tools/misc/bdf2sfd
112 [7]: https://www.freshports.org/x11-fonts/bdf2sfd
113 [8]: https://github.com/void-linux/void-packages/tree/master/srcpkgs/bdf2sfd
114 [9]: https://packages.debian.org/search?keywords=bdf2sfd
115 [10]: https://packages.ubuntu.com/bdf2sfd
116 [11]: https://github.com/NixOS/nixpkgs/tree/master/pkgs/tools/misc/bdf2sfd
115117
116118 ## Packaging status
117119
+0
-65
bdf2sfd.1 less more
0 .\"
1 .\" Copyright (c) 2019-2021, Frederic Cambus
2 .\" All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions are met:
6 .\"
7 .\" * Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\"
10 .\" * Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
13 .\"
14 .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
15 .\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS
18 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
19 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
20 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
21 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
22 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
23 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24 .\" POSSIBILITY OF SUCH DAMAGE.
25 .\"
26 .Dd $Mdocdate: February 12 2021 $
27 .Dt BDF2SFD 1
28 .Os
29 .Sh NAME
30 .Nm bdf2sfd
31 .Nd BDF to SFD converter
32 .Sh SYNOPSIS
33 .Nm
34 .Op Fl hv
35 .Op Fl f Ar name
36 .Op Fl p Ar name
37 .Ar font.bdf
38 .Sh DESCRIPTION
39 .Nm
40 is a BDF to SFD converter, allowing to vectorize bitmap fonts.
41 It works by converting each pixel of a glyph to a polygon, which produces
42 large and unoptimized SFD files which should be post-processed using FontForge.
43 .Pp
44 If
45 .Ar file
46 is a single dash (`-'),
47 .Nm
48 reads from the standard input.
49 .Pp
50 The options are as follows:
51 .Bl -tag -width 10n
52 .It Fl f Ar name
53 Specify font name.
54 .It Fl p Ar name
55 Specify PostScript font name.
56 .It Fl h
57 Display usage.
58 .It Fl v
59 Display version.
60 .El
61 .Sh AUTHORS
62 .Nm
63 was written by
64 .An Frederic Cambus .
0 bdf2sfd (1.1.8-1) UNRELEASED; urgency=low
1
2 * New upstream release.
3
4 -- Debian Janitor <janitor@jelmer.uk> Thu, 13 Apr 2023 00:00:53 -0000
5
06 bdf2sfd (1.1.7-1) unstable; urgency=medium
17
28 * New upstream version.
0 .\"
1 .\" Copyright (c) 2019-2023, Frederic Cambus
2 .\" All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions are met:
6 .\"
7 .\" * Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\"
10 .\" * Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
13 .\"
14 .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
15 .\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS
18 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
19 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
20 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
21 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
22 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
23 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24 .\" POSSIBILITY OF SUCH DAMAGE.
25 .\"
26 .Dd $Mdocdate: February 12 2021 $
27 .Dt BDF2SFD 1
28 .Os
29 .Sh NAME
30 .Nm bdf2sfd
31 .Nd BDF to SFD converter
32 .Sh SYNOPSIS
33 .Nm
34 .Op Fl hv
35 .Op Fl f Ar name
36 .Op Fl p Ar name
37 .Ar font.bdf
38 .Sh DESCRIPTION
39 .Nm
40 is a BDF to SFD converter, allowing to vectorize bitmap fonts.
41 It works by converting each pixel of a glyph to a polygon, which produces
42 large and unoptimized SFD files which should be post-processed using FontForge.
43 .Pp
44 If
45 .Ar file
46 is a single dash (`-'),
47 .Nm
48 reads from the standard input.
49 .Pp
50 The options are as follows:
51 .Bl -tag -width 10n
52 .It Fl f Ar name
53 Specify font name.
54 .It Fl p Ar name
55 Specify PostScript font name.
56 .It Fl h
57 Display usage.
58 .It Fl v
59 Display version.
60 .El
61 .Sh AUTHORS
62 .Nm
63 was written by
64 .An Frederic Cambus .
00 /*
1 * bdf2sfd 1.1.7
2 * Copyright (c) 2019-2021, Frederic Cambus
1 * bdf2sfd 1.1.8
2 * Copyright (c) 2019-2023, Frederic Cambus
33 * https://github.com/fcambus/bdf2sfd
44 *
55 * Created: 2019-11-21
6 * Last Updated: 2021-11-16
6 * Last Updated: 2023-03-13
77 *
88 * bdf2sfd is released under the BSD 2-Clause license.
99 * See LICENSE file for details.
1313
1414 #include <sys/stat.h>
1515 #include <sys/time.h>
16 #include <sys/types.h>
1716 #include <err.h>
1817 #include <getopt.h>
1918 #include <inttypes.h>
3736 #include "polygon.h"
3837
3938 static void
40 usage()
39 usage(void)
4140 {
4241 printf("bdf2sfd [-hv] [-f name] [-p name] font.bdf\n\n"
4342 "The options are as follows:\n\n"
00 /*
1 * bdf2sfd 1.1.7
2 * Copyright (c) 2019-2021, Frederic Cambus
1 * bdf2sfd 1.1.8
2 * Copyright (c) 2019-2023, Frederic Cambus
33 * https://github.com/fcambus/bdf2sfd
44 *
55 * Created: 2019-11-21
1414 #ifndef CONFIG_H
1515 #define CONFIG_H
1616
17 #define VERSION "bdf2sfd 1.1.7"
17 #define VERSION "bdf2sfd 1.1.8"
1818
1919 #endif /* CONFIG_H */
00 /*
1 * bdf2sfd 1.1.7
2 * Copyright (c) 2019-2021, Frederic Cambus
1 * bdf2sfd 1.1.8
2 * Copyright (c) 2019-2023, Frederic Cambus
33 * https://github.com/fcambus/bdf2sfd
44 *
55 * Created: 2019-11-21
00 /*
1 * bdf2sfd 1.1.7
2 * Copyright (c) 2019-2021, Frederic Cambus
1 * bdf2sfd 1.1.8
2 * Copyright (c) 2019-2023, Frederic Cambus
33 * https://github.com/fcambus/bdf2sfd
44 *
55 * Created: 2019-11-21
00 /*
1 * bdf2sfd 1.1.7
2 * Copyright (c) 2019-2021, Frederic Cambus
1 * bdf2sfd 1.1.8
2 * Copyright (c) 2019-2023, Frederic Cambus
33 * https://github.com/fcambus/bdf2sfd
44 *
55 * Created: 2019-11-21
00 /*
1 * bdf2sfd 1.1.7
2 * Copyright (c) 2019-2021, Frederic Cambus
1 * bdf2sfd 1.1.8
2 * Copyright (c) 2019-2023, Frederic Cambus
33 * https://github.com/fcambus/bdf2sfd
44 *
55 * Created: 2019-11-21
00 /*
1 * bdf2sfd 1.1.7
2 * Copyright (c) 2019-2021, Frederic Cambus
1 * bdf2sfd 1.1.8
2 * Copyright (c) 2019-2023, Frederic Cambus
33 * https://github.com/fcambus/bdf2sfd
44 *
55 * Created: 2019-11-21
00 /*
1 * bdf2sfd 1.1.7
2 * Copyright (c) 2019-2021, Frederic Cambus
1 * bdf2sfd 1.1.8
2 * Copyright (c) 2019-2023, Frederic Cambus
33 * https://github.com/fcambus/bdf2sfd
44 *
55 * Created: 2019-11-21
00 /*
1 * bdf2sfd 1.1.7
2 * Copyright (c) 2019-2021, Frederic Cambus
1 * bdf2sfd 1.1.8
2 * Copyright (c) 2019-2023, Frederic Cambus
33 * https://github.com/fcambus/bdf2sfd
44 *
55 * Created: 2019-11-21