Commit Graph

157 Commits

Author SHA1 Message Date
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
Chlumsky 496b656d8a Initial version of vcpkg-based build 2022-11-05 23:14:58 +01:00
Viktor Chlumský 99559ac1db
Variable fonts (#164)
Co-authored-by: themancalledjakob <github@jrkb.land>
2022-09-23 09:27:12 +02:00
Todd York 3300ab6869
Allow command line interface to accept glyph 0 as input (#149) 2022-04-07 23:20:44 +02:00
Chlumsky 4e8ff2321e Updated CMake and project files 2022-01-14 11:16:31 +01:00
Chlumsky 1b2bee7d8e Removed SignedDistance::INFINITE constant 2021-12-21 21:28:56 +01:00
Chlumsky 64a91eec3c Added -windingpreprocess option 2021-11-14 13:20:41 +01:00
Chlumsky 0b633e75f7 Improved detection of numerical errors in cubic equation solver 2021-11-13 17:02:40 +01:00
Chlumsky f1797ada88 Fixed edge coloring not restored if lost during preprocessing 2021-11-13 15:26:29 +01:00
Viktor Chlumský 22b3055247
CMake update (#131)
CMake build improvements & simplification
2021-09-30 08:19:54 +02:00
Chlumsky d07fa1d2c8 Exposed buildShapeFromSvgPath 2021-08-22 15:16:22 +02:00
Jairard 24a3a3021f
Update cmake include directories (#126)
* Remove duplicate file filter for msdfgen-ext_SOURCES

* Fix build interface include directories

The root is exposed in ordered to have

	#include <msdfgen.h>

in client code, and not

	#include <msdfgen/msdfgen.h>
2021-08-08 19:27:31 +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
SpaceIm 3e4570f8af
fix install target for iOS (#125) 2021-07-05 23:42:12 +02:00
Chlumsky 0f9c93e686 Version 1.9 2021-05-28 19:50:40 +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
Chlumsky cf78977b47 Added API to load a font from bytes 2021-04-08 19:19:32 +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
Luminiscental ae7fc5e7a5
Improve cmake configuration for use as a library (#121)
* Use freetype target if it already exists in cmake build

* Add cmake option controlling install targets
2021-03-05 18:15:54 +01:00
Luminiscental b681ec6527
Guard library pragma comments out of cmake builds (#120) 2021-02-15 16:13:18 +01:00
Viktor Chlumský 0b564462ef Readme update - pictures made compatible with GitHub dark mode, added link to Atlas Gen, new example shader 2021-01-31 18:46:32 +01:00
Viktor Chlumský 9af250c7d6 Analytic length of quadratic segment 2020-10-30 10:02:40 +01:00
Viktor Chlumský 9d22335ea0 Skia integration - preprocessing of shape geometry 2020-10-17 13:12:23 +02: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ý cddc445bcc Project configuration update 2020-10-11 21:13:32 +02:00
Viktor Chlumský 8c6fb790b5 Fixed an edge case in cubic curve distance evaluation 2020-10-11 15:37:44 +02:00