Commit Graph

64 Commits

Author SHA1 Message Date
Chlumsky ef8070786c Updated API of approximateSDF 2024-06-01 16:07:07 +02:00
Chlumsky 23971c40e8 Added fast SDF approximation 2024-06-01 16:07:07 +02:00
Chlumsky d3bede1e64 Bezier solver 2024-06-01 16:07:07 +02:00
Chlumsky 5ec8cef4c2 Improved error correction consistency for inverse Y-axis 2024-06-01 16:05:25 +02:00
Chlumsky cddd6c7308 Error correction fix for inverse Y-axis 2024-05-31 19:23:59 +02:00
Chlumsky aa9478e9ae Added -exportsvg, RGBA & FL32 image output 2024-05-07 21:32:45 +02:00
Chlumsky d7ac1e084d Better edge deconverge procedure 2024-05-07 17:17:32 +02:00
Chlumsky 75813f37b3 GPU-like pixel conversion 2024-04-21 19:04:58 +02:00
Chlumsky 6d252a7dc3 Asymmetrical range 2024-04-17 21:17:57 +02: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 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 f12d7ca000 Added macro config header to installation 2023-11-11 14:59:26 +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 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 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 10577fca9e Enabled shared library build, vcpkg update 2023-01-15 12:08:15 +01:00
Chlumsky 1b2bee7d8e Removed SignedDistance::INFINITE constant 2021-12-21 21:28:56 +01:00
Chlumsky 0b633e75f7 Improved detection of numerical errors in cubic equation solver 2021-11-13 17:02:40 +01:00
Viktor Chlumský 22b3055247
CMake update (#131)
CMake build improvements & simplification
2021-09-30 08:19:54 +02:00
Chlumsky 1b3b6b9850 Very minor refactor 2021-07-09 15:35:25 +02:00
Chlumsky 35caf38378 MSDF error correction edge case fix 2021-07-08 19:44:18 +02:00
Chlumsky acb01df098 Edge coloring by edge to edge distance - experimental version 2021-05-28 19:26:41 +02:00
Chlumsky dc36f7140e Error correction algorithm expanded 2021-04-11 19:27:01 +02:00
Viktor Chlumský 5f27bdfb1c Complete rework of MSDF error correction, merged with artifact patcher 2021-04-06 01:20:03 +02:00
Viktor Chlumský 37a1fff421 Scale and translation arguments refactored as Projection, generator configuration WIP 2021-03-31 00:33:47 +02:00
Viktor Chlumský 83326187dd Fixed a minor bug in edge artifact patcher 2021-03-28 17:19:30 +02:00
Viktor Chlumský 5d756c05cb Edge distance minor optimization 2021-03-27 10:21:05 +01:00
Viktor Chlumský 9af250c7d6 Analytic length of quadratic segment 2020-10-30 10:02:40 +01:00
Viktor Chlumský fe910c8b5a Added algorithm to fix contour windings, low level optimization 2020-10-17 11:30:27 +02:00
Viktor Chlumský b22f79ed27 Pseudodistance evaluation improvement, edge distance cache fix 2020-10-16 14:49:04 +02:00
Viktor Chlumský 80039d7ed6 Convergent corner elimination routine added to shape normalization 2020-10-11 23:51:54 +02:00
Viktor Chlumský 8c6fb790b5 Fixed an edge case in cubic curve distance evaluation 2020-10-11 15:37:44 +02:00
Viktor Chlumský 17ea97c085 Fixed critical error in quadratic curve distance evaluation 2020-10-10 22:24:34 +02:00
Viktor Chlumský 38ef289f25 Added glyph loading by glyph index, passing own FT_Face handle 2020-10-10 12:12:52 +02:00
Viktor Chlumský 9d5c7c54e8 Added output distance shift argument 2020-10-10 10:02:45 +02:00
Chlumsky 82364f92ec Compiler warning fixes 2020-10-08 10:30:28 +02:00
Chlumsky 010f3c92f1 New MSDF edge artifact elimination routine, core algorithm refactor 2020-10-07 23:09:09 +02:00
Rob Spearman 74907b3da3 Allow build on GCC 8.3.1 2020-03-15 09:24:03 -07:00
Viktor Chlumský 8ebb37da4e Core algorithm performance optimization 2020-03-14 19:19:17 +01:00
Viktor Chlumský 5b5272e7a8 Scanline rasterization edge case fix 2020-03-08 23:34:51 +01:00
Viktor Chlumský 5427fe8f5a Version 1.7 2020-03-07 09:19:34 +01:00
Viktor Chlumský fd50406d67 Shape bounds refactor 2020-03-06 17:24:10 +01:00