diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-22 13:12:11 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-22 13:12:11 +0100 |
| commit | c278d5d16f9a32dcdfc293a1947ba1f61359ddfd (patch) | |
| tree | 61ee7c83f38664eebf6da6a823e86c0ca312e998 | |
| parent | Update e-mail (diff) | |
| download | libtracebitmap-c278d5d16f9a32dcdfc293a1947ba1f61359ddfd.tar.gz libtracebitmap-c278d5d16f9a32dcdfc293a1947ba1f61359ddfd.tar.bz2 libtracebitmap-c278d5d16f9a32dcdfc293a1947ba1f61359ddfd.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
| -rw-r--r-- | README | 2 | ||||
| -rw-r--r-- | libtracebitmap.7 | 2 | ||||
| -rw-r--r-- | libtracebitmap.h | 10 | ||||
| -rw-r--r-- | libtracebitmap_trace.3 | 6 |
4 files changed, 10 insertions, 10 deletions
@@ -4,7 +4,7 @@ NAME DESCRIPTION libtracebitmap is a C library for tracing bitmaps (monochrome raster images) into vectors, and is - primarily intented for converting bitmap fonts into + primarily intended for converting bitmap fonts into vector fonts, and will therefore only create horizontal and vertical vectors. diff --git a/libtracebitmap.7 b/libtracebitmap.7 index c84ce22..fbcd281 100644 --- a/libtracebitmap.7 +++ b/libtracebitmap.7 @@ -4,7 +4,7 @@ libtracebitmap \- Bitmap vectorisation library .SH DESCRIPTION .B libtracebitmap is a C library for tracing bitmaps (monochrome raster -images) into vectors, and is primarily intented for +images) into vectors, and is primarily intended for converting bitmap fonts into vector fonts, and will therefore only create horizontal and vertical vectors. .SH SEE ALSO diff --git a/libtracebitmap.h b/libtracebitmap.h index 144f347..edda468 100644 --- a/libtracebitmap.h +++ b/libtracebitmap.h @@ -7,12 +7,12 @@ /** - * The background is show for pixels with this value + * The background is shown for pixels with this value */ #define LIBTRACEBITMAP_INK_OFF 0 /** - * The foreground is show for pixels with this value + * The foreground is shown for pixels with this value */ #define LIBTRACEBITMAP_INK_ON 1 @@ -47,7 +47,7 @@ struct libtracebitmap_bitmap { /** * Vectorise a bitmap * - * @param bitmap The bitmap to vectorise; `bitmap->image` will be + * @param bitmap The bitmap to vectorise; `bitmap->image` will * be erased, but not deallocated * @param new_component Callback function that will be called each time the function * starts vectorising a separate component in the bitmap; the @@ -63,14 +63,14 @@ struct libtracebitmap_bitmap { * argument will be the node's x-position (0 at the far left, * positive rightwards); the third argument will be `user_data`; * the callback function shall return 0 upon successful completion - * and any other value on failure: Lines between adjecent nodes + * and any other value on failure: Lines between adjacent nodes * within the same component (the initial and the final nodes are * adjacent) are always either horizontal or vertical, with no * other nodes between the them. * @param component_finished Callback function that is called each time the function is * finished with a component. The function will only vectorise * one component at a time, so after calling this callback, the - * function will either return or immediate call `*new_component`, + * function will either return or immediately call `*new_component`, * and after calling `*new_component`, it will never `*new_component` * again before calling `*component_finished`; additionally, * `*component_finished` is called once for every call to diff --git a/libtracebitmap_trace.3 b/libtracebitmap_trace.3 index dc76bf3..3c5a215 100644 --- a/libtracebitmap_trace.3 +++ b/libtracebitmap_trace.3 @@ -79,7 +79,7 @@ function will call .I *component_finished when it has traced a part of the bitmap, at this point, the application shall connect the -the stop indicated by the first invocation to +stop indicated by the first invocation to .IR *new_stop , after the previous invocation of .IR *new_component , @@ -101,8 +101,8 @@ in the vectorisation adjacent to the previous stop invocation of .IR *new_component , the last stop before the next invocation of -.IR *component_component ). -The adjacent stops creates a vector which will not +.IR *new_component ). +The adjacent stops create a vector which will not cross any other vector, however two stops may share location. Each stop's location is indicated by the .I y |
