Commit Graph

139 Commits

Author SHA1 Message Date
KitsuneAlex a267f24caa
Fix const correctness of segment API 2024-05-03 04:00:09 +02:00
KitsuneAlex 9b5cefeb47
Fix typo in new README section 2024-05-03 02:33:39 +02:00
KitsuneAlex bb07b5a7a9
Fix wrong identifier formatting for some API function parameters 2024-05-03 02:29:08 +02:00
KitsuneAlex c565b18e9d
Change name from msdf_shape_get_edge_counts to msdf_shape_get_edge_count for consistency 2024-05-03 02:05:33 +02:00
KitsuneAlex 021fc8af79
Remove unused typedef from API header & add simple example to README 2024-05-02 14:15:57 +02:00
KitsuneAlex df74428a86
Add additional size assertions for msdfgen::Range and use pointer magic to convert msdf_range_t into msdfgen::Range 2024-05-02 13:45:48 +02:00
KitsuneAlex f041dd492c
Implement missing checks for bitmap type in generate functions of C-API 2024-05-02 05:22:22 +02:00
KitsuneAlex 130f6ffaaf
Finish implementing actual msdfgen API functions 2024-05-02 05:02:44 +02:00
KitsuneAlex ac81d2dc1b
Implement segment API 2024-05-02 04:47:07 +02:00
KitsuneAlex 9d050afdad
Implement edge_holder API 2024-05-02 04:14:21 +02:00
KitsuneAlex 08020caec8
Implement contour API 2024-05-02 03:58:32 +02:00
KitsuneAlex b8203f024a
Implement shape API 2024-05-02 03:45:25 +02:00
KitsuneAlex cebe5fdab8
Implement Bitmap/BitmapRef interface 2024-05-02 03:35:33 +02:00
KitsuneAlex 6b32308b8a
Define barebones C API for msdfgen-core 2024-05-02 02:02:44 +02:00
KitsuneAlex cdaba2b212
Add clang-format and clang-tidy configurations 2024-05-02 02:02:09 +02:00
Chlumsky 5dc5f6260b Skia bug workaround, savePng crash fix 2024-04-23 17:35:09 +02:00
Chlumsky 75813f37b3 GPU-like pixel conversion 2024-04-21 19:04:58 +02:00
Chlumsky d034a702eb Alternative XML parser interface 2024-04-21 18:31:39 +02:00
Chlumsky c7a724c173 Minor FontCoordinateScaling tweaks 2024-04-21 12:17:13 +02:00
Chlumsky bc9f02e156 Fix for incorrect font coordinate scaling 2024-04-17 22:12:40 +02:00
Chlumsky 6d252a7dc3 Asymmetrical range 2024-04-17 21:17:57 +02:00
Chlumsky 937f31ff41 Simplified argument parsing 2024-03-10 11:45:49 +01:00
Chlumsky 64c3e24829 Renamed pseudo-distance to perpendicular distance 2024-03-10 10:30:59 +01:00
Chlumsky 35f92541c4 Edge coloring update, circles no longer white 2024-03-09 22:17:49 +01:00
Chlumsky 682381a03c Added getGlyphCount 2024-02-05 11:31:32 +01:00
Chlumsky b21499180d Fixed minor regression of previous commit 2024-01-06 23:30:16 +01:00
Chlumsky 49453c96f1 Replaced sscanf usage 2024-01-05 13:38:47 +01:00
Chlumsky 2357140784 Improved edge segment construction 2023-12-17 00:39:45 +01:00
Chlumsky 51f6b5b053 Minor CMake adjustment #191 2023-12-16 22:08:53 +01:00
Chlumsky f12d7ca000 Added macro config header to installation 2023-11-11 14:59:26 +01:00
Chlumsky f04dc6acd3 Support for SVG fill-rule 2023-11-08 12:01:43 +01:00
Chlumsky 0eaeb51ea3 Fixed bug in error correction's diagonal interpolation test 2023-10-18 09:30:53 +02:00
Chlumsky bd5f145672 Inlined Vector2 and SignedDistance for performance, minor coding style change 2023-10-11 23:59:32 +02:00
Chlumsky e69b7962d1 Fixed include for qsort 2023-09-19 21:57:36 +02:00
Chlumsky 16f2057bbc Fixed listFontVariationAxes 2023-09-09 17:39:48 +02:00
Chlumsky 052f5fffd7 Removed dynamic_cast 2023-07-24 20:53:08 +02:00
Chlumsky 26143a3e9f Fixed #180 2023-07-12 08:22:54 +02:00
Chlumsky 0286aeb6eb Advanced SVG decoding 2023-04-15 17:33:32 +02:00
Chlumsky d576034d22 Added hidden option to disable variable fonts 2023-04-12 18:04:01 +02:00
Chlumsky 5eef2e5985 Added hidden options to disable SVG / PNG dependencies 2023-04-07 13:10:24 +02:00
Chlumsky 00d404686c Optimized includes 2023-04-07 12:02:22 +02:00
Chlumsky 34baf1706e Added CMake presets, core-only standalone, errors to stderr 2023-03-16 07:50:53 +01:00
Chlumsky eeec8f222d Added readFreetypeOutline to font import 2023-02-18 11:43:15 +01:00
Chlumsky 7ff249bcd4 Fix crash on invalid varfont, print version, accept --args 2023-01-21 16:02:43 +01:00
Chlumsky a811ef8935 Updated installation configuration 2023-01-20 00:50:21 +01:00
Chlumsky 839e0e86cb Added option to use dynamic runtime library 2023-01-19 19:06:03 +01:00
Chlumsky 10577fca9e Enabled shared library build, vcpkg update 2023-01-15 12:08:15 +01:00
Viktor Chlumský 6185b63904
Merge pull request #169 from Chlumsky/vcpkg-dependencies
Switch to vcpkg as dependency manager
2022-11-27 19:23:53 +01:00
Chlumsky b1969ab2e8 Build fixes, updated changelog and readme 2022-11-06 18:41:36 +01:00
Chlumsky 3f917b8019 Versioning rework 2022-11-06 12:41:11 +01:00